Ray Tracing


Creating this set of applets allowed me to learn a little bit about ray-tracing (no reflection) and to play around with noise. I just experimented with various mathematical expressions involving the noise function and the normal vectors to make the shading effects. The applets themselves show the vertices of Platonic solids, the vertices being spheres shaded in interesting ways.


Source: PixApplet.java  ImprovedNoise.java  TetrahedronApplet.java  CubeApplet.java  OctahedronApplet.java  DodecahedronApplet.java  IcosahedronApplet.java  Matrix4x4.java  Matrix.java  Shape.java  Sphere.java 
BACK