Principles of computer
graphics
Final project assignment – Michele Segata
The project
Develop an application to

•  Draw and manage different type of curves (control
    points dragging, use of co...
A first screenshot before starting
Application architecture
Picking procedure
Application with background image
Sampling of a picture
Application with sampled points
Tools used
"   Only OpenGL and the graphic library developed for
   first assignment

"   Why? For fun and better understa...
First assignment – Brief description
  "   gl_2d_geometry.h

  "   gl_3d_geometry.h

  "   gl_curve.h

  "   gl_material.h...
First assignment – Brief description (2)
    "   gl_mouse.h

    "   gl_physic.h

    "   gl_physic_law.h

    "   gl_prin...
First assignment – Brief description (3)
    "   gl_selection.h

    "   gl_tga.h

    "   gl_transformation.h

    "   gl...
First assignment – Few screenshots




          Convex hull example
First assignment – Few screenshots




(a) Face normals   (b) Vertex normals    (c) Mixed approach



     Solid pyramid w...
First assignment – Few screenshots




        Spheres at different resolutions
First assignment – Few screenshots




     Automatic texture application on sphere
Upcoming SlideShare
Loading in …5
×

A graphic library and an application for simple curve manipolation

1,496 views

Published on

In this report I am going to describe the implementation of a simple curve manipolation application, developed as a ful lment of the second project for the course of Principles of Computer Graphics. The report is organized as follows: Section 1 introduces the problem and what the application should implement, Section 2 describes the architecture of the program, Section 3 explains some foundamental parts of the source code and nally Section 4 illustrates how to use the application together with some screenshots and examples.

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,496
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

A graphic library and an application for simple curve manipolation

  1. 1. Principles of computer graphics Final project assignment – Michele Segata
  2. 2. The project Develop an application to •  Draw and manage different type of curves (control points dragging, use of composite curves, etc…) •  Put an image as background to see which curve is best suited •  Use a file as a source of points and display the curves using those points
  3. 3. A first screenshot before starting
  4. 4. Application architecture
  5. 5. Picking procedure
  6. 6. Application with background image
  7. 7. Sampling of a picture
  8. 8. Application with sampled points
  9. 9. Tools used "   Only OpenGL and the graphic library developed for first assignment "   Why? For fun and better understanding
  10. 10. First assignment – Brief description "   gl_2d_geometry.h "   gl_3d_geometry.h "   gl_curve.h "   gl_material.h "   gl_mempool.h "   gl_mesh.h
  11. 11. First assignment – Brief description (2) "   gl_mouse.h "   gl_physic.h "   gl_physic_law.h "   gl_printf.h "   gl_rendering.h "   gl_scenegraph.h
  12. 12. First assignment – Brief description (3) "   gl_selection.h "   gl_tga.h "   gl_transformation.h "   gl_util.h
  13. 13. First assignment – Few screenshots Convex hull example
  14. 14. First assignment – Few screenshots (a) Face normals (b) Vertex normals (c) Mixed approach Solid pyramid with 3 different normals algorithms
  15. 15. First assignment – Few screenshots Spheres at different resolutions
  16. 16. First assignment – Few screenshots Automatic texture application on sphere

×