Open main menu

CDOT Wiki β

Canvas3D Picking

Revision as of 00:35, 14 November 2008 by Pplam3 (talk | contribs)

Name of Project

Canvas 3D - Picking


To put the project description simply, what it does is that when you click in Canvas 3D, you will select the object that is in the most front in the current camera angle you are looking at. So the details of this Picking project is this:

  • Convert the mouse coord in Windows to Canvas coord
  • In the current scene, find all objects that intersect where the mouse is clicked
  • Find the object closest to the camera from the list of intersecting objects


Project Contributor(s)

  • Andor Salga
  • Catherine Leung


  • A sample canvas 3d demo with multiple objects in it at different depths (or just random positions) from the camera (current view/scene)


0.2 - Nov 18th


  • Make functions that will help complete the project
    • Model.getVertices() which returns a reference of all the vertices in the object
    • Mouse coord convert: converting the mouse coord in Canvas coord
    • Other functions that might come up

0.3 - Dec 1st


  • Have the project working or at least close to working (with few minor bugs)

Project Updates

Nov 18, 2008

  • Created Wiki Page

Nov 17, 2008

  • Discussed ideas to do the project
  • Set goals for releases
  • Got Canvas 3D Library source and IDL