Skip to content

🪶 Experimental lab for a lightweight graphics engine for the web.

Notifications You must be signed in to change notification settings

C0DECYCLE/WebEngineLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪶 WebEngine Lab

Experimental lab for a lightweight graphics engine for the web.

Notes

  • wrap/unwrap
  • simplify
  • bounding boxes
  • frustum culling
  • occlusing culling
  • compute shader
  • material system
  • per triangle or per vertex
  • improve clustering algorithm
  • merge chlusters based on original splitting

Cluster

  • Max 128 verts (unique?, tris?)
  • Simplify if necessary
  • ClusterId
  • Boudning Info
  • Parent, children, sibling info

Compiletime

  • Import mesh data
  • Parse mesh data
  • Wrap or unwrap?
  • Analyse mesh data
  • Subdivide and build tree
  • Complete binary tree out of clusters
  • Save in array format
  • Build all cluster attributes

Runtime

  • Go through each entity
  • Get corresponding mesh tree
  • Cull by frustum, occlusion? and screen space
  • If cluster not culled dispach it to the draw buffer
  • Draw call draw buffer

About

🪶 Experimental lab for a lightweight graphics engine for the web.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published