期刊文献+

模拟器视景系统中太阳及镜头光晕的绘制 被引量:2

Rendering the sun and lens flare in visual system of simulator
原文传递
导出
摘要 为解决现有航海模拟器视景系统中对太阳及镜头光晕的模拟不完善、无法显示太阳、不能控制太阳及镜头光晕效果等问题,提出基于OpenGL和Cg绘制太阳及镜头光晕的方法.讨论光晕分布、纹理及融合等技术,并引入光晕边界的概念,实现光晕的淡入淡出.采用光线投射方法判断太阳与其他物体的遮挡关系,解决了z缓冲区方法无法判断视见体外物体的可见性问题,并利用顶点着色器技术对该方法进行优化.结果显示,该法简单,易于实现,绘制效果真实,满足航海模拟器对视景系统的实时性和逼真度要求. A new method of rendering the sun and lens flare based on OpenGL and Cg was presented to make up the imperfections which the sun was not rendered and the effect of lens flare could not be controlled in present marine simulator. The techniques were discussed including the flare's distribution, texture and blending. A conception of flare border was applied to achieve the fade-in and fade-out of lens flare. When the sun was between the flare border and the screen border, the flare's intensity was varying. As zbuffer algorithm could not judge the visibility of objects which is outside viewing volume, the ray casting algorithm was adopted to solve the visibility of the sun. The algorithm has been implemented within vertex shader, and can meet the real-time requirements of marine simulator.
出处 《大连海事大学学报》 EI CAS CSCD 北大核心 2007年第2期124-128,共5页 Journal of Dalian Maritime University
基金 国家"973"计划基金资助项目(2002CB312103)
关键词 航海模拟器 视景系统 镜头光晕 光晕边界 顶点着色器 marine simulator visual system lens flare flare border vertex shader
  • 相关文献

参考文献9

  • 1王长波,王章野,曾运,彭群生.考虑大气折射的天空场景真实感绘制[J].计算机学报,2005,28(6):939-949. 被引量:9
  • 2HOFFMAN N,PREETHAM A J.Rendering outdoor light scattering in real time[C]//Proceedings of Game Developer Conference,2002:85-89.
  • 3WOO M,NEIDER J,DAVIS T,et al.OpenGL编程权威指南[M].3版.吴斌,段海波,译.北京:中国电力出版社,2001.
  • 4洪伟 刘亚妮 李骑.Cg教程--可编程实时图形权威指南[M].北京:人民邮电出版社,2004..
  • 5STANDISH E M.JPL planetary and lunar ephemeredes[R].San Francis:NASA Report,1999.
  • 6LengyelE 詹海生译.3D游戏与计算机图形学中的数学方法[M].北京:清华大学出版社,2004..
  • 7HAINES E.Point in Polygon Strategies[M].New York:Academic Press,1994:24-46.
  • 8徐智渊,唐泽圣,唐龙.一种用于光线与三角形网格求交运算的有效剔除算法(英文)[J].软件学报,2003,14(10):1787-1795. 被引量:8
  • 9OLLER M T,TRUMBORE B.Fast,minimum storage ray-triangle intersection[J].Journal of Graphics Tools,1997,2(1):21-28.

二级参考文献38

  • 1Whirred T. An improved illumination model for shaded display. Communications of the ACM, 1980,23(6):343--349.
  • 2Arvo J, Kirk D. A survey of ray tracing acceleration techniques. In: Glassner AS, ed. An Introduction to Ray Tracing. San Diego:Academic Press, 1990. 201-262.
  • 3Rubin S, Whitted T. A three-dimensional representation for fast rendering of complex scenes Computer Graphics, 1980,14(3):110-116.
  • 4Glassner AS. Space subdivision for fast ray tracing IEEE Computer Graphics and Applications, 1984-4(10):15-22.
  • 5Sung K, Shirley P. Ray tracing with the BSP tree,In: KirkD, ed. Graphics Gems HI. San Diego: Academic Press, 1992. 271-274.
  • 6Heckbert PS, Hanrahan P. Beamtracing polygonal objects. Computer Graphics, 1984,18(3): 119-127.
  • 7Amanatides J. Raytracing withcones. Computer Graphics, 1984,18(3):129-135.
  • 8Shinya M, Takahashi T, Naito S. Principles andapplications of pencil tracing. Computer Graphics, 1987;21(4):45-54.
  • 9Badouel D. An efficient ray-polygon intersection. In: Glassner AS, ed. Graphics Gems. San Diego: Academic Press, 1990.390--393.
  • 10Haines E. Point in polygon strategies. In: Heckbert PS, ed. Graphics Gems IV. San Diego: Academic Press, 1994. 24--46.

共引文献21

同被引文献11

引证文献2

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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