Forum: Poser - OFFICIAL


Subject: python export image?

robs opened this issue on Jun 13, 2002 ยท 4 posts


robs posted Thu, 13 June 2002 at 7:43 AM

Hi,

I have been looking at the Poser Python docs for ProPack SR2.

It looks like one can use python to export all the fancy stuff (obj, 3ds, etc.) but I cannot see a way to programatically save (export?) a rendered image to a bmp file.

Am I missing something simple here ;-)

Thanks for any help.
Rob


milamber42 posted Thu, 13 June 2002 at 9:03 AM

Use the different Render (RenderCastShadows, etc) methods to setup the rendering options, and use the Render method to render the image. Then use the SaveImage method to save the image.

I found that it works best to render in the document window and not in a new window from a script.

Hope this helps!


robs posted Thu, 13 June 2002 at 9:15 AM

Thanks. I will try that. Rob


stewer posted Thu, 13 June 2002 at 12:34 PM

And get SR3 - it has several bugfixes and new Python functions.