摘要:
void ViewerBase::frame(double simulationTime) { if (_done) return; // OSG_NOTICE<<std::endl<<"CompositeViewer::frame()"<<std::endl<<std::endl; if (_fi 阅读全文
posted @ 2019-06-30 21:23
西北逍遥
阅读(1486)
评论(0)
推荐(0)
摘要:
setUpViewOnSingleScreen 和 setUpViewAcrossAllScreens 函数的实现流程与上一日介绍的 setUpViewInWindow 区别不是很大。值得注意的是,setUpViewAcrossAllScreens 函数中调用 GraphicsContext::ge 阅读全文
posted @ 2019-06-30 18:00
西北逍遥
阅读(626)
评论(0)
推荐(0)
摘要:
当前位置:osgViewer/View.cpp 第 575 行,osgViewer::View::setUpViewInWindow()这个函数有五个传入参数:窗口左上角坐标 x,y,宽度 width,高度 height,以及屏幕数 screenNum。它的作用顾名思义是根据给定的窗口参数来创建一个 阅读全文
posted @ 2019-06-30 17:37
西北逍遥
阅读(1420)
评论(0)
推荐(0)

浙公网安备 33010602011771号