Skip to content

SGL

SGL is a cross-platform, C++, scene graph API for real-time visualization (e.g., vis-sim, gaming, scientific modelling, GIS apps). It manages all the data needed to render a 3D scene using OpenGL.

SGL consists of a set of cross-platform C++ libraries, built on top of OpenGL, which implements 3D scene graph functionality (sgl), some simple 3D model loaders (sgldb, sglobj, sgl3ds), and some miscellaneous utilities (sglu). A scene graph is a directed acyclic graph that organizes and stores all of the data needed to render a 3D scene. All vertex data and OpenGL state is stored in leaf nodes in the graph, and all internal nodes control placement (via transformation matrices) and selection (via switches, discriminators, level-of-detail ranges, etc.) of sub-graphs for rendering. Rendering of the 3D scene is performed by traversing the graph, selecting the leaf nodes to be drawn, and issuing OpenGL commands for the information contained in the selected leaf nodes. Note that during the traversal, view-frustum culling can be performed where nodes completely outside the current view are not selected, thus reducing the amount of OpenGL calls performed.

  • 간단한 3차원 렌더링 그래픽스 라이브러리.
  • OpenGL 및 DirectX 를 사용하지 않고 C++ 언어로 직접 3D 렌더링 그래픽스 라이브러리 구현.

See also

Favorite site

References


  1. Sgl_ppt.pdf