hi everyone,
i need to create an application which creates 3D anaglyph images. So i have to build a scene and render it two times, changing only the camera position. I’d like to know if it’s possible to do this without having to recall all the methods that create the scene.
exemple (something like):
CreateABox();
CreateASphere();
renderTheRightEyeView();
renderTheLeftEyeView();
instead of:
SetCameraPosition();
SetViewport();
CreateABox();
CreateASphere();
ChangeViewPort();
ChangeCameraPosition();
CreateABox();
CreateASphere();
thanks for your reply. i know it’s not so clear but i haven’t got much experience!