Fri, Nov 15, 12:30 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 Sep 18 2:50 am)

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: multiple render with a script ?


kyo ( ) posted Mon, 13 October 2003 at 11:22 AM · edited Fri, 15 November 2024 at 12:29 AM

i'm looking for a python script to make severals renders with one click : -my scene is ready -my boss want a render of this scene in following sizes: A6-A5-A4-A3 (europeans standart) theses render are pretty long... is this possible to have a script generating theses renders size without prompt for filename and savelocation, just one click and my computers works at night, and the next morning , my differents renders are saved in a directory, ready to print... thanks to everyone for help


smiller1 ( ) posted Mon, 13 October 2003 at 11:53 AM

Why don't you render the largest size and then use a 2D graphics program to create the smaller sizes?


ockham ( ) posted Mon, 13 October 2003 at 12:49 PM

As has been discussed before, part of the action can be automated, but the saving to disk -- when the render is done to a New Window -- can't be automated. So it's really not worth automating. ------------------------------- Incidentally, I made some progress on solving that problem with an external EXE, but ran into an obstacle that I couldn't get past. I'm tempted to post the partial solution here, with the C code, so that somebody might be able to fix it. The EXE locates Poser's "Render n" windows and saves them to disk, but the save includes the non-client area of the window and doesn't scroll. I suspect the reason why Poser always scrolls the client area is exactly to prevent this kind of external reading; the full image may not be contained in the HWND. But this is only a suspicion......

My python page
My ShareCG freebies


kyo ( ) posted Thu, 16 October 2003 at 3:58 AM

well, thanks for answering... smiller1 : the 2d graphic (aka photoshop) not good for what i want: A6 - 300 dpi A5 - 300 dpi A4 - 300 dpi A3 - 300 dpi if i render the bigger size in 300 dpi [ex: A3 in 300 dpi can give me a A5 in 600 dpi (without quality loss) but i need too a A4 300dpi to give me A6 600 dpi ....] in fact i 'm looking for a script wich could be easely customised to save time, because sometime, print machine Pro ask for 1200 dpi, other time 300 dpi depending weight of paper type... I hope Poser Programmers fix this in poser 6, a kind of batch rendering with size,resolution and save location options, for the night working computer. i 'm boring of theses renders you never know when end comes, just pray for computer never crash before end of render :-)) especially on windows OS...


WeirdJuice ( ) posted Sun, 19 October 2003 at 2:34 PM

The dpi value is not relevant for computer generated images, and can effectively be adjusted post-rendering or post-sampling in a paint program. It only really acts as a "hint" for the printer to convert pixel dimensions into inches, and it is really more than an number embedded in the image file or data. At the end of the day, the only "real" values are the pixel width and height dimensions. The best solution is to render a single image in the maximum resolution and, as smiller1 says, scale it in a paint program according to the specific image size/dpi demands of your printing solution, if you cannot simply adjust the print size of your maximum resolution image appropriately. Bill


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.