This question is too bad,to ask the world's osg forum members,because this will watse them times,carefully please,please,please..........
Regards zhuwan 11,29,2013 > -----原始邮件----- > 发件人: "小风子" <[email protected]> > 发送时间: 2013-11-29 18:26:12 > 收件人: osg-users <[email protected]> > 抄送: > 主题: [osg-users] where is the differences between Manipulator and Camera? > > When I use TrackballManipulator in the scene.I use the > Camera::setViewMatrixAsLookAt to set the initial position of the camera and > view center. and I fail,then someone tell me that I should use the > TrackballManipulator::setHomePosition to set the initial position of the eye > and center. then I success. > But when I meet complex scene . the problem occurs and I do not know > why . The following are the steps: > 1. I first use TrackballManipulator::setHomePosition to set the initial > position of the eye and center . > It is OK. > 2. I add an object to the scene.and the home position of the Manipulator > should change to the center of the added object,but I try many ways,it does > not work . sometimes it seems the camera work in a very strange mode ,the > wrong eye,wrong center ,wrong up . > So I want to know how to solve the problem and the difference between > Manipulator and Camera. > > thanks! > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

