1 / 14

3D Paint Brush

3D Paint Brush. Reza Ghaffaripour Ziaul Hoque Sikder. Opening: . 2D Programming 3D Programming. 3D Programming. 3D to 2D Projection Transformations Rotation View Point,Light. 3D to 2D Projection. (x,y,z)  (x’,y’) How to ?. x’ = x / z y’ = y / z. Transformation.

tristessa
Download Presentation

3D Paint Brush

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3D Paint Brush Reza Ghaffaripour Ziaul Hoque Sikder

  2. Opening: • 2D Programming • 3D Programming

  3. 3D Programming • 3D to 2D Projection • Transformations • Rotation • View Point,Light

  4. 3D to 2D Projection • (x,y,z)  (x’,y’) How to ? x’ = x / z y’ = y / z

  5. Transformation Transformation of (x, y, z) to (x', y', z') (Tx,Ty,Tz) is transformation vector

  6. Rotation Rotation of (x, y, z) around the x-axis, gives (x', y', z')

  7. View Point,Light

  8. Our Problems • Long coding • Implementation of Rotation,Transformation,… • Matrix Calculations • Adding Texture • Speed • Graphics Card Dependency

  9. OpenGL Graphics Engine • Is a software interface • Is to render 2D and 3D objects • Things are vertices (which define geometric objects) or pixels (which define images)

  10. Rotation In OpenGL The function glRotate ( angle , x , y , z ) multiplies the current matrix by a rotation matrix about the vector from the origin through the point (x,y,z)

  11. File Model

  12. Object Model

  13. Source code Model

  14. Use Case

More Related