Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)
It can be done. But I'd advise rotating the camera, not the figure. Here's how it goes (more or less, you'll probably have to tweak the script somewhat):
import poser
exportPath="c:animations"
scene = poser.Scene()
for anglecount in range(20):
angle=anglecount*18
scene.Camera("Main Camera").Parameter("yRot").SetValue(angle)
sequenceName="angle" + str(angle)
for framenum in range(scene.NumFrames()):
renderName=sequenceName + "frame" + str(framenum)
scene.Render()
scene.SaveImage("jpg",os.path.join(exportPath,renderName)
You should set the render options before running the script. Hope this helps, Steven.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
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.
I am new to the Poser screen so excuse my ignorance please. What I basically want to do is the following: I take one figure and I create an animation sequence with it. For example running. Then I want to export that animation,ie 60 frames in image files. And I want to do that same image sequence from different angles. Ie. 360 degrees can give 20 angles (each spaced 18 degrees apart) so at the end I will have a sequence of images for every specific angle. I rotate the figure about the Y-axis to change the viewing angle. I want python once I give the command to export my image files for angle 0, then rotate my figure by 18 degrees and export again and so on until it reaches a full circle.. Can somebody please help to do that since I never before worked with Python. Thank you