²é¿´: 660|»Ø¸´: 1

TravelManipulatorΪʲôҪĬÈÏÈÆXÖáת¾ÅÊ®¶È

[¸´ÖÆÁ´½Ó]

¸ÃÓû§´Óδǩµ½

·¢±íÓÚ 2014-9-23 20:37:21 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
±¾Ìû×îºóÓÉ nononono ÓÚ 2014-9-25 12:02 ±à¼­

¾­µäÀý×ÓTravelManipulator.cppÖУ¬ÎªÊ²Ã´ÒªÄ¬ÈϽǶÈÖµm_vRotation = osg::Vec3(osg:I_2, 0.0f, 0.0f);
ÄѵÀÉãÏñ»úĬÈÏÇé¿öÊÇÖ¸Ïòz = -1µÄ·½ÏòÂð

ÎÒÉèÖÃÁËTravelManipulator¿ØÖÆÆ÷µÄm_vPoisition±äÁ¿µÄÈ¡Öµ£¬µ«ÉèÖÃÈ¡ÖµÖ®ºó£¬²é¿´center¡¢eye¡¢upÈý¸öÖµ£¬»¹ÊÇ·Ö±ðΪcenter(0, 0, 0), eye(0, -1, 0), up(0, 0, 1)¡£ÕâÈý¸ö²ÎÊýµ½µ×ÊÇûÓÐÆð×÷Ó㬻¹ÊDzÎÕÕϵ²»Ò»Ñù¡£

TravelManipulator¼Ì³Ð×ÔCameraManipulator£¬CameraManipulatorĬÈÏcenter(0, 0, 0), eye(0, -1, 0), up(0, 0, 1)¡£Èç¹ûÎÒÉèÖÃm_vPosition = osg::Vec3(0, -200, -430)ºó£¬ÄÇôeyeÖµ²»Ó¦¸Ã±äΪ£¨0£¬ -200£¬ -430£©Âð

¸ÃÓû§´Óδǩµ½

 Â¥Ö÷| ·¢±íÓÚ 2014-9-25 11:55:40 | ÏÔʾȫ²¿Â¥²ã
Õâ¸öÎÊÌâûÓÐÈËÖªµÀÂð
ÉãÏñ»úµÄĬÈÏÖ¸ÏòºÍλÖÃÊÇÔõôÑùµÄ£¿
ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | ×¢²á

±¾°æ»ý·Ö¹æÔò

OSGÖйú¹Ù·½ÂÛ̳-ÓÐÄúOSGÔÚÖйú²Å¸üºÃ

ÍøÕ¾¼ò½é£ºosgChinaÊǹúÄÚÊ׸öÈýάÏà¹Ø¼¼Êõ¿ªÔ´ÉçÇø£¬Ö¼ÔÚΪ¹úÄÚ¸ü¶àµÄ¼¼Êõ¿ª·¢ÈËÔ±Ìṩ×îÇ°Ñصļ¼Êõ×ÊѶ£¬Îª¸ü¶àµÄÈýά´ÓÒµÕßÌṩһ¸öѧϰ¡¢½»Á÷µÄ¼¼Êõƽ̨¡£

ÁªÏµÎÒÃÇ

  • ¹¤×÷ʱ¼ä£º09:00--18:00
  • ·´À¡ÓÊÏ䣺1315785073@qq.com
¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí