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

Development of the ocean scene ramble system based on OSG

在线阅读下载全文

作  者:陈宁[1] 聂垒鑫[1] 刘炜[1] 龚嫚[1] 王之民[1] 

机构地区:[1]江苏科技大学能源与动力工程学院,江苏镇江212003

出  处:《江苏科技大学学报(自然科学版)》2013年第4期386-390,共5页Journal of Jiangsu University of Science and Technology:Natural Science Edition

基  金:江苏省高校科研成果产业化推进基金项目(JHB2011-41)

摘  要:针对海上环境气候复杂,模拟困难等原因,本系统在基于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 .

关 键 词:OSG 海洋漫游 船模 

分 类 号:U664.82[交通运输工程—船舶及航道工程] TP391.9[交通运输工程—船舶与海洋工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象