Hi All,
I'm sorry but there are several details related to this task.

One more problem. Just to summarize the code status. I implemented a track view 
object as a view of a composite viewer. I set an osg::PositionAttitudeTransform 
node as scene data of the view. I then read an obj of thetrack and add as child 
of the position attutude transform. I update the viewport of the camera view to 
have width and height proportional to the track bounding box. Finally in some 
way I cal setViewMatrixAsLookAt() from the view camera to fit the track.

Now, the problem. If I resize the window vertically I see the track resizing, 
while if I resize the window horizontally the track is not resized so thet it 
is cut (left/right) at a certain point. It seems the viewport is resized 
correctly.
Any idea?

Regards
Gianni

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





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

Reply via email to