|
|
On Wed, 13 Feb 2002 22:00:11 -0600, "Patrick Dugan" <pat### [at] netinsnet>
wrote:
> I am trying to translate a Megpov statement:
> #declare f = function{"ridgedmf" <1, 2, 5, 1, 1>}
> to a Povray 3.5 statement:
> #declare f = function {f_ridged_mf (1,2,5,1,1) }
> Povray says "expected operator ( found instead."
1. Add "functions.inc" at begining of your script
2. f_ridged_mf function require nine parameters
// Parameters: x, y, z
// Six extra parameters required:
// 1. H
// 2. Lacunarity
// 3. octaves
// 4. offset
// 5. Gain
// 6. noise
while in megapov
// P0 'H'
// P1 'Lacunarity'
// P2 'Octaves'
// P3 'Offset'
// P4 'Gain'
Additional parameter in 3.5 "noise" is number of noise generator (integer
value in range 0..3).
Note1: type name of function and use context help on its name - you can read
explanation within documentation.
Note2: if you want fast proper typing of function with correct parameters then
use my Insert Menu Bonus Pack (it contains previews) - available at:
http://www.abx.art.pl/pov/bonus/pack.php
ABX
Post a reply to this message
|
|