Tiny opened this issue on Dec 23, 2015 ยท 4 posts
Tiny posted Wed, 23 December 2015 at 8:13 AM
The script I have is built upon Ockhams CamCircle script. It rotates the cam and renders every frame of an animation in 16 directions (or other selected amount of directions). How would I go about to add the choice of "render n:th frame" of an animation within the above mentioned script? For example, I have an animation with 39 frames and would like to render every 3rd frame of it. I can do this within Poser itself of course, one direction at a time but figured I try to automate it as much as possible. :) Here is the main action part of the script:
CamRot = scene.Actor(CamName).Parameter("yOrbit") for F in range(scene.NumFrames()): for Step in range(int(Steps)): scene.SetFrame(F) CamRot.SetValue(Step * 360.0 / Steps) scene.Render() LastName = 'Angle%3.2f%1d.png' % (Step,F) scene.SaveImage("png",os.path.realpath('E:/')+'Renders/'+(LastName)) poser.CloseDocument(1) return 1 # All OK
Sorry, I don't know how to prevent the text bunching up like that.