POV-Ray : Newsgroups : povray.advanced-users : underwater : Re: underwater Server Time
30 Jul 2024 08:17:58 EDT (-0400)
  Re: underwater  
From: Brendan Orr
Date: 30 May 2000 01:10:05
Message: <39334d2d@news.povray.org>
Have you noticed that there are all those responces for this one question,
yet they don't pretain to making an under water scene.

Robert, if you want a simple, yet realistic scene try the following:

camera{
    location <0,-1,1>
    look_at <0,-1,0>
}

light_source{
    <1000,1000,1000> // Supposed to be the sun
    color <1,1,1>
}
fog{
    distance 125
    color blue 0.5
    turbulence 0.5
}

plane{
    y,0  // The water
    pigment{
        color rgbf <1,1,1,1>
    }
    interior{
        ior 1.33 // The index-of-refraction of water
        caustics 1 // To give the bright-spots on the ocean floor
    }
    hollow
}

plane{
    y,-5
    pigment{
        color <1,1,1>
    }
    hollow
}

A somewhat basic underwater scene.  If you are using POV-Ray for windows,
click the word that you don't understand and hit CTRL+F1(after you have
copied the above scene into POV-Ray).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.