+ All Categories
Transcript
Page 1: A graphic library and an application for simple curve manipolation

Principles of computer graphics Final project assignment – Michele Segata

Page 2: A graphic library and an application for simple curve manipolation

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

Page 3: A graphic library and an application for simple curve manipolation

A first screenshot before starting

Page 4: A graphic library and an application for simple curve manipolation

Application architecture

Page 5: A graphic library and an application for simple curve manipolation

Picking procedure

Page 6: A graphic library and an application for simple curve manipolation

Application with background image

Page 7: A graphic library and an application for simple curve manipolation

Sampling of a picture

Page 8: A graphic library and an application for simple curve manipolation

Application with sampled points

Page 9: A graphic library and an application for simple curve manipolation

Tools used

"   Only OpenGL and the graphic library developed for first assignment

"   Why? For fun and better understanding

Page 10: A graphic library and an application for simple curve manipolation

First assignment – Brief description

"   gl_2d_geometry.h

"   gl_3d_geometry.h

"   gl_curve.h

"   gl_material.h

"   gl_mempool.h

"   gl_mesh.h

Page 11: A graphic library and an application for simple curve manipolation

First assignment – Brief description (2)

"   gl_mouse.h

"   gl_physic.h

"   gl_physic_law.h

"   gl_printf.h

"   gl_rendering.h

"   gl_scenegraph.h

Page 12: A graphic library and an application for simple curve manipolation

First assignment – Brief description (3)

"   gl_selection.h

"   gl_tga.h

"   gl_transformation.h

"   gl_util.h

Page 13: A graphic library and an application for simple curve manipolation

First assignment – Few screenshots

Convex hull example

Page 14: A graphic library and an application for simple curve manipolation

First assignment – Few screenshots

Solid pyramid with 3 different normals algorithms

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

Page 15: A graphic library and an application for simple curve manipolation

First assignment – Few screenshots

Spheres at different resolutions

Page 16: A graphic library and an application for simple curve manipolation

First assignment – Few screenshots

Automatic texture application on sphere


Top Related