Sunday, August 28, 2011

3d – modeling of a bridge.(In JAVA) Compute Graphics projects



The object contains 2  walls with bulged structure and a floor. Use the navigation keys to rotate the object.  It implements the basic knowledge of the Computer Graphics, i.e
a.      Rotation
b.     Translation
c.      Shearing
d.     scaling
e.     Illumination
f.       View co-ordinates
The keys are the four arrow keys. As normal the respective keys changes the position of the camera or the eye, let’s say the view point. Then the object moves correspondingly. Don’t get surprised that when you press left key, the object will move right. Actually the camera is moving,  When you move your eye-point to the left , then the object will move to the right.
Use  W,A,S,D to rotate the object in either clock wise or anti-clock wise direction in horizontal or vertical axis.
Project Dissection
The Snapshot of the file system of the project is:
This project contains of 14 classes wrapped up in 6 packages. They are:
1.     Hidden Surface
A.     Visibility.java
2.     Rendering
A.     CosineLambert.java
3.     bridge.view
A.     Bridge.java
B.     Main.java
C.     MainFrame.java
4.     Core
A.     Edge.java
B.     Surface.java
C.     Vertex.java
5.     geometry
A.     Projection.java
B.     Translation.java
C.     ViewCordinate.java
6.     Math
A.     MyMath.java
B.     MyMatrix.java
C.     MyVectot.java


Each Classes are described below::
To view the details of classes, go to "Projects "  tab above or CLICK HERE.

No comments: