Monday, July 11, 2011

New Transformation Gizmo

I didn't get a whole lot done this week, but I started upgrading the transformation gizmo.  I originally had it as a model that is loaded for the current transformation type (arrows for movement, etc.).  Now I'm creating the mesh in the code, and changed the original style to the style used in most 3D editors.  For movement the gizmo is simply 3 lines with arrows on the end of each.  I didn't do this from the start because I was unsure of how to check if the user clicked on the gizmo, because they are lines.  But, now I make the model and make am mask to be used for mouse picking.  The rotation gizmo is almost done and that's the most difficult because it's a circle, so hopefully by the end of the day the gizmo will be done!

No comments:

Post a Comment