Forum: Poser - OFFICIAL


Subject: PoserPython - Saving Renders?

Jiia opened this issue on Apr 15, 2002 ยท 2 posts


Jiia posted Mon, 15 April 2002 at 2:33 PM

I'm trying to make a tedious task less tedious while rendering characters for a video game. What I do is place a character in the scene, set the Aux camera to the correct view, and load in the animations for the character. After this is all set up, I have to render each frame in the animation, rotate the figure Body by -45, then repeat until I go through all 8 directions. I've tried like hell to write this in python, but I'm having trouble. When I use the scene.SaveImage() method, it saves the scene view, and not the window that popped up to be rendered. Is there a way to save the rendered window instead? Also, is it possible to close that window after each save? Thanks for any help, I will really appreciate it. Jiia


williamsheil posted Mon, 15 April 2002 at 4:32 PM

Are you using the RenderToNewWindow() method instead of the Render() method? According to the documentation this renders the image to the current view, which is from where 'SaveImage()' should dump the .bmp