Hi there,
I'm trying to write a script that would automate the creation of separate images for each eye.
I know I could write a script that would do this:
- make a copy of the current camera
- move it left
- call render()
- move it right
- call render()
- discard the copy of the camera and proceed to the next frame
But it would be very nice to make it as a "rendering effect", which seems imposible to me due to the fact that I want to change geometry or call a second render() inside some kinf od pipeline thus messing it up.
Is there a nice way to do this?
If it would be a macro-like script the odds (well, my lack of knowledge) would be:
- no Idea how to store settings (plugin-like scripts have the "parameters" which are saved) - someone would like to animate the distance of the eyes or other params
- the rendering dialog has so many parameters like output formats etc. - I would have to give these parameters to the render() function thus I had to make a similar dialog (sounds stupid enough!)
In the end the output should be (per frame): Two images (all the stuff (effects etc.) in the rendering dialog token in account) - one for each eye - placed side by side in one frame (so the width would be double) ...no trouble with output formats - no other support needed (special file-format etc.).
Could someone give me guidance?
I'm a student trying to make something useful 😇
so thanx a lot for anything!
By BayerMeister · 2007-03-15