Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
There is now a new version of CopperLicht available, version 1.3.0. This release includes major changes, also modifying the API: The whole library is now in the namespace CL3D, making it possible to use it easier with other libraies. Download it here: http://www.ambiera.com/copperlic... Changes are: - The JavaScript library CopperLicht is now placed in the namespace CL3D. Note that when creating new instaces of or accessing CopperLicht classes, you need to prefix it with the new namespace. Creating a 3d vector for example previously worked like this: var v = new Vect3d(); now works like this: var v = new CL3D.Vect3d(); This also makes it compatible for using it with other libraries, for example jQuery. - The source of the library is now only minificated and not obfuscated anymore, making it much easier to debug it. - Added a Material callback to Renderer for more fine grained control over modifying shader variables. - The 'Core' class has been removed. All its functions are now inside the CL3D namespace - Shaders in tutorial 5 have been updated to work with latest WebGL browsers. - Fixed a bug causing cursor keys not to work correctly with the AnimatorCameraFPS in Chrome, sometimes - Added a createClone() function to meshes to create a copy of a mesh |
|