Tue, Jan 7, 10:29 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: Looking for these python methods


sergio777 ( ) posted Sat, 18 September 2021 at 2:51 PM · edited Mon, 25 November 2024 at 6:32 PM

Hi friends, there are some options that are not documented in any Poser manual, I would like to know if it is possible to access those options through python scripts.

Some of the options are these:
WJPyQrirgwcAlU9MZZHxUCwZfmuoYuSbACQYcKI8.jpg

and these:

txqg0ou9nrqWPBHFWYOzSVFzU63XROOrMoPmML95.jpg

does anyone know how to access through python scripts?


HartyBart ( ) posted Mon, 20 September 2021 at 3:22 AM

A Python script can juggle the Comic Book options on and off, but it's not too useful since it takes artistic judgement to set the dials, in combined interaction with the lighting. Plus you have to get the lighting itself done right, and then there is no way for a script to control some things like Preview Shadow Maps Size. So basically you can't automate that creative part of the setup for the users. And without that they're going to just automate the output of crap.

The others are Firefly, which again can be done by a script but it needs to be done right or the renders are going to take a long time to render compared to the fast realtime Comic Book. Getting it really fast, at the size of render you want for the frames of a print comic, assumes the user has a certain type of computer. And then it's not just a matter of setting the switches you've circled, but you also need to know and set all the scene.CurrentFireFlyOptions control commands. There is a standard script which ships with Poser which gives access to these though, in Partners / D3D / Render Firefly, which should give you some pointers.



Learn the Secrets of Poser 11 and Line-art Filters.


sergio777 ( ) posted Sat, 25 September 2021 at 9:54 PM

Thanks HartyBart, could you please show me how to do it?
I made the mistake of saving each scene in a different poser file, so I have to open the files one by one and adjust the render settings manually and that's a big waste of time.



adp001 ( ) posted Sun, 26 September 2021 at 3:15 AM

If you have saved the movie sequences in PZ3 files and want to use the same render and movie settings for all of them, you can work around this by deleting the corresponding data from the files. These are:

1. movieInfo (at the very beginning of the PZ3 file)
2. renderDefaults (at the very end of the PZ3 file)

If you load such a modified file, the last settings will be used.
Make sure that you remove everything inside the curly brackets, the keyword and the brackets.

But be careful: when you save the loaded file back, Poser will add the missing information again and you will have to do the deletion again.

It might be problematic if you don't have an editor that can handle large files. Then only a script that does the cutting helps.




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.