#include <renderserver.h>
Inheritance diagram for kerosin::RenderServer:


Public Member Functions | |
| RenderServer () | |
| ~RenderServer () | |
| void | Render () |
| display the current active scene | |
| void | RenderFancyLighting (const salt::Frustum &frustum, boost::shared_ptr< oxygen::Camera > &camera, TLeafList &myLights, TLeafList &allMeshes, TLeafList &visibleMeshes) |
| render the scene with fancy lighting | |
Protected Member Functions | |
| bool | RenderServer::GetActiveScene () |
| get the active scene node from the sceneServer | |
| virtual void | OnLink () |
| set up SceneServer reference | |
| virtual void | OnUnlink () |
| reset SceneServer reference | |
| void | RenderScene (boost::shared_ptr< oxygen::BaseNode > node) |
| render a scene recursively. | |
| void | BindCamera (boost::shared_ptr< oxygen::Camera > &camera) |
| sets the OpenGl view parameters for a camera | |
Protected Attributes | |
| boost::shared_ptr< oxygen::Scene > | mActiveScene |
| reference to the current active scene | |
| boost::shared_ptr< oxygen::SceneServer > | mSceneServer |
| reference to the SceneServer | |
| boost::shared_ptr< kerosin::OpenGLServer > | mOpenGLServer |
| reference to the OpenGLServer | |
| unsigned int | mAmbientVP |
Definition at line 57 of file renderserver.h.
|
|
Definition at line 38 of file renderserver.cpp. |
|
|
Definition at line 42 of file renderserver.cpp. |
|
|
sets the OpenGl view parameters for a camera
Definition at line 310 of file renderserver.cpp. Referenced by Render(). |
|
|
set up SceneServer reference
Reimplemented from zeitgeist::Leaf. Definition at line 47 of file renderserver.cpp. References zeitgeist::Object::GetCore(), zeitgeist::Object::GetLog(), mAmbientVP, mOpenGLServer, and mSceneServer. Here is the call graph for this function: ![]() |
|
|
reset SceneServer reference
Reimplemented from zeitgeist::Leaf. Definition at line 83 of file renderserver.cpp. References mActiveScene, mOpenGLServer, and mSceneServer. |
|
|
display the current active scene
Definition at line 183 of file renderserver.cpp. References zeitgeist::Node::begin(), BindCamera(), zeitgeist::Node::end(), frustum(), zeitgeist::Object::GetLog(), salt::Frustum::Intersects(), mActiveScene, RenderFancyLighting(), and RenderScene(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||||||
|
render the scene with fancy lighting
Referenced by Render(). |
|
|
render a scene recursively.
Definition at line 282 of file renderserver.cpp. Referenced by Render(). |
|
|
get the active scene node from the sceneServer
|
|
|
reference to the current active scene
Definition at line 99 of file renderserver.h. Referenced by OnUnlink(), and Render(). |
|
|
Definition at line 107 of file renderserver.h. Referenced by OnLink(). |
|
|
reference to the OpenGLServer
Definition at line 105 of file renderserver.h. Referenced by OnLink(), and OnUnlink(). |
|
|
reference to the SceneServer
Definition at line 102 of file renderserver.h. Referenced by OnLink(), and OnUnlink(). |
1.4.4