Skip to content

Releases: Dddatt/D.js

v2.3.0

23 Sep 16:00
0d21e76

Choose a tag to compare

Update index.js

v2.2.0

09 Aug 18:47
95ff1f4

Choose a tag to compare

additions to obj parser and program debugging

v2.1.0

18 May 15:16
1bbe6e4

Choose a tag to compare

fixes

v2.0.1

18 Jan 18:07
6871ded

Choose a tag to compare

new updates:

  • Added more random cached math numbers and helper functions
  • Programs are automatically used after creation
  • camDir property in D.setViewMatrix output

v2.0.0, no docs!!!

02 Jan 19:46
294e05b

Choose a tag to compare

New updates:

  • D.js is now ONLY a WebGL2 library as of this version for more features and usage.
  • Now uses Uint32Array for indices.
  • Added hemisphere geometries.
  • Meshes now use WebGL2's vertex array objects feature for normal rendering, enabled by default.
  • Added D.updateMesh function and small reworks in D.createMesh and D.renderMesh due to the change.
  • You can now set primitives for meshes. Having wireframe enabled overides the settings and will use gl.LINES.
  • You can now input extra vertex data into meshes within D.createMeshData for use in shaders.
  • You can now input extra vertex data into meshes created by D.createOBJMeshData by directly inputting the data in the parameter. The data is shared for all the verts in the mesh.

v1.1.1

01 Jan 06:02
7949aff

Choose a tag to compare

fixed error in D.renderMesh when using instancing

v1.1.0

19 Dec 22:03
c4bc963

Choose a tag to compare

new updates in v1.1.0:

  • D.setViewMatrix now returns an object with camPos and modelMatrix properties
  • Added D.PI and D.INV_255
  • Removed console.log calls in D.getContext and D.getExtension
  • Added more default params in D.clear
  • D.viewport now sets D.aspect
  • D.prespectiveMatrix now has default params
  • Added cylinder meshes
  • Added better texture mapping feature for geometry
  • Added D.enableBlend and D.blendFunc
  • Added alpha values to meshes
  • Moved mesh keys to D.meshKey and added D.meshKeyAmount
  • Added a demo for textures and transparent geometry

Release

19 Dec 21:15
ba74d2a

Choose a tag to compare

v1.0.0

Update obj_demo.html