is it possible to create a script

Started by brizad13, January 19, 2019, 12:35:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

brizad13

is it possible to create a script to move the play head one frame then create a new camera for an animation sequence?
so I have a seperate camera for each frame in the seq.

Will Gibbons

Quote from: brizad13 on January 19, 2019, 12:35:27 PM
is it possible to create a script to move the play head one frame then create a new camera for an animation sequence?
so I have a seperate camera for each frame in the seq.

I am not sure about that. Can you explain why you would want this though? I suspect that what you're trying to achieve can be done in a simpler way.

Niko Planke

Hey Brizad,

That should be possible. Depending on what your intention is.

You can use a combination of lux.newCamera(...)and lux.setAnimationFrame(...) inside a For loop using lux.getAnimationInfo(...) to know the total frame count of your animation.

Note: Cameras do not include geometry information so i can only see this make sense for Camera animations.