Hi.
I'm working on an editor with OSG inside ( you can see it in action here:
https://youtu.be/70Jny1xJxK8 )
Currently I only have perspective camera that I setup with the following
call:
setProjectionMatrixAsPerspective(30, winWidth / winHeight, 1, 1000)
I want to have something like an isometric camera view in Blender.
However, I'm having problems with setProjectionMatrixAsOrtho. I couldn't
find any example for an FPS like isometric camera I want.
I tried to simply swap setProjectionMatrixAsPerspective with AsOrtho, but
proportions are wrong and rotation is even more weird.

Any info on how to display a scene with ortho projection and have something
like FPS camera would be great.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to