Working on creating bucky ball functionality within the wigwam applet. This functionality is based on functionality for creating circles on the 3d graph display. This required the following steps completed over the course of the week:
1. review Bresenham's algorithm for selecting pixels to approximate circular arcs. Using the following text as reference: Computer Graphics for Java Programmers
2. review concepts for creating 3d perspective (as opposed to 2d graphics). Using same text as above as reference.
3. review concepts for creating 3d perspective using jogl library. Using the following text as reference: Foundations of 3D Graphics Programming Using JOGL and Java 3D
4. review wigwam code for creating arcs (specifically the drawArc function of the WigWam class). This is where the meat of the arc point calculations are performed.
Looking to leverage this code to create circular arcs, then create circular arcs of different angles of rotation about the z axis.
No comments:
Post a Comment