|
![](/i/fill.gif) |
Thanks to Christoph I kept at it with the idea of using the
Function(x,y,z).gray way. I was trying that too, like you James, and getting
a similar error as before, only about float instead of vector. I was being
real sloppy about all this at first anyhow so I redid the whole thing and
added a step between the function declaration and the macro. Fixed and is
fast, aside from increased parse time.
#include "shapes.inc"
#declare f_Image=function {
pigment {
image_map {
png "c:\images\test.png"
}
}
}
#declare Image=function {f_Image(x,y,z).gray} // needs this done ahead of
time
object {
HF_Sphere (Image, off, off, <100,100>, on, "", <0,0,0>, 0.9, 0.1)
pigment {rgb 1}
}
Post a reply to this message
|
![](/i/fill.gif) |