Notifications
Clear all

[Closed] texture bake before render using callbacks

Hi,ive been doodling with a script that bakes the texture of a specific object at render time using the callback function.
I got the baking part covered and working but when incoroprating it into a callback macroscript and run it (render) i get the error “>> MAXScript Callback script Exception: – Runtime error: Unable to open renderer, possible recursion <<”

Is this a general no-no to try to render before the actual render ? or am i missing something basic?

Im uploading the script if anyones interested, thanks for your time

-theo