|
![](/i/fill.gif) |
// Needs Superpatch
#version 3.1;
#include "colors.inc"
global_settings
{
assumed_gamma 1.0
max_trace_level 15
}
// ----------------------------------------
camera
{
location <0.0, -0.50, -13.5>
look_at <0.0, 3.0, 0.0>
}
sky_sphere
{
pigment
{
gradient y
color_map { [0.0 color rgb<1,1,1> 0.1] [1.0 color rgb<0.75,0.75,1> ] }
}
}
light_source { <0, 250, 1550> color rgb <2, 2, 2>} 255
light_source { <0, 300, -1550> color rgb <.2, .2, .2>}
#declare Water_on = 1;
#if(Water_on =1)
#declare spume =
re{
pigment {bozo pigment_map {
[0.0 bozo color_map {[0 rgbt 1]}]
[1 crackle color_map {[0.0001 rgb 2.5 ] [1 rgbt 1 ]}scale .5 turbulence
0.3]}
scale .17
} // end of pigment map
finish{ambient 0.3 diffuse 0.5}
}
#declare Water_spume = texture{
slope 3*y,y
texture_map{
[0.9 pigment{color rgbt<1,1,1,1>}]
[1 spume ]
}
}
#declare WaterMat = material{
texture {
pigment {color rgbt <0,0.375,0.375>}
normal { crackle .25 form<1,0,0> scale.06 scale<1.5,1,1>}
finish {
reflection 0.1
phong 1
phong_size 100
}
}
}
#declare Water =
height_field{gif "Water hf test9.gif"
inverse
smooth
translate <-.5,0,-.5>//center main tile
hollow
}
object{Water scale <100,1.5,60>
material{WaterMat}
translate<-13.5,-1.65,0>
}
object{Water scale <100,1.525,60>
texture{Water_spume}
translate<-13.5,-1.6485,0>
}
#end
Post a reply to this message
Attachments:
Download 'sea3.gif' (65 KB)
Preview of image 'sea3.gif'
![sea3.gif](/povray.binaries.scene-files/attachment/%3C37134a09.0%40news.povray.org%3E/sea3.gif?ttop=441393&toff=1400&preview=1)
|
![](/i/fill.gif) |