Skip to content

ItIsApachee/simple3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple3d

This library aims to be a simple tool to let you visualise simple 3D primitives. To provide maximum flexibility the library is using ANGLE (https://github.com/google/angle) as graphics backend. C++ namespace - Simple3D. Currently there is no aim to support multiple windows, and contexts, but it might be provided in the future.

Development.

Code style - Google C++ Style Guide. (https://github.com/cpplint/cpplint)

Components.

  1. (graphics) Objects related to 3D rendering.
  2. (context) Window manager: creating windows, GLES contexts, main loop, etc.
  3. ImGui support (?)
  4. Texture manager
  5. Tools for optimizing visualisation of massive amounts of data.

Dependencies.

Dependencies for building examples:

Limitations.

  • Context can be initialized only once, otherwise you can expect undefined behaviour.
  • Only one instance of shader per type. Makes shaders less flexible, but increases overall performance as it decreases switches between shader programs.
  • Only one instance of renderer per scene. Couldn't come up with a good way to allow that, but also provide easy library interface.

TODO:

Overall.

  • Create CMake config of library
  • Organize components in folders.
  • Create documentation (doxygen).
  • Add support for non-desktop devices: Android, IOS.

1. Objects related to 3D rendering.

  • Create basic API/interface of library:
    • Scene object (relative position of objects).
    • Camera object (render capabilites).
    • Misc (additional 3D primitives).
  • Implement API/interface:
    • Simple lighting.
    • Scene object (relative position of objects).
    • Camera object (render capabilites).
    • Controls for Camera object.
    • Misc (additional 3D primitives).
  • 3D primitives:
    • Cuboid.
    • Triangle.
    • Spehere: basic, icosphere, cubesphere.
    • Particle.

3. Window manager: creating windows, GLES contexts, main loop, etc.

  • Initialization, and termination.
  • Context management.
  • Input management.

4. ImGui support (?)

  • Add ImGui support.

5. Model manager

  • Create simple model loading.
  • Add support for embedded textures (assimp).

6. Tools for optimizing visualisation of massive amounts of data.

  • Optimized ParticleRenderer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published