POV-Ray : Newsgroups : povray.newusers : placing objects at intersections? : Re: placing objects at intersections? Server Time
5 Nov 2024 03:15:44 EST (-0500)
  Re: placing objects at intersections?  
From:
Date: 29 Jul 2002 02:50:08
Message: <n1p9kuocnvaph0n0hl6018dm6eqpl2qlph@4ax.com>
On Sun, 28 Jul 2002 16:45:35 -0700, Dawn McKnight <gru### [at] earthlinknet>
wrote:
> Is there a way to say place object a at the intersection of objects b
> and c?

Not ideal but can work.

#include "rand.inc"
#local A=object{...};
#local B=object{...};
#local C=object{...};
#local Generator=seed(100);
#local Intersection=intersection{object{B}object{C}};
object{ A translate VRand_In_Obj(Intersection,Generator) }

ABX


Post a reply to this message

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