prev index next |
Modelling
Tips, Working With Primitives
|
POV-Ray Tips,
Tricks, and Techniques |
Height_Fields
+ Geographic Content?
|
Roy Willy Haug is looking for realism: | I know POV-Ray can create 3D terrain from heightfields.
Is it possible to display textures or colors for lakes, woods, rivers and
other geographic information with _correct placement_ in the 3D terrain?
|
|
David J. Carlyon has a suggestion:
|
If I understand your question correctly, then yes, it's
possible in POV-Ray. Something I've been playing with lately is making
images in Photoshop (the clouds and difference clouds filters work well
for this) for heightfields. I make two versions of the same image, one
greyscale, just to make it easier to see what I'm going to end up with
for the heights, and one version in color. I use the greyscale for the
heightfield, and the color version for an image map for that heightfield.
If you do it right (and it's tricky, but then again, so's everything else
at first), and have the size and alignment correct, it should work.
|
|
and Kerwin D Kanago adds: | You might also try this using a height field and an image
map created by rendering two POV-Ray files derived from the same basic
file/pattern.
Take the two files below, render each of them and use the imagemap file as pigment for a height field. --> Not very artistic but you-can-get-the-idea code follows. <--
******* im.pov
******* stick this in your "real" pov file
scale <5,2,5>
|
|