sparks
v0.0.49
Published
(experimental) WebGL 2D/3D Rendering for Games.
Downloads
4
Readme
SPARKS
(experimental) WebGL 2D/3D Rendering for Games.
TO-DO
- [x] Face culling
- [x] Preserving original z-axis orientation (lesser is far)
- [x] Change alpha to opacity
- [x] Alpha blending
- [x] Review transforms
- [x] Cached uniform locations
- [x] Source organization
- [x] Re-think texture/atlas workflow
- [x] CameraOrtho and CameraPerspective
- [x] Tint
- [x] Z-Sorting with perspective
- [x] Use the CPU to project viewModels
- [x] Mouse interaction
- [x] Camera settings ortho/perspective
- [x] Remove interaction from clipped objects
- [x] Save only one buffer for each model
- [x] Sort objects by type
- [x] Object enable/disable
- [x] Clear redundant calls
- [x] Shader improvements
- [x] Look-at
- [x] Text rendering
- [x] Render loop optimizations
- [x] Better text handling
- [x] Spheres
- [x] Deal with texture mapping for cubes, spheres, etc
- [x] Rework the material/texture setup
- [x] Solve sphere face culling
- [x] Rework mesh and buffers system
- [x] Sphere frame texture
- [x] Testing z for interaction
- [x] Delegate triangle hit test to meshes
- [x] Wireframes
- [x] Texture repeat
- [x] Texture transparency
- [x] Texture frame rotation
- [x] Fill gaps between textures
- [x] Look-at for objects
- [x] Draw call reduction
- [ ] Screen/world point conversion
- [ ] Point hit test to all meshes
- [ ] Color conversion, RGB, RGBA
- [ ] Handle lost context
- [ ] Label enhancements
- [ ] Vertex methods (access, modify)
BUGS
- [x] Textures that spends 1 frame to appear
- [ ] Billboard ignoring parent/child transforms
- [x] Some labels presenting clipped text
- [ ] Very poor performance on Safari
NICE TO HAVE
- Raycast (or tools for make one, at least)
- Light
- Material/shaders
- Particles
TO THINK ABOUT
- Remove mouse events from the engine. REMOVED!
- Sacrifice camera as an Object3D to reduce the render loop.
- Delete Loader and Resources, or write a better version of them.