ToDo - lidavidm/jsglet GitHub Wiki
General
-
Make shaders for
jsglet -
Demo programs
-
Decide whether to clone Pyglet or to be inspired
-
Take a look at dependencies
-
Resource management (loading shaders, textures, etc.)
-
Use RequireJS, not my crappy module system -
Make a global jsglet.gl variable- Would make it harder to render to multiple contexts (since each context has its own gl object), but this isn't a common use case
- Saves user from having to use their own globals anyways
-
Implement repr on all objects for correct hashing (especially important for Group subclasses, otherwise different groups are treated as the same key when added to a batch)
Modules
-
More robust module loaderMethod to signal that loading has failedTesting to make sure it works
Context
Replace Bean with jQueryMove shader loading code elsewhere2415e63883b0cc7bae1269a4de00c0aee36fc066
Camera
Modelview matrix stack to transform individual rendered objectsa5a9a646c18d1dcf6ae0c088431fd65b5a9fe24b- Make sure stack works as expected (see example: rotations seem to affect each other (possibly due to hashing issue?)) cbe559d6fbedd2caa989a6996703a1b046df224f
Graphics
Switch toSHA: 76cb526ea2df9a9fd83e9ea1f0d8780cabfc228aCompositeProgramMakeSHA: 4569eb9b12fb75e52d01a83c152a1b2a215aa7dcMultiBufferObjectnot dependent onPrograminternalsAdd shader-loading functionality- Fix handling of Groups for Batch: set/unset order doesn't seem to be right