run script between frames on backburner job?


#1

I posted in the 3ds max forum about a problem I am having. I think some nodes are not using the pmap or fgm on my backburner job.

http://forums.cgsociety.org/showthread.php?f=6&t=1040130

the problem:
http://youtu.be/xrvYvyc4V0I

I would like for each node to run a script between frames that ensures it grabs the pmap and fgm. I am familiar with maxscript but not when it’s applied to bb.

Is this possible?

Thanks.


#2

What you can do is assign to your render a preRenderScript.

This preRenderScript will register a #preRenderEval callback with the function of your choice.

#preRenderEval: time
      Sent just before the renderer starts evaluating objects. 
      Returns the time being rendered

See General Event Callback Mechanism in the help file


#3

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.