|
|
Instructs:
File SPHERES.C
Function All_Ellipsoid_Intersections
Line 199. { Depth1 /= len;
Line 200. VEvaluateRay( IPoint, Ray->Initial, Depth1, Ray->Direction );
Line 204. <delete>
Line 208. push_entry( Depth1, IPoint, Object, Depth_Stack);
Line 213. Depth2 /= len;
Line 216. EvaluateRay( IPoint, Ray->Initial, Depth2, Ray->Direction );
Line 218. <delete>
Line 222. push_entry( Depth2, IPoint, Object, Depth_Stack );
File POLY.C
Function All_Poly_Intersections
Line 168. DBL Depths[MAX_ORDER], len, Depth;
Line 227. Depth = Depths[ i ] /len;
Line 228. VEvaluateRay( IPoint, Ray->Initial, Depth, Ray->Direction );
Line 229. <delete>
Line 231. <delete>
Line 253. push_entry( Depth, IPoint, Object, Depth_Stack );
I don't knew why but acceleration is marginally.
In sphere test I have: 65s with official and 62s with above patch.
First features is incorporate in my sphere patch at
Ellipsoid patch via
http://members.xoom.com/dmilos/prg/pov/mypovpage.htm
--
***************************
dmi### [at] xoommailcom
http://members.xoom.com/dmilos/
***************************
Post a reply to this message
|
|