Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
The solving was (of course) easier than I thought. :oP
As can be seen in previous post I didn't have the yRotate of the light set to 0. Which made it all to a mess.
I zeroed it and rotated my object so it would be correct relative to the light. Now the Cam and Light both start at 0.
So now the part of the script looks like this:
CamRot.SetValue(Step * 360.0 / Steps)
LightRot.SetValue(Step * 360.0 / Steps)
Thank you again ockham for helping us "deadly" to get some excercise for our brains.
Sometimes the best way to solve a problem is to write out the question for somebody else!
My python page
My ShareCG freebies
Yes, it happens quite often. One struggles with something for hours/days. Post the problem, and then the solution falls in place.
Next I need a script just for batching several Poser files. One render, close, open next, render.... etc.
I'll give it a try self first. Unless you have one allready in da' closet?
My python page
My ShareCG freebies
If you want a separate render for each frame (without changing cams and lights) let me know and I'll make that modification.
My python page
My ShareCG freebies
My python page
My ShareCG freebies
..setting the Document Window is one of those
actions that Python is not allowed to do,
for some stupid reason!<<
Does one have to do that then? Can we not go with the previous solution as in the CamCircle?
Since none of these scenes/cams/lights/size need to be changed by the script. Just open, render and save.
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.
:o)
You were right ockham. I needed the light to circle also. But it doesn't do it correct with my light settings.
I need only for yRotate of the light to rotate.
When AuxCam is yOrbit 90 the yRotate of the light is 245. And when AuxCam is 0 the yRotate of light is 155.
So me said to self: "Piece of cake. Me can fix this. We don't have to ask ockham about it.
And now self is screeming and going on about me messing up the whole thing! :o(
----------------- original part of script ----------
CamRot.SetValue(Step * 360.0 / Steps)
LightRot.SetValue(-Step * 360.0 / Steps)
help!