Releases: Dddatt/D.js
Releases · Dddatt/D.js
v2.3.0
v2.2.0
v2.1.0
v2.0.1
v2.0.0, no docs!!!
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
v1.1.0
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