Skip to content


CG2 Project Progress

A report on the progress made on the CG2 project.

Height Field

Create a reasonable height field that can be used to represent a virgin snow-covered plane. Three height field generation methods have been created:

  • A simple flatField(x,y,h) that returns a height field that is x by y in size and with a height of h. This is basically just a test method that reduces the visual complexity of the image while debugging other parts of the code.
  • A Perlin noise height field generated using the noise function from cgkit. Also has x, y, and h parameters.
  • A more complicated method that essentially enforces a max gradient between two adjacent cells.

Object In Snow

Place a simple ob ject in the snow to see the deformation work. A cube has been put into the snow so far. The contour algorithm took longer than expected and it is still a pretty imperfect implementation.

Pictures!

… can be viewed here.

Tagged with programming, school.