[osg-users] Using OsgViewerMFC to load a sphere
fqtang at gmail.com
Tue Jul 15 07:34:09 PDT 2008
I am a beginner of OSG.
I used OsgViewerMFC to load a sphere into the scene, but it displays as an
The radius doesn't seem to be equal in two orthotropic axes.
I find that it may be related to the width and height of the view window
The following codes are from OsgViewerMFC:
traits->x = 0;
traits->y = 0;
traits->width = rect.right - rect.left;
traits->height = rect.bottom - rect.top;
osg::GraphicsContext* gc =
How to solve this?
Thanks for your advices in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users