POV-Ray : Newsgroups : povray.programming : Memory problems : Memory problems Server Time
5 Jul 2024 16:29:54 EDT (-0400)
  Memory problems  
From: Kevin Loney
Date: 28 Sep 2003 23:26:40
Message: <3f77a670@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.