|
|
hi,
"Juergen" <nomail@nomail> wrote:
> Hello,
>
> Is there a function or macro to check, if a given point is inside an object ?
yes.
> .....
> #declare Obj =
> object {
> some_complex_object
> translate ...
> rotate ...
> scale ....
> ....
> }
>
> #declare Point = <1,2,3>;
>
> #if (inside(Point,Obj)) // ?????
> .....
> #end
quite literally that, except it's 'inside(obj,point)'. :-)
<http://wiki.povray.org/content/Reference:Numeric_Expressions#Functions>
regards, jr.
Post a reply to this message
|
|