Thoughts on the 3d engine
|
|
GraphicsEngineIntroductionThis page describes the existing 3d engine. We might want to use an existing 3d engine, which is discussed in NewEngine ArchitectureThe 3d engine is built on top of OpenGL. No direct commands should be emitted to OpenGL. Instead, there is a scene graph which can be seen as some sort of program. The renderer sorts the scene graph to produce a sequence of OpenGL commands minimizing state changes. The scene graph is composed of internal nodes, and leaf nodes. Leaf nodes render stuff and have no children. Examples of leaf nodes are mesh nodes and text nodes. Internal nodes typically inherit from GroupNode and are used to specify textures, transformations... Anything that changes the openGL state. StatusThe current engine is still pretty crude, but it's sufficiently sophisticated to handle e.g. shadows using the Z-pass algorithm. Things that are missing, but should be easy to add:
|
LoginLast forum topics
Online users |