Source Filmmaker

Source Filmmaker

Sad Boi Jan 25, 2014 @ 12:38am
Eye dilation problem
I'm new to SFM and I can't get my model's pupil's/irises to shrink, only move back and forth and up and down.
Last edited by Sad Boi; Jan 25, 2014 @ 12:41am
< >
Showing 1-12 of 12 comments
TheFrozenMonkeyKing Jan 25, 2014 @ 12:40am 
I dont know if it can shrink, unless you make the head bigger. This will make it look like the eyes are smaller, but it will look wierd if you dont use close up shots
R234 Jan 25, 2014 @ 1:08pm 
Unfortunately that only works in Garry's Mod, TFMK. SFM's scaling controls correctly scale the eye with the head.

I did some digging, and I don't think you can control the iris size, since that's coded directly into the model's QC file. However, I just found out you can control and even animate the pupil dilation:

Right-click the model's animation set and click Add Override Materials. Right-click it again, go to Show in Element Viewer > Model. Expand the Materials array at the bottom, and look for the eyeball materials. Right-click it, go to Add Attribute > float. Call it $dilation. Right-click the material again > Create Animation Set, and click OK. You should now have a slider that controls the pupil diation in the animation set editor.
raptornx01 Jan 25, 2014 @ 1:35pm 
There are a few models that have the ability to control iris. But they are always under skins. if the model has the ability at all, it'll be there.
Sad Boi Jan 25, 2014 @ 3:30pm 
I figured it out now, thanks guys.
Sad Boi Jan 25, 2014 @ 3:32pm 
holy ♥♥♥♥.
Sad Boi Jan 25, 2014 @ 3:33pm 
dude, raptornx01, is that actually you from youtube?
raptornx01 Jan 25, 2014 @ 5:04pm 
Yes. :3
Sad Boi Jan 25, 2014 @ 5:22pm 
dude your awesome
raptornx01 Jan 25, 2014 @ 5:44pm 
Lol Thanks! :D
aecii May 6, 2015 @ 9:26am 
i'd love to see this in action. I'm trying to figure out a way to dilate pupils on my model with a floating iris. I tried what R234 mentioned but the iris remained static.
Last edited by aecii; May 6, 2015 @ 9:28am
it didn't work for the model i wanted to use. aww
Originally posted by Sugarpikmin456:
it didn't work for the model i wanted to use. aww
Define "didn't work".

It may be that you have "Show Scene Hierarchies" turned on. Animation sets created in the way that R234 says are not visible when the animation set editor is in this mode.
< >
Showing 1-12 of 12 comments
Per page: 15 30 50

Date Posted: Jan 25, 2014 @ 12:38am
Posts: 12