To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 353
352  |  354
Subject: 
Re: boat wake/water help
Newsgroups: 
lugnet.cad.ray
Date: 
Sat, 20 May 2000 23:01:50 GMT
Viewed: 
1068 times
  
In lugnet.cad.ray, Greg Bollrud writes:
I have tried a few of the water rendering demos, but i can't get them
to work.

To make realistic water with povray you have first to define the water texture:
#declare GWater =
texture {
    pigment{ rgbf <0.0, 0.0, 1.0, 0.9> }
    normal {
        bumps 0.4
    }
    finish {
        reflection 0.3
        refraction 0.5
        ior 1.33
    }

}

This texture is transparent ( 0.9 in the pigment line means 90% transparency).
Then you need a plane to use for the water:
plane { -y,-200
        texture {GWater scale 100}
        }

Bacause the water texture is transparent you need to add another plane with
solid texture below the first. Thats the bottom of the ocean:
plane { -y,-1000
        texture {pigment {color <0.2, 0.4, 0.7> } }
        }

You also need to define a sky that is reflected on the water:
#include "skies.inc"
sky_sphere { S_Cloud1 }

Take a look at the Hydroplane at:
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=212
I used the above code to make the sea.

George



Message is in Reply To:
  boat wake/water help
 
How can I add a wake to make my boats look like they are moving? I have tried a few of the water rendering demos, but i can't get them to work. I filled in the background with Photoshop, but I know it could look a lot better. (URL) an Ohio Class (...) (25 years ago, 19-May-00, to lugnet.cad.ray)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR