Render Sub-Objects to Texture with Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I'm starting a new project that requires me to render a sequence of frames by baking a texture.
I've usually used MaxScript for these sorts of things, but I've wanted to try to use the 3DSMAX Python implementation.
I've not found much in terms of Documentation of how to do these sorts of things in Python.
Specifically, I don't see how to use the RenderExecute class to bake frames.
There's a heavily overloaded function which seems to be the place where one would specify the render type:
RenderExecute.Open(INode camNode, Autodesk::Max::RendType::Type type=(RendType::Type) RENDTYPE_NORMAL) -> bool
However, it's not obvious how to then trigger the render.
I'd appreciate any information available about how to use Python to control "RenderToTexture" or any more thorough documentation about how to use the RenderExecute class in 3DSMAX Python.
Thanks!