Clay, Bruce wrote:
> I started working with the OSG MFC sample on a Vista windows box. When I load 
> a model into the window and rotate it, I notice that the aspect ratio of the 
> model changes.

If the aspect ratio (probably a float) is calculated from the screen size (two 
integers) you might be losing the fractional component (e.g. 800/600 = 1).  
Casting the inputs to floats will help here.

------------------------
-- Steven Saunderson

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17095#17095





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to