Does anyone know how to use the 3ds's 3d functionality with citro3d.
I want to make the example : textured_cube using 3d. I made a second target for the other eye.
For now, I am doing :
I also added an offset variable in sceneRender to draw from both perspective.
Unfortunately, I haven't been able to draw both view points.
I don't know what I am missing and would appreciate any help.
Thanks in advance.
I want to make the example : textured_cube using 3d. I made a second target for the other eye.
For now, I am doing :
Code:
C3D_FrameBegin(C3D_FRAME_SYNCDRAW);
C3D_RenderTargetClear(targetl, C3D_CLEAR_ALL, CLEAR_COLOR, 0);
C3D_RenderTargetClear(targetr, C3D_CLEAR_ALL, CLEAR_COLOR, 0);
C3D_FrameDrawOn(targetl);
sceneRender(0.25);
C3D_FrameDrawOn(targetr);
sceneRender(-0.25);
C3D_FrameEnd(0);
Unfortunately, I haven't been able to draw both view points.
I don't know what I am missing and would appreciate any help.
Thanks in advance.