PDA

View Full Version : MaxScript : controling Video post thru script?


cdinic
04-29-2003, 02:09 AM
have a good friend who wrote a simple script which calculates an objects distance from the camera to control the size of a video post glow effect. He cannot figure out how to make the script render with the video post effects.

any ideas? or references I might share with him?

-Chris

Bobo
04-29-2003, 03:23 AM
Originally posted by cdinic
have a good friend who wrote a simple script which calculates an objects distance from the camera to control the size of a video post glow effect. He cannot figure out how to make the script render with the video post effects.

any ideas? or references I might share with him?

-Chris

Chris,

Generally, there is NO access from MAXScript to VideoPost. BUT, Lens Effects (Glow, Flare etc.) expose certain controls to TrackView.
You can try to add a Glow to Video Post and then access it like

TrackViewNodes.VideoPost.Lens_Effects_Glow

You can access all related tracks you can see in TrackView this way, for example

TrackViewNodes.VideoPost.Lens_Effects_Glow.Mask
returns 0.0 by default.

You can change the values, create keys etc.
This is about the only way to do it.

Hope this helps.

cdinic
04-29-2003, 07:26 AM
Thanks alot!!! I was hoping to sang ur attention.

thanks again

-Chris

CGTalk Moderation
01-15-2006, 12:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.