|
i have an object with an UnwrapUVW prepared to be baked, the vertices of the UnwrapUVW are animated.
now i would like to do the following:
- go to frame1, render to textute, output as “sample0001.tif”
- go to frame2, render to textute, output as “sample0002.tif”
[...]
does anybody think this is possible via maxscript or is texture baking definitely unscriptable?
thanks in advance for any help or information
|
|
|
|
You could step through your animation and snapshot the source mesh at each frame. From here you could render out the resulting snapshot meshes.
Code flow would look something like this;
SourceMesh=$Selection[1] For Loop = Animationrange.start to Animationrange.end do (
at time Loop
NewMesh=Snapshot SourceMesh <add Render-to-texture code here using the NewMesh as your node> Delete NewMesh
)
andy
Max 9.0 through 2010, XP-Pro 64 SP2.
ATI Radeon HD 4800 series
Core 2 Quad Q9650 3.0GHz, 8Gb Ram, DX9.0c.
|
|
|