[osg-users] Any help with isometric camera?

michael kapelko kornerr at gmail.com
Tue Mar 29 07:34:31 PDT 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160329/be5bc0a5/attachment-0002.htm>


More information about the osg-users mailing list