• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
Auto Pupil

Plugins + Scripts Auto Pupil

Download [<1 MB]
? Like this? Consider gifting the community a creation in my name or even a private gift to me.
* I choose not to have a Patreon (love all you who do)

Auto Pupil Plugin

Add this plugin to a Person.

Play with lights. Make the person blink. The pupils will react.

Special Features:
- Any light intensity on face works: scene lights, global ambient, skybox
- Shadows are taken into account
- Light color also a factor. Human perceived brightness of certain colors over others is taken into account.
AutoPupilDemo.gif


Using It

Add this to a Person atom
* If you Show Hidden atoms, you may notice a strange LightDetector-FFFF atom. This plugin made that so no touchy

Brightness Poll Delay

How frequently (in seconds) to calculate the amount of light around the eyes. Lower is more responsive but harder on the FPS (by about 3-4). Default: 0.25 which is right in the range of a real delay our eyes have when reacting to light.

Light Adjust Within

How long (in seconds) the pupil contract animation should take when adjusting to more light. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Dark Adjust Within

How long (in seconds) the pupil dilate animation should take when adjusting to a less light. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Idle: Adjust Over Seconds

When light is not changing, pupils can idle randomly. This Is how fast the pupil changes (in seconds) happen when idling. Making this smaller will make pupils move faster. Larger value makes movement more smooth.

Idle: Strength

The maximum amount +/- the pupil dilation morph will randomly change (in absolute morph value changes) when idling. Keep this value really small unless you want the eyes to go crazy.

Turn this down to 0 to basically disable idling.

Idle: Next Random Run

The maximum amount of time (in seconds) to wait before playing the next idle animation.
Images and attachments
  • AutoPupilDemo.gif
    AutoPupilDemo.gif
    7.5 MB · Views: 0
React to this content...

Share this resource

Latest updates

  1. fix: loading scenes with this plugin work now

    If you saved a scene with this plugin on a person, a rogue image panel would show up. No more...
  2. I broke VR support...

    Now it is fixed. Thanks @DaveyJonesFlannel for letting me know something was wrong.
  3. Performance fix

    3-4 FPS penalty has been fixed. Thanks to @Acid Bubbles for some ideas and the reminder that...

Latest reviews

Positive
Version: 8
Posted:
good job66666
Upvote 0
Positive
Version: 8
Posted:
Great detail
Upvote 0
Positive
Version: 8
Posted:
Nice work, love the realism contribution.
Upvote 0
Positive
Version: 8
Posted:
Essential, love it. Brings a lot of realism to the model. Thanks!
Upvote 0
Positive
Version: 8
Posted:
It's great!! Little details that bring the characters to life.
Upvote 0
Positive
Version: 8
Posted:
How on earth did I miss this - absolutely brilliant work - Thanks
Upvote 0
Positive
Version: 8
Posted:
Such a wonderful plug-in. Every new feature that creators come out with astounds me. VaM feels so close to real now. Thanks for this!
Upvote 0
Positive
Version: 0.7
Posted:
love this
Upvote 0
Positive
Version: 3
Posted:
For scenes with dynamic lighting or close ups, this makes for some convincing eye reactions!
Upvote 0
Positive
Version: 3
Posted:
Amazing, you help to make my models come alive :)
Upvote 0
Back
Top Bottom