[Closed] maxscripting Realflow start time
(this is a cross posting from realflow forum)
Hi,
I need to render a frozen (think of matrix) simulation but with local motion blur on the simulation. So that always the same frame of the mesh is loaded but the camera can move and time progresses. I am using a callback script on “preRenderEval” which is setting the starttime in the realflow loader to the current frame. (basically it´s just “RfLoader.start = currenttime”)
Normally preRenderEval is the moment before rendering where I could change geometry around or even merge objects but as soon as I modify the RfLoader.start value, the mesh get´s awkward and stays like that even after rendering. I have to restart max to make it work again. Is there some update function I have to call or a better RF/maxscript reference? Any Ideas?
The other way would be to always render the same frame, but for that I´d have to script a render function with filenumbering, etc.
Help would be very much appreciated.
Julian
why don’t you duplicate your simulation file? this is easy with scripting…
i made some tests with modifying render geometry while rendering – it’s a mess… i ended up with sending to backburner with a bat file and specifying a pre-evaluation script(this allowed modifying render geo)…
so if the duplication of sim-file isn’t working i can look for my code…
regards,
stefan
Thank you. Duplicating the mesh files worked. Still a bit strange that the callback script breaks the RfLoader, but this works fine for my case at the moment.