Description

Sf2 is a 3D API written in C++ to facilitate the design and implementation of advanced OpenGL applications. Unlike many available C++ OpenGL libraries, the primary focus of sf2 is not to obscure the entire C-based OpenGL API but to use it to provide some of the objects that are too complex for OpenGL to directly support such as a camera object. Because sf2 does not attempt to encapsulate the entire OpenGL API into a set of classes, this frees the programmer to continue using the familiar OpenGL C API alongside the sf2 classes instead of having to re-learn what they already know how to do in OpenGL. Every object available in the sf2 API aims to support and build up to the object of highest complexity, the scene. Being that the scene object is the most important one in sf2, all of the supporting classes (including the scene class itself), are built with a common goal; to interact with and draw the scene as efficiently as possible.

The Classes

  • sf2::Box3D
  • sf2::Camera
  • sf2::Color
  • sf2::Light
  • sf2::MatProcessor
  • sf2::Material
  • sf2::PBuffer
  • sf2::Poly
  • sf2::PolyGroup
  • sf2::Rect2D
  • sf2::Scene
  • sf2::SceneObject
  • sf2::Texture
  • sf2::Texture2D
  • sf2::Vertex
  • sf2::Vertex2D
  • sf2::Vertex3D

  • Presentation

    Click here to view the sf2 presentation given during the undergraduate research conference at salisbury university.

    Imagery