|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> Am 11.11.2011 09:53, schrieb jkroby:
> > From the image we can see the problem, the 2-ball should be on 2 segments but
> > are elsewhere, there is some setting that are clueless?
> > Does anyone have ideas?
>
> Yes: Note that the trace() function does not expect a point as the third
> parameter, but a direction. Thus, to achieve the desired results, you
> should replace:
>
> > sphere{ trace(pl,p1,p2), 0.01 pigment{ c2 } }
> > sphere{ trace(pl,p1,p3), 0.01 pigment{ c2a } }
>
> with:
>
> sphere{ trace(pl,p1,p2-p1), 0.01 pigment{ c2 } }
> sphere{ trace(pl,p1,p3-p1), 0.01 pigment{ c2a } }
Thank you very much, just a dumb mistake!
Roberto
Post a reply to this message
|
![](/i/fill.gif) |