Skip to content

gabriel-ramos44/cg-3d-modeler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer graphics

An elementary 3D modeler, where object modeling is performed using the revolution technique and rendered following Computer Graphics class pipeline. Test it Here!

To do

  • Create 3D objects by revolving 2D profiles (generatrices) provided by the user. These profiles can have varying numbers of slices. Present the resulting objects using the wireframe technique with surface occlusion (using the painter’s algorithm associated with visibility calculations based on normals).

  • Present the modeled 3D objects (two or more) in a single window using either parallel or perspective projection, based on the user’s choice. Utilize this single window to showcase the objects using different shading techniques to be implemented.

  • Geometrically transform the object by applying translations and rotations along the x, y, and z axes. Additionally, perform uniform scaling with the same factor across all three axes.

  • Display the 3D object using constant shading, incorporating surface occlusion (including the z-buffer algorithm).

  • Present the 3D object using Gouraud shading, again with surface occlusion (including the z-buffer algorithm).

  • Showcase the 3D object using simplified Phong shading, while still considering surface occlusion (including the z-buffer algorithm).

  • Ensure that all parameters related to camera settings, window configuration, viewport, lights, and materials composing the objects are editable by the software user during runtime.