POV-Ray : Newsgroups : povray.unofficial.patches : Question about functions ??? : Question about functions ??? Server Time
2 Sep 2024 06:15:44 EDT (-0400)
  Question about functions ???  
From: Y Tanabe
Date: 7 May 2000 22:56:46
Message: <39162CF3.8B9D708@kh.rim.or.jp>
Dear Sirs;

I am compilig Mega 0.4 version by Apple MPW MrC Compiler.
So I notice that (1)max_extent,min_extent,(2)trace functions
depend on Memory Allocation System of each OS.
(1),(2) are samples from IRTC stills 2000/04

And (3)#macro's argument includes Reserved Word then crash,
when do I check Test ReDefine argument ?

(1)max_extent,min_extent
drunkpat.zip:
BackGround.inc:
#macro Cable(Point1,Point2,CableRadius,SlackAmount,NumNodes,NumPoints):

union
{
 CablewoBounds
 bounded_by {box{max_extent(CablewoBounds),min_extent(CablewoBounds)}}
 clipped_by {bounded_by}
}

My Apple stop this Error:
"Unknown box side in Box_Normal()"

(2)trace
jw_cits.zip:
jw_cits.pov:
#declare _landscape = function { "ridgedmf",<1,2,10,1.1,2> }
object { landscape }

#local cam_l = <0,2,0>+trace(landscape,cam_l+y*1000000,y*-1);

My Apple first time show dark and stop, then try again makes fine scene.

Maybe second time can catch actual memory location, I think.

(3)#macro
#macro(r,s)

Y.Tanabe
Kobe,Japan
tec### [at] khrimorjp


Post a reply to this message

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