期刊文献+

基于OSG的海洋漫游场景开发 被引量:9

Development of the ocean scene ramble system based on OSG
下载PDF
导出
摘要 针对海上环境气候复杂,模拟困难等原因,本系统在基于OSG三维渲染引擎的基础上,借助OsgOcean场景实现了第一视角的海洋场景漫游,包括船舶模型的调换,天气变化,键盘事件响应来控制船舶运动.首先通过将OSG视景窗口嵌入MFC框架下,并在OSG核心类cOSG中响应海洋场景的生成;其次在模型节点中通过添加和移除节点,动态实现船舶模型的加载和转换,然后通过天空盒中阳光在海面产生的不同光照效果,利用着色器,渲染不同气候下海面的颜色;最后通过OSG三维渲染引擎中的粒子效果,将自定义粒子模块实时加载到场景中,用来模拟大自然中的雨、雪效果. Since the maritime environment is complicated and it is difficult to simulate , an ocean scene ramble system has been designed based on the OSG 3-D rendering engine and osgOcean .The system included the fol-lowing functions:switch of ship models , weather variations and ship movements controlled through keyboard e-vents response .At first, the OSG view window was embedded in the MFC framework , the ocean scene was gen-erated in the core class cOSG , then by adding and removing the model nodes , ship models were loaded and switched dynamically .After this,the color of ocean surface under different climates was rendered by the shader based on the light reflection and refraction of the ocean surface .At last,the rain and snow effects were simulated by adding the particle system of OSG rendering engine to the ocean scene .
出处 《江苏科技大学学报(自然科学版)》 CAS 2013年第4期386-390,共5页 Journal of Jiangsu University of Science and Technology:Natural Science Edition
基金 江苏省高校科研成果产业化推进基金项目(JHB2011-41)
关键词 OSG 海洋漫游 船模 OSG ocean scene ramble ship model
  • 相关文献

参考文献10

二级参考文献56

共引文献53

同被引文献79

引证文献9

二级引证文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部