Giter VIP home page Giter VIP logo

simple3d's Introduction

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.

simple3d's People

Contributors

itisapachee avatar spullin avatar

Stargazers

Andrey Pivovarov avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.