Subject:
|
Re: More LDRAW renderings
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sun, 2 Apr 2000 21:28:52 GMT
|
Viewed:
|
1696 times
|
| |
| |
GeoMan skrev i meddelandet ...
> The water needs some tweaking too ...
You can see my water at http://user.tninet.se/~hbh828t/povsink.htm
(Designed for POVRay version 3.0 - might need '#version 3.0' to silence some
error messages in 3.1, I haven't tested...)
It consists of two parts - first a plane with ripples:
-8<------------------------------------------------------
//the water plane
plane {-y, 0
pigment {color rgbt <.1, .4, .1, .6>}
finish {phong 1 phong_size 90 diffuse 0
reflection .5
refraction 1 ior 1.33
}
normal {
ripples
scale 8000
frequency 500
}
halo {
glowing
constant
poly
samples 2
color_map {
[0 color rgbt <0.1, 0.1, 0.1, .975>]
[1 color rgbt <0.1, 0.1, 0.1, .975>]
}
}
hollow
}
-8<------------------------------------------------------
and then a height field for making 'real' waves around the models:
-8<------------------------------------------------------
/* Water */
height_field {
tga "image.tga"
smooth
pigment { color rgbt <0.1,0.1,0.1,0.6> }
finish {
ambient 0
diffuse .1
// crand 0.03
// specular 0.25
// roughness 1.8
reflection 0.5
refraction 1
ior 1.3
}
rotate <180, 50, 0>
scale <3000, 100.0, 3000>
translate <400,40,2400>
}
// You can play with the commented lines to change the appearance
-8<------------------------------------------------------
You'll also need a nice height field, unfortunately I've lost mine, but if I
remember correctly, I just used the example on height fields from the POV
documentation.
The whole .pov file should be at http://user.tninet.se/~hbh828t/dat/sub10.zip
(and the older version as sub6.zip) - I'm not on-line when writing, so I
cannot check.
I have also used these fragments for snow drifts...
--
Anders Isaksson, Sweden
BlockCAD: http://user.tninet.se/~hbh828t/proglego.htm
Gallery: http://user.tninet.se/~hbh828t/gallery.htm
|
|
Message has 1 Reply: | | Re: More LDRAW renderings
|
| (...) Thanks for the advise. I noticed the command Halo in your code. Halo is not supported in PovRay 3.1. Instead i have to experiment with the Media command. George (25 years ago, 2-Apr-00, to lugnet.cad.ray)
|
Message is in Reply To:
| | Re: More LDRAW renderings
|
| (...) I am using two fill lights on both sides of the castle with values 0.5*<1,1,1> and the front light has a value of 2*<1,1,1>. That's why the shadows are so hard. Next time i'll try area lights... (...) I am using the tomtree.inc. You can find (...) (25 years ago, 2-Apr-00, to lugnet.cad.ray)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|