案例,spss,数据分析

OGRE场景中摄像机和灯光的分析与应用研究


全文字数:20000以上字左右  原创时间:<=2022年

【内容摘要】

OGRE是一款面向对象的图形渲染引擎。本文分析和研究了OGRE场景中的摄像机和灯光。摄像机是一个特别的物体,有点象SceneNode 。摄像机在游戏引擎中担任很重要的角色,它是现实世界的观察者在场景中的实例。OGRE中的摄像机支持透视投影(缺省投影方式、近大远小)和正射投影(大小与距离无关,)。摄像机还支持线画模式、纹理模式、灰度阴影模式等几种渲染模式。OGRE场景中可以有多台摄像机,可以将摄像机“看到”的结果渲染到多个窗口,甚至还能实现分屏和画中画功能。OGRE中的摄像机可以独立于场景节点树,也可以被挂接到场景节点上,通过对场景节点的控制来达到对摄像机的控制。光是现实世界的光在场景中的实例。本文主要研究了环境光、定向光源、点光源、聚焦光源的光源特性。还研究了由光产生的阴影效果,并对调制纹理阴影、调制模版阴影、叠加模版阴影做一分析与比较。

关键词: OGRE 摄像机 光 阴影

Abstract: OGRE is an Object-Oriented Graphics Rendering Engine. This text analyse and study the camera and light in the OGRE’s scene.
Camera is a special object, just like SceneNode. Camera take an important part in the game engine, it is an observer in the real world’s instance in the scene. OGRE cameras support both perspective projection (the default, meaning objects get smaller the further away they are) and orthographic projection (blueprint-style, no decrease in size with distance). Camera also support full textured, flat shaded, wireframe and so on style of rendering. There are many cameras in the scene in the OGRE, allowing you to use OGRE to create complex multi-window views if required. In addition, more than one camera can point at a single render target if required,            each rendering to a subset of the target, allowing split screen and picture-in-picture views. OGRE’s camera can independence the scene tree node, also can be attached to a SceneNode, this can be control the SceneNode achieve control the camera.
Light is the real world’s light in the scene’s instance. The text mostly study the AmbientLight、DirecionalLight 、PointLight 、SpotLight’s light characteristic. also
Study the shadow effect which bring by the light, And analyze and compare the shadowtype_stencil_modulative、shadowtype_stencil_additive、shadowtype_texture_modulative.
Keyword: OGRE camera light Shadow

 

*若需了解更多与协助请咨询↓→[电脑QQ][手机QQ]【数据协助】