3d transformations.ppt (2)

Upload: sudam-avinash

Post on 05-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 3d Transformations.ppt (2)

    1/23

    3DTRANSFORMATIONS

    By,

    S.Tejaswini

    160609737047

  • 7/31/2019 3d Transformations.ppt (2)

    2/23

    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

  • 7/31/2019 3d Transformations.ppt (2)

    3/23

    ABSTRACT

    To represent a 3D object mathematically, itneeds to be defined in terms of 3dimensionalvertices.

    3-dimensional vertices consist of 3 valuesrepresenting the point's position with respectto 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 requiretransformation matrices that are 4x4.

  • 7/31/2019 3d Transformations.ppt (2)

    4/23

    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

  • 7/31/2019 3d Transformations.ppt (2)

    5/23

    ABSTRACT

    Oblique projection

    Isometric projection

    Perspective projection There are two types of 3D reference system

    according to the orientation for the coordinate

    axes:

  • 7/31/2019 3d Transformations.ppt (2)

    6/23

    ABSTRACT

    Right hand system

    Left hand system

    3D transformations are :

    1.Translations

    2.Rotation3.scaling

  • 7/31/2019 3d Transformations.ppt (2)

    7/23

    INTRODUCTION

    In this project 3D transformations that istranslation, scaling, rotation can be performedon the given object.

    Translation :In this an object is displaced agiven distance and direction from its originalposition.

    Rotation: In 3D rotation has to be carried outabout any axis or any arbitrary line i.erotation about x-axis , y-axis and z-axis.

  • 7/31/2019 3d Transformations.ppt (2)

    8/23

    INTRODUCTION

    Scaling: scaling is the process of expandingand compressing the dimensions of an object.Scaling constants Sx,Sy and Sz are used to

    describe changes in length with respect toeach direction.

    In this project an object is provided on whichthe transformations will be performed.

    The user can select the type of thetransformation that he want to perform.

  • 7/31/2019 3d Transformations.ppt (2)

    9/23

    SYSTEM REQUIREMENTS

    SOFTWARE REQUIREMENTS:

    jdk1.6

    HARDWARE REQUIREMENTS:

    Operating system-windows xp

    Processor-Pentium dual coreRam-1gb

  • 7/31/2019 3d Transformations.ppt (2)

    10/23

    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

  • 7/31/2019 3d Transformations.ppt (2)

    11/23

    E-R DIAGRAM

    TRANSFORMATION

    TRANSLATION

    ROTATION

    SCALING

    X-AXIS

    Y-axis

    Z-axis

    X-axis

    X-axis

    Z-axis

    Y-axis

    Y-axis

    Z-axis

  • 7/31/2019 3d Transformations.ppt (2)

    12/23

    USECASE DIAGRAM

    Translation

    scaling

    rotation

    useradministrator

  • 7/31/2019 3d Transformations.ppt (2)

    13/23

    CLASS DIAGRAM

    user

    Selecting

    transformation()

    administrator

    X-axis :intY-axis:int

    Z-axis:int

    Angle:degree

    Translation()

    Rotation()Scaling()

    Collecting

    transformation

    1 1

  • 7/31/2019 3d Transformations.ppt (2)

    14/23

    OUTPUT SCREENS

  • 7/31/2019 3d Transformations.ppt (2)

    15/23

    translate

  • 7/31/2019 3d Transformations.ppt (2)

    16/23

    Rotation about x-axis

  • 7/31/2019 3d Transformations.ppt (2)

    17/23

    Roation about y-axis

  • 7/31/2019 3d Transformations.ppt (2)

    18/23

    Rotation about z-axis

  • 7/31/2019 3d Transformations.ppt (2)

    19/23

    scaling

  • 7/31/2019 3d Transformations.ppt (2)

    20/23

    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 inthis project are translation, scaling, rotation

    about x-axis y-axis and z-axis .

  • 7/31/2019 3d Transformations.ppt (2)

    21/23

    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.

  • 7/31/2019 3d Transformations.ppt (2)

    22/23

    REFERENCES

    1. www.1000projects.com

    2. www.google.com

  • 7/31/2019 3d Transformations.ppt (2)

    23/23

    THANK YOU