|
|
Hello :-))
Shapes.inc again. Trying to have a look at
object {
HF_Square(
"f_noise3d(x*3, y*3, z*3)", // FunctionName
<-4,0,1>, // MnExt
< 4,1,4>, // MxExt
<10,10>, // Res
false, // Smooth
"" // FileName
)
pigment { Yellow }
}
I received this error:
Parse Error: Expected 'operator', ( found instead
in parse_string.tmp.
I think the code above should be valid... If not,
please forgive me, take my excuse and forget
about it.
By modifying the HF_Square macro a bit
#macro HF_Square(FunctionName, MnExt, MxExt, Res, Smooth, FileName)
//#local Function =
Parse_String(concat("function(x,y,z){",FunctionName,"(x,y,z)}"))
#local Function =
Parse_String(concat("function(x,y,z){",FunctionName,"}"))
I got it running...
Did I make any mistakes with the function declaration in
the code snippet above?
Greetings :-))
Thorsten
(3.5beta4, various systems, windows)
Post a reply to this message
|
|