Open main menu

CDOT Wiki β

Changes

Canvas3D JS Library

4,081 bytes removed, 13:10, 8 April 2009
Bug List
== Bug List ==
 
* Cube
** setDims function does change the vector holding the cube's dimensions but the vector is not used to change the actual size or shape of the cube.
** <del>the rotation function has a problem. I think its because the axis isn't being orthonormalized properly after a rotation. This is causing distortions and worse... it will eventually lead to an object's implosion/explosion. This can be very easily seen when you look increase the angular velocity. Definitely should be fixed.</del>
* Camera
* setLookAtPoint - May 14** Added Sept 3Objects at 0,0, 2008 - The setLookat 0 are not displayed when setLookAtPoint is broken when using the vector of passed ( 0, -10, 0 ). I haven't confirmed However, if this is intended functionalitycalled with cam. setLookAtPoint( Chris )** When increasing or decreasing the X Axis for the camera's position it does move in the current direction but also starts to rotate around the vector new Vector(0.0,0.0,0.00000001)) , it will work.** Rotate function is still broken
* Collada
** fix FindNode for Collada's scenegraph.
* Rendering** <del>( The depth buffer is not working, objects aren't properly occluded.)[http://matrix.senecac.on.ca/~asalga/canvas3d/teapot.jpg teapot handle drawn after teapot body] The rendering of objects seems to be based on their order in the object list in the scene. The problem arises when a cube is behind another cube. The cube in the back should only have the parts showing drawn, however if this cube is drawn after the closer cube then the behind cube is drawn on top of the closer cube. Hard to describe.</del> FIX: Enabled the depth buffer and properly cleared the depth buffer by passing in the correct argument to clear(...)** When I open main.js, then put the mac to sleep, then wake it up: i get a fast stream of js errors in the console, canvas warnings on the page, and no rendering is done.* Linear Velocity** <strike>Setting the Linear Velocity does not do anything.</strike>* Cube** <strike>setDims uses obsolete Vector function - setFromVector</strike>* setLookAtPoint - May 14** Objects at 0,0,0 are not displayed when setLookAtPoint is passed (0,0,0). However, if called with cam.setLookAtPoint(new Vector(0.0, 0.0, 0.00000001)) , it will work.* Scene Object** <del>Currently you can only have 1 scene. There is a global var called thisScn, does this reallly need to be global? Can it not be a local variable?</del> thisScn was made into a local variable call getScene() to get thisScn.** Currently the scene cannot be resized. The 3d graph needed the scene to grow or shrink with respect to the table cell it was in. The needed functions has unofficially been added to a copy of Scene.js used only by the 3d graph demo.** Add functions to start and stop animations ( start and stop the scene timer ).** Callback functions for Update / Keyboard / Mouse can be set but cannot be unset.* Primitive Object** The render function uses obsolete Vector Functions.** <del>All Get functions have obsolete Vector functions ex. getX()</del>** <del>The update function has obsolete Vector function ( Multiply ).</del> obsolete code was replaced with new code. * Textures** <del>textures are not always displayed. Seems like textured object needs to be moving or at least another object in the scene needs to be moving.</del> FIX: Scene was rendering only one frame if nothing moved, but the textures are loaded after the scene is rendered, so objects were not textured. Now scene renders regardless if objects move or not.** <del>very strange bug, when creating a texture in ms paint and a the entire texture is one solid color, the browser will crash as soon as the image is loaded. If there is at least one pixel which is not the color of the 'solid color', there are no problems. Likely due to the format openGL is expecting the file to be.</del> FIX: Vlad fixed this in the canvas3d extension.** <del>not a bug, but the context should not be passed into the Texture's setTexture method.</del> Model.setTexture() changed.** <del>if two contexts are used, 2.0 and 1.1, textures in 1.1 don't appear.</del>* Model Object** When applying a texture to a cube some of the faces are upside down.** The primitive functions are not working. The update or render of the primitive object appears to not be called.* General** Currently attempts to use an 'out' variable to prevent memory allocations do not work. see [http://www.c3dl.org/index.php/c3dl-dev/more-memory-usage-improvements/ link]
** Fix angular velocity/gc bug. If object is set to spin on more than one axis, its angular velocity will change when the gc starts.
** Same linear velocity for Models and Collada objects makes one type 'overtake' the other.
1
edit