Tue, Dec 3, 9:53 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 03 5:49 pm)



Subject: Simple python script


danborn ( ) posted Mon, 17 January 2011 at 11:33 PM · edited Tue, 03 December 2024 at 9:26 PM

is there a part of this forum dedicated to python scripting?  noob to poser here, but well versed in cad design and scripting automation.  basically i'm using the animation keyframes as my storyboard...i.e. gross  changes in camera, poses and props between keyframes.  so i'd like to save the poses and camera angles for each frame and give them the frame number as the name. step to next  frame and repeat till done.  does anyone have  or know where to look for good python example scripts for maniping library elements?

 

thanks in advance

danborn


LaurieA ( ) posted Tue, 18 January 2011 at 12:53 AM

The Poser Python Scripting forum is here.

If there's something you need specifically, you could ask in there. There's a lot of code gurus who watch the forum ;o).

Laurie



ockham ( ) posted Tue, 18 January 2011 at 6:54 AM

I had thought about doing such a "storyboard generator" but didn't need it myself and didn't see any demand from others.

It's certainly doable, and wouldn't be terribly hard.

One of the factory-supplied sample scripts gives a good example of enumerating all the elements of the scene and writing to a file.

Also, look at my old ImageSequence and TripleGraph scripts, which contain some other tricks that might be useful.

http://ockhamsbungalow.com/Python/ImageSeq.zip

http://ockhamsbungalow.com/Python/TripleGraph.zip

 

My python page
My ShareCG freebies


danborn ( ) posted Wed, 19 January 2011 at 9:05 PM

Thanks a bunch, I see a loop in one of your routines that looks promising, I will post my pseudocode over in the Poser Python forum.

Danborn


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.