Changes

Jump to: navigation, search

Canvas3D Picking

1,462 bytes added, 13:11, 13 January 2009
January 2009
=== 0.3 - Dec 12th ===
==== Goal (Done) ====* Have Modified the project working or at least close Model.js to working include the following 2 functions** getVertices(with few minor bugs): returns the vertices of the object** getBoundingBox(aabb): Returns an array of the min/max XYZ values for the bounding box after it's been scaled* Made Picking.js** Disabled right-click menu on canvas** Creates the mouse vector from the camera to the far clipping plane*** 2 main variables: Mouse Origin and Mouse Direction Vector** Ray-Bounding Box Intersection Test*** Takes the min/max XYZ values of the bounding box, mouse origin and direction vector*** Returns true if intersect*** Need to transform the mouse origin and direction vector into the object's space before performing test** Sorts the intersecting objects from closet to furthest from the camera** Returns an array of object index in the sceneUpdated Class File and Model File Found Here: [[media: Picking2.zip | Picking.js]], [[media: Model2.zip | Model.js]]<br/> The picking function will be part of the next release of the canvas 3D library.
== Project Updates ==
=== January 2009 ===
<i>Jan 9, 2008</i>
* Project is finish
** Triangle Test is implemented
** Completed version of [[media:picking(complete).zip | picking]]
** Triangle Test will be implemented to work with collada objects
 
=== December 2008 ===
<i>Dec 11, 2008</i>
** Fixed bounding box bug: there were blind spots when objects are rotated
* Skype Meeting
** Picking function will be released with just the bounding box test for now
** Can continue working to improve the picking function after - triangle test
** Possible project for next term is Collision Detection
* 0.3 Released and [[http://pplam3.blogspot.com/2008/12/03-goals-met-release.html blogged]]
<i>Dec 10, 2008</i>
* Worked with Andor
1
edit

Navigation menu