|
![](/i/fill.gif) |
I've taken and modified the Reflect function so I can pass it a pointer to a
finish like this
static void Reflect(VECTOR IPoint, RAY *Ray, VECTOR Normal, VECTOR
Raw_Normal, COLOUR Colour, DBL Weight, FINISH *Finish)
however whenever I pass anything besides a NULL pointer as the finish
parameter when POV-Ray reaches the object, it crashes and displays a message
about an error reading memory. Any thoughts on why it is doing this? I've
never encountered a problem like this and any assistance would be greatly
appreciated.
Thanks
--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr(
"oqshilacefg",r,1))-97;disc{<mod(i,7)-3,
div(i,7)-1,6>,z,.4pigment{rgb 10}}_(r+1)
#end#end _(1)//KL
Post a reply to this message
|
![](/i/fill.gif) |