|
![](/i/fill.gif) |
Ok, I compiled it in this SparcStation and it seems to work.
The compilation was far from trivial, though. It could be nice if all those
//-comments were removed. They cause lots of problems.
Also a makefile would be nice.
There was an error point.c:
point.c:499: `false' undeclared (first use in this function)
The fractal patterns seem to work.
However I noticed that something weird happens with normals (as someone
else has already noticed). For example the following scene renders quite
weird and completely different from my original patch or the (fixed) uvpov 6.2.
The correct image can be seen in p.b.images (in a thread called "interesting
texture using the fractal patch" or something similar):
//-------------------------------------------------------------------------
camera { location -z*5 look_at 0 angle 35 }
light_source { <100,100,-20>, 1 }
box
{ <-2.5,-2,0><2.5,3.8,.1>
pigment
{ magnet1m 30 color_map
{ [0 rgb <1,.7,.3>][.5 rgb <.8,.4,.1>][1 rgb <1,.7,.3>]
}
fractal_exterior_type 6,.001
fractal_interior_type 1,200
translate <-2,-1,0> scale 10
}
normal
{ magnet1m 30 1 slope_map
{ [0 <1,0>][1 <0,-1>]
}
fractal_interior_type 1,200
translate <-2,-1,0> scale 10
}
finish { specular .5 }
rotate x*60
}
//-------------------------------------------------------------------------
I have not tried, but I suppose that this problem is not specific to
the fractal patterns. It just appeared first when I tried them.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |