Week 6

GUI
Completely replaced GLUT with the new Qt System. The current GUI system includes a menu bar with a File Menu, Create Shapes Menu, Edit Shape Menu, and Help Menu. The File menu allows to exit the program. The Create Shapes Menu displays a list of shapes that can be created by editing the Create Shape dialogs with their specific values.  The Edit Shape menu allows editing of the currently selected object. A Light Listener is located on the right side of the application. This is similar to the previous version of GLUT.

New Light Listener
The new light listener looks like the old one except it utilizes Qt’s Color Dialog box, which enables the user to select their own color and pass it into OpenGL. I applied a color dialog to the diffuse, ambient, and specular colors. For the time being, I left out the spot light and attenuation from this version of the light listener. In the near future, I want to allow the light listener to be a separate window rather than a side dialog.

Create Shapes Dialogs
Each of the shape dialogs inherit from Qt’s dialog box. Default parameters have been placed to allow the user to enter their own values for the shapes. The shapes are created at the origin of the world. In the future, I would like to create shape dialog boxes for curves and surfaces.

Edit Shape Dialog
The edit shape dialog allows the user to edit the currently selected object. Currently, this allows to edit the default geometry-derived items, such as translation, rotation.

Picking
Still working on picking / selection. The current version adds the concept of applying camera transformation to the pickmatrix because the camera could be anywhere in the world. This version allows picking the sky and the ground, but no other objects because they take precedence in the zvalue. The next step is to find a way to pick the appropriate object based on camera position. This could include the camera’s z position and comparing that to the buffer.

Weekly Notes
Project-specific sections:

> Week 1 Notes
> Week 2 Notes
> Week 3 Notes
> Week 4 Notes
> Week 5 Notes
> Week 6 Notes
> Week 7 Notes
> Week 8 Notes
> Week 9 Notes
> Week 10 Notes
> Week 11 Notes
> Week 12 Notes
> Week 13 Notes
> Week 14 Notes
> Week 15 Notes
> Week 16 Notes
> Week 17 Notes
> Week 18 Notes
> Week 19 Notes
> Week 20 Notes

Home | About Raina3D | About Us | Thanks | Contact
Copyright (c) 2005-2009 Raina3D All rights reserved.