Perform the following steps on each mesh in a list:
- - Open the mesh,
- Load it into the scene (replacing the old one),
- check the camera frustum to ensure that the bounds of the model are contained nicely within the camera (adjusting the cameras position to frame it nicely).
- set up a specific octane material configuration for one materials on the mesh.
- Use unity standard shader on the other material.
- Load in the textures based off a naming convention in a subfolder with the model name.
- Render a still use the current scene (lighting/background/setup etc.) to render a still (exporting as png).
- Once it is done, move on to the next mesh
Is this possible at present? are there any events i can listen for when the rendering is complete etc.
What is the best way to do this with octane, can i script it in play mode, or should i build an editor extension?
Thanks