The 2.2 Release of the Canvas 3D Library includes a number of new features, updates to old features and fixes for several bugs along with the requisite changes to meet the evolving WebGL spec.
Some of the things included (in no particular order) are:
- Better picking code.
- The ability to swap textures as a scene is running.
- The ability to texture an object with video files and canvas tags.
- More information about objects, such as the number of triangles, the size of the object (and the ability to scale it to a particular size) and the ability to center an object.
- Primitive objects such as cubes, planes and spheres.
- Upgraded collision detection.
- The ability to pause/stop/start the scene (rendering and updating).
- The ability to label an object in the scene as static, so time won’t be wasted trying to calculate the movements of an object that does not move.
- Using RequestAnimationFrame so as not to waste time rendering a page that isn’t visible.
- Frustrum culling.
- General improvements to the performance of the library.
We have a number of other changes coming, along with new tutorials and demos planned. And as always, you can request new features and/or report bugs through our lighthouse account
