• Happy Holidays Guest!

    We want to announce that we will be working at reduced staffing for the holidays. Specifically Monday the 23rd until Jan 2nd.

    This will affect approval queue times and responses to support tickets. Please adjust your plans accordingly and enjoy yourselves this holiday season!

  • Hi Guest!

    Please be aware that we have released a critical security patch for VaM. We strongly recommend updating to version 1.22.0.7 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
Focus v1

Plugins Focus v1

Focus

Focus moves the parent atom around the scene, based on what you (or any other atom/controller) are looking at. This simplifies, in particular, the autofocus setup for Depth of Field adjustments (when used with Sensor plugin).

The plugin is set up with reasonable autofocus settings, meaning you can simply add this to an existing AutoFocusPoint atom in your scene and be done, or pair with Sensor for direct control over your DOF plugin's settings (most commonly PostMagic or PostProcessing). Additionally, if pesky colliders get in the way, you can aim at them, then simply click to add to an ignore list.

How the modes work

Focus Mode - continuously moves this atom to the closest collider within the Viewing Angle.
Follow Mode - this atom continuously follows the target atom/controller, similar to parent lock.
Jump Mode - this atom will stay in place unless triggered via the Jump trigger. When triggered, it will move to the target position and remain there.

Autofocus Instructions

If using PostMagic + AutoFocusPoint (assumes it is configured):
1. add Focus plugin to the AutoFocusPoint atom.
2. that's it - the atom will follow your focus!

If using Focus + Sensor (for more control):
1. create an empty atom
2. add Focus plugin to the atom (default settings will work)
3. add Sensor to the atom
4. within Sensor, add an onChange trigger:
- select the PostMagic or PostProcessing plugin (wherever it is) > Depth of Field > FocalDistance
- set the minimum to 0.1
- set the maximum to 4 (if using a different value, be sure to set the Scale Max within Sensor to match this value)
- optionally add any other triggers (e.g. FocalLength, Aperture, Vignette, etc)
5. That's it!


For the Adventurous

While I'm demonstrating this as an focus aid here, at its core, Focus simply moves the parent atom (whatever that may be) around the scene. This can be used for pretty interesting things beyond DOF control. For instance, you could easily set up Sensor plugins on various body controllers, then measure the distance between this focus atom and those targets for a scripted reaction to what you're looking at. Or what another atom is looking/point at... In particular, this plugin pairs nicely with Sensor for unlocking proximity effects.

Want to have one model react to the gaze of another? That's possible. Want to move a dildo around the scene, whacking things simply by looking? Also possible (although maybe not advisable). Want to drift lights around the scene? Technically this can do that too.

In general, I'd love to see what shenanigans this unlocks for the folks out there more creative that myself!

1732768225001.png


A brief demo:


Setting up DOF with PostMagic & Sensor from scratch:
Author
PrettyFrank
Downloads
5,302
Views
5,440
Favorites
10
Packages
1
Total Size
0.01 MB
Version
1
First release
Last update
Rating
5.00 star(s) 5 ratings

More resources from PrettyFrank

Latest reviews

The effect is simply amazing.
PrettyFrank
PrettyFrank
High praise, coming from you! :)
Upvote 0
Talented! When I saw the demo there were three plugins and various debugs were needed. I thought it would be complicated. In fact, you only need to load this one plugin, and you don't need to adjust it to get a high experience. With this plugin, depth of field is really dynamic. This is exactly what I have needed all along. After trying it out it exceeded my expectations. This is yet another must-have plugin for VAM.
PrettyFrank
PrettyFrank
Glad to hear it! It’s definitely a must for me 😄
Upvote 0
I Can't wait test it out in a my project, the results are amazing and really expand the usefulness of depth of field!
They're pure Art and Evolution!
PrettyFrank
PrettyFrank
Lemme know how it works or could be better! I’m really just trying to bridge the remaining gaps in the ecosystem, figuring out how to add more immersion in fewer steps for creators :)

Mostly piggybacking off the brilliant work of our community giants though!
Upvote 0
This looks cool! Great job
PrettyFrank
PrettyFrank
Thanks! Hope it helps!
Upvote 0
Wow, Amazing! We've been waiting for a plugin like this.
PrettyFrank
PrettyFrank
Thanks man! I've been wanting it so long myself... and your recent plugin put the concept finally within reach for me! You did all the hard work yourself! :)
Upvote 0
Back
Top Bottom