Вы находитесь на странице: 1из 23

3D TRANSFORMATIONS

By, S.Tejaswini 160609737047

ABSTRACT
The 3D object is evolved from a 2D object to increase the visualizing effects . Mathematical operations performed on 3D objects are known as 3D transformations. The basic idea behind developing a 3D object is to enhance the quality of a picture , by adding the depth of the object , which was lacking in case of 2D transformations

ABSTRACT
To represent a 3D object mathematically, it needs to be defined in terms of 3dimensional vertices. 3-dimensional vertices consist of 3 values representing the point's position with respect to three axes (x, y, z). The z axes included to represent the depth of the object On a computer, this data is stored in a 4x1 matrix because 3D transformations require transformation matrices that are 4x4.

ABSTRACT
Since we only ever have 3 values, the fourth value is always 1. For the purpose of viewing 3D representation it should be converted into a 2d representation. There are four methods of projecting 3D image on to a 2D plane. They are Orthognal projection

ABSTRACT
Oblique projection Isometric projection Perspective projection There are two types of 3D reference system according to the orientation for the coordinate axes:

ABSTRACT
Right hand system Left hand system

3D transformations are : 1.Translations 2.Rotation 3.scaling

INTRODUCTION
In this project 3D transformations that is translation, scaling, rotation can be performed on the given object. Translation :In this an object is displaced a given distance and direction from its original position. Rotation: In 3D rotation has to be carried out about any axis or any arbitrary line i.e rotation about x-axis , y-axis and z-axis.

INTRODUCTION
Scaling: scaling is the process of expanding and compressing the dimensions of an object. Scaling constants Sx,Sy and Sz are used to describe changes in length with respect to each direction. In this project an object is provided on which the transformations will be performed. The user can select the type of the transformation that he want to perform.

SYSTEM REQUIREMENTS
SOFTWARE REQUIREMENTS: jdk1.6

HARDWARE REQUIREMENTS: Operating system-windows xp Processor-Pentium dual core Ram-1gb

SOFTWARE REQUIREMENTS
The project requires an object on which the transformation should be performed The user should select the type of the transformation that he/she wants to perform by clicking the buttons The transformed object is displayed after selecting the type of the transformation

E-R DIAGRAM
Y-axis X-axis Z-axis

Y-axis
X-AXIS

Y-axis
ROTATION X-axis

Z-axis

Z-axis

TRANSLATION

SCALING

TRANSFORMATION

USECASE DIAGRAM
Translation

rotation administrator scaling

user

CLASS DIAGRAM

administrator

X-axis :int Y-axis:int Z-axis:int Angle:degree


Translation() Rotation() Scaling()

1 Collecting transformation Selecting transformation()

user

OUTPUT SCREENS

translate

Rotation about x-axis

Roation about y-axis

Rotation about z-axis

scaling

CONCLUSION
I conclude that in this project, I have perform the basic 3D transformations of computer graphics on an object with user interaction .The transformations that, I have implement in this project are translation, scaling, rotation about x-axis y-axis and z-axis .

FUTURE SCOPE
This can be further developed by combining these transformations to obtain more complex transformations. The project can be developed to take values of x-axis, y-axis, and z-axis for performing transformations from the user. And can add color to the object.

REFERENCES
1. www.1000projects.com 2. www.google.com

THANK YOU

Вам также может понравиться