Skip to content

itanka9/quickjs-webgl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL bindings for QuickJs (in progress)

gltf cube render

This is a simple WebGL bindings for QuickJs. Now it not fully complete and use GLFW (https://www.glfw.org/) under the hood.

Getting Started

make download - download quickjs distro
make          - build a shared library
make test     - run a simple test
make rawgltf  - run a rotating red cube from a simple glTF model

Schema

gl2.h -- (bindgen.js) --> webgl.c \
                                   + -- (cc) --> webgl.so
                      additions.c /

TO DO

1. Add standard JS polymorphism in places where binary data passed down to GLUT 
   (now only ArrayBuffer supported).
2. Verify bindings aganist WebGL specification (maybe grab and apply tests somewhere).
3. Support for loading and display textures
3. Write docs
4. Provide Examples

LICENSE

MIT

About

WebGL bindings for QuickJs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •