Coder Social home page Coder Social logo

yaw-engine's Issues

Support for dynamic scene install/uninstall

For now, only one global scene is supported. The scene components can be added and removed, but we might imagine different scenes with different opengl features, e.g. immediate vs. deferred lightnin or other variations with global impact.

Drawing helpers

Add drawing helpers:

  • object helpers : vertices, triangles, normals, (textcoords ?)
  • world helpers: origin and X/Y/Z unit vectors, grids for X/Y/Z planes
  • camera helpers : position, orientation (front/right/up vectors)

dynamic shader programs

For now the shader code is written as standalone files. A more dynamic approach should be used, for example to allow for a variable number of lights.

Algorithms for mesh generation

Add mesh generation algorithms:

  • basic meshes : planes, cuboids, cones, cylinders, tores, spheres, polyhedrons ...
  • curved surfaces
  • more advanced meshes (?)

Combination of drawing strategies

There is a preliminary support for so-called drawing strategies, i.e. different ways of drawing meshes. The system should be put into practice:

  1. allowing various strategies : default (using material), gouraud/phong/..., wireframe, and helpers (e.g. normals, ...)
  2. allowing to compose drawing strategies

Allow to parameterize the maximum number of lights

The shader code is dependent on the (maximum) number of lights (points, spots), but for now it is a constant in the shader code.
A simpler improvement would be to allow these limits to be fixed at the time of constructing the main shader programs.
Also, unusued light slots should not lead to computations.
More challenging would be to adapt the shader code dynamically when changing the number of lights. This is related to the support of scene install/uninstall

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.