1 - Write a program to create CSG models.
The program should accept csg expressions
in the infix format.
Example:
(s{1, 1, 1, 4} | ( s{3, 2, 1, 10} & s {1, 2, 3, 4}))
2 - Implement the operation "csg_classify" to test the containment
of points with respect to a CSG object.
2.1 - Write a program to compute the approximate volume of a csg model
using point sampling.
2.2 - Discuss the relation of resolution with error and convergency of the
method. Illustrate with experiments.
3 - Write a program to create a surface of rotation.
The program should read a 2D curve, and have as parameters, the axis
of rotation, the total angle of rotation, and the discretization
of the mesh.
4 - Compute the Normals and Texture Coordinates of the Generative Model.
Write the poligonal approximation mesh including this additional
information.