Raytracing fun with Moray and POV

A strange structure in the ocean. Click to enlarge, then click on it again for a bigger one.



And here’s a variation after making a “bug fix” and a couple of small changes.


I just figured out one way of doing water – I was inspired by this fragment from caustic.pov in the POV distribution.


// The water surface
plane { y, 10
    hollow on
    pigment { red 0.7 green 0.7 blue 1.0 filter 0.9 }
    finish {reflection 0.7 }
    interior { ior 1.1 caustics 1.0 }
    translate <5, 0, -10>
    normal { bumps 0.5 }
}

I also found an interesting use for “UDO”’s (user defined objects) in Moray – for something complicated you can set it up so Moray has a simple wireframe to display and manipulate, but POV gets an arbitrarily complicated object.

Leave a Reply »»