[osg][osgEarth][osgGA][原] EarthManipulator------基于oe的相机漫游器(浅析)

知识基础:osg漫游器基础

class OSGEARTHUTIL_EXPORT EarthManipulator : public osgGA::CameraManipulator

EarthManipulator是直接继承osgGA的漫游器的

所以漫游器工作方式也是和osg漫游器一样的:

1.通过handle函数进行键鼠交互

2.通过updateCamera函数更新相机姿态(姿态通过getInverseMatrix)

 

未完

posted @ 2018-01-15 14:27  南水之源  阅读(1094)  评论(0)    收藏  举报