Sun, Jan 26, 2:20 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Saving a Render Via Python Script


destro75 ( ) posted Mon, 20 June 2005 at 1:45 PM · edited Sun, 28 July 2024 at 6:10 PM

How would I go about saving a render done through Python, in Python? SaveImage seems to export the Preview image, rather than a fully rendered one. I don't see a command to choose which panel is used to export. Maybe the problem is that the SaveImage is running before the render is complete? Is there a way to pause the execution of the script until a render has completed? All help is greatly appreciated!


nruddock ( ) posted Tue, 21 June 2005 at 2:52 PM

Which version of Poser are you asking about PP, P5, P6, or P6+SR1 ?


destro75 ( ) posted Fri, 24 June 2005 at 2:11 PM

Okay, I think I figured out my own issue. I was outputting to PNG, and for some reason, when you save the image to PNG, you get a transparent background. I solved that problem by saving to JPG. Now it saves the render correctly. Thanks nruddock for responding! BTW: To answer my own question about waiting to run SaveImage, I am using scene.ProcessSomeEvents(1) right after the Render() call to allow the render to complete. Don't know if it matters, but it works fine this way so...


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.