Replies: 78 (Who?), Viewed: 45919 times.
Page 1 of 4
Forum Resident
Original Poster
#1 Old 12th Jul 2009 at 10:56 PM Last edited by xanathon : 13th Jul 2009 at 9:36 AM.
Default Custom Face Overlay and TADAAA! Custom Eyes!
Today I fiddled with Delphys CTU with the goal to create a face overlay (cosmetics) with the appearance of Darth Maul (most underestimated Star Wars villain).

The face overlay part was not too difficult, I took the cat face and resized a Darth Maul makeup over it, this worked at first try.

Then, however I wanted to cover more of the face in black and removed to alpha mask from the DDS file to accomplish this.

In short: It worked like a charm, but after I changed the whole alphamask to white, and I tried the mask in the CAS I saw, that the sims EYES were also black. So it was clear: You can override the eye texture by placing your own eye graphic on a face overlay.

What came was some hours of fiddling end experimenting to get the exact location of the eye texture in the face overlay DDS. There is clearly room for optimization here, but for now I'm very pleased with the outcome.

The eye texture cannot be seen, if the eye color you choose ingame is to dark, a pure white works best, but this also means, that you are able to modify a custom eye created this way with the ingame color tools to some extend.

To make only an eye (and not a face mask) you have to set the whole DDS transparent via the alphachannel save the part in the lower left corner where you place your custom eye. The eyes will then be found in the CAS under Makeup - Costume Makeup.

Here are some images, have a deep look at his eyes...:


Complete image of Darth Maul in the CAS

Closeup of his head, notice the eyes!

I have also attached a scaled down image of the overlay DDS texture with the position of the eye graphic.

The face mask is far from perfect, as you can see the sims skin shimmering through at some small places. This problem is minor, however, and will be gone once we are able to change skintones.
Screenshots

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Advertisement
Forum Resident
Original Poster
#2 Old 12th Jul 2009 at 11:41 PM Last edited by xanathon : 13th Jul 2009 at 12:03 AM.
And another one:

I noticed that the ingame makeup texture looked different from the one I imported as DDS.

I just found out that you can still modify the colors of the original cat mask to change the appearance of the imported makeup.

As a proof I attached another picture, this one with all parts of the original makeup invisble and only my new overlay shown.

Edit: No, I have not yet any idea how to create his horns...

Edit2: Yes, I think you can use this technique to overlay modified photos of real persons to create more realistic looking sims!

Screenshots

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#3 Old 13th Jul 2009 at 12:22 AM
I know why the cat mask was still appearing on the first pics : you forget to edit the RGB file to make it match with you texture.

IE :
- Red : the global face
- Green : the "red" mask of your texture
- Blue : the black part (which are in fact empty space, but what ever)

By doing that you can create a psychedelic Darth Maul : yellow face with with mask and blue part
XD



But the way you did it is great, a big and nice open door for creator ^^
Field Researcher
#4 Old 13th Jul 2009 at 12:39 AM
Wow this is EXCELLENT!! I love U(just kidding) Would you pleeeeeasee make a tutorial in few basic steps , how can we make new masks with new eyes :D
Test Subject
#5 Old 13th Jul 2009 at 1:08 AM
That is awesome, I await contact lenses with a passion!
Scholar
#6 Old 13th Jul 2009 at 2:49 AM
Awesome. Multicolored, customizable eyes, here we come.

.:Kitty Klan:.
Visit for Sims 3 Hair, Tattoos, and other free custom content downloads.

.For website updates, subscribe to my RSS feed at.
Dreamwidth Blog
Forum Resident
Original Poster
#7 Old 13th Jul 2009 at 9:32 AM Last edited by xanathon : 13th Jul 2009 at 9:56 AM.
Quote:
Originally Posted by piti_ange2
I know why the cat mask was still appearing on the first pics : you forget to edit the RGB file to make it match with you texture.

IE :
- Red : the global face
- Green : the "red" mask of your texture
- Blue : the black part (which are in fact empty space, but what ever)

By doing that you can create a psychedelic Darth Maul : yellow face with with mask and blue part
XD
^^


That is true for patterns but the face makeup seems to work a little different. You have a face overlay AND a face MASK in the package. The latter holds a DDS with the different layers for recoloring in the CAS the first one holds a "normal" RGB-DDS with the actual makeup. I just replaced the first one.

But, yes, it should be possible to include a layered mask file to allow more fine grained ingame-recoloring.

Edit: Attached a picture. But maybe I'm still wrong about the setup of the mask... I'll research further...

Screenshots

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#8 Old 13th Jul 2009 at 2:49 PM
Wow, this is a lot easier than what I was trying to figure out how to do--the eye overlay actually moves with the eyes in-game? I couldn't figure out how to do that, but apparently the game can already do it XP

Cool, awesome job on the makeup and for figuring this out!
Forum Resident
Original Poster
#9 Old 13th Jul 2009 at 3:03 PM
Yes, the eye texture moves with the eye ingame.

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#10 Old 13th Jul 2009 at 8:39 PM
I also request a tutorial, I'm trying to make a Dr. Manhattan sim.
Test Subject
#11 Old 13th Jul 2009 at 8:41 PM
Quote:
Originally Posted by xanathon
That is true for patterns but the face makeup seems to work a little different. You have a face overlay AND a face MASK in the package. The latter holds a DDS with the different layers for recoloring in the CAS the first one holds a "normal" RGB-DDS with the actual makeup. I just replaced the first one.

But, yes, it should be possible to include a layered mask file to allow more fine grained ingame-recoloring.

Edit: Attached a picture. But maybe I'm still wrong about the setup of the mask... I'll research further...

No-no, the costume makeup work quite the same ^^
1 - The full texture mask
=> in pale black and white colors but I don't know why, maybe for a better IG result ?? I should experiment that a little bit more
2 - The RGB file which allows you to change the mask colors


You can read in that post how I did to have a complete working mask.

There is just one difference : now with the last update by Delphy the "D tint" doesn't need to be enabled anymore ^^
=> while I was testing -with a previous version of CTU-, without the "D" enabled, I can't recolor my mask at all, strange



But the way you did it is just great, the photoskinning will be easier for TS3 creators \o/
Forum Resident
Original Poster
#12 Old 13th Jul 2009 at 9:05 PM Last edited by xanathon : 13th Jul 2009 at 9:45 PM.
There is one drawback, as I discovered: The pupil seems to be hardcoded in the game somewhere and cannot be changed (yet). I tried to do slitted reptile eyes, but always had the original pupil shown.

So you can only change the iris and eyeball textures this way.

I'm experimenting further ATM.

Edit: Addition: The pupil is done in the Mask resource.

I did set the mask resource to all black and the pupil was gone. :D

See:



Additional info:

The area of the DDS to place the eye texture seems to need a size of 192x192 pixels (128 pixels + 64 pixels I would think, as textures usually come in multiples of 2)

Additional info 2:

Thinking about all this and the experiments I just did, it means we should be able to do multi-layered custom eyes.
Screenshots

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Forum Resident
Original Poster
#13 Old 13th Jul 2009 at 9:47 PM
Quote:
Originally Posted by donaldrack
I also request a tutorial, I'm trying to make a Dr. Manhattan sim.


Patience, my young padawan, this is still in an experimental phase...

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Lab Assistant
#14 Old 13th Jul 2009 at 9:47 PM
Is not possible to have different irises?
I mean, like David Bowie.
Forum Resident
Original Poster
#15 Old 13th Jul 2009 at 9:53 PM
Nope that is not possible since the game pulls the look of both eyes from one texture.

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Lab Assistant
#16 Old 13th Jul 2009 at 10:00 PM Last edited by Cheapncheerful : 13th Jul 2009 at 10:21 PM.
Quote:
Originally Posted by xanathon
Nope that is not possible since the game pulls the look of both eyes from one texture.

Oh thanks. I'll mess around the textures and see what i can make. Maybe dilated pupils :D

Or maybe something like this: http://www.9mmsfx.com/lenses.html
Lab Assistant
#17 Old 13th Jul 2009 at 11:23 PM
Sorry for the double posting, but i've played around and made some textures, i'll try in the game and post screenies.

Forum Resident
Original Poster
#18 Old 13th Jul 2009 at 11:26 PM
Nice, especially the blood vessels, but I think you should remove the highlights, since the game creates it's own.

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Scholar
#19 Old 14th Jul 2009 at 1:29 PM
I'm more than likely being stupi here as I haven't worked any of this out yet, I have limited time to sit with it. The horns, couldn't you use the baseball cap mesh? I haven't used any of the hats in game so not sure which would be best but I would think a hat would be a good base.

Don't laugh at me too loudly, I'm a beginner
Test Subject
#20 Old 14th Jul 2009 at 3:26 PM Last edited by donaldrack : 14th Jul 2009 at 4:51 PM.
Ugh, I'm still trying to figure out how to add makeup. I keep failing.

EDIT:Woot, figured the makeup part out.
Forum Resident
Original Poster
#21 Old 14th Jul 2009 at 7:00 PM
I tried to use a layered image for the mask resource.

R layer for the eyeball
G layer for the iris and
B layer for the pupil

Did not work as expected: I WAS able to change the color of "my" pupil ingame but not eyeball and iris.

ATM this means: It seems that you can use a pre-colored iris that is NOT changeable ingame combined with a pupil that CAN be changed to different colors.

Another version is to remove the mask DDS from the package. That way you get your eye as defined in the face_overlay plus somewhat changeable colors even in the eyeball if you play with the sliders.

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#22 Old 14th Jul 2009 at 7:11 PM
Where is the mask resource file?
Forum Resident
Original Poster
#23 Old 14th Jul 2009 at 7:54 PM
Seek and thou shalt find...

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#24 Old 14th Jul 2009 at 8:11 PM
I tried changing the eyes but they turned all black.
Lab Assistant
#25 Old 14th Jul 2009 at 8:13 PM
I tried changing the eyes, over the feline makeup, but all turned out dark green, and the eyes didn't show up.
Page 1 of 4
Back to top