visibility depends on the angle of the pivot point and the camera

looking for a freelance for an script that depending on the angle between pivot point and a camera angle decide the visibility 100% or 0%

if the angle is in the range -22.5deg and *22.5deg visibility is 100%, out of this range, visibility will be 0

this must work for animated cameras and visibility could be stored as keys or in real time properties wired to the camera angle

the point is that it must work inside an xref scene

could you help me?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Graph's picture

quite simple

In light of my experience in 3DsMax scripting and plugin development i can achieve this both as a tool wich bakes optimized keyFrames and/or as a dynamic(and if wanted also modular) scripted controller.
I would suggest creating it as a Tool that creates a scripted controller hardcoding the camera as a variable into the controller and in the expression (checking the acosinus of the dotProduct of the camera lookAt direction and object-camera vector) against a custom attribute parameter defining the angle at wich to switch.
Also adding a method to bake said controller to optimized keyframes would allow for the highest degree of flexibility.
For some MaxScript Samples and Contact feel free to visit my Portfolio Website.

Raphael 'Insanto' Steves
http://Graph.Net84.Net

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.