|
|
On Sun, 09 Apr 2000 17:11:21 -0500, David Fontaine <dav### [at] faricynet>
wrote:
>> I've tried my hand at Ridged
>> Multi-fractals.
>
>What are those/how do you make them?
Using MegaPov0.4 they are a function to be used within the IsoSurface
object. To use them, you read the docs, gain as much comprehension as
an ant has of the Empire State building, and then start experimenting
with the parameters :-)
What they give you is the ability to create good terrain without
having to use height fields and their limitations (no height
quantizing, or large file sizes if you want a hugh terrain).
The code for the landscape follows.
#declare _landscape = function { "ridgedmf",<1,2,10,1.1,2> }
#declare landscape = isosurface {
function {
_landscape(x,0,z)-y
}
eval
accuracy 0.001
sign -1
contained_by { box { <-1000,-3,-1000> <1000,3,1000> } }
scale <4,1,4>
scale 1/3
texture { T_Landscape }
scale 3
scale 250
hollow
}
object { landscape }
The landscape is declared so that I can the use trace() to place
objects (and the camera) on it.
Hope this helps.
---
Justin Whitton
_/\__/ mail: jus### [at] rayjayclaracouk \__/\_
\/ \ web: www.rayjay.clara.co.uk / \/
Post a reply to this message
|
|