|
![](/i/fill.gif) |
Dre <and### [at] gmail com> wrote:
> "Warp" <war### [at] tag povray org> wrote in message
> news:4bbebfde@news.povray.org...
> > Dre <and### [at] gmail com> wrote:
> >> No it parses correctly, however none of the intersections are correct,
> >> they
> >> are all either at <0, 0, 0> or some weird location.
> >
> > Because you are not shooting the rays towards <0, -1, 0>.
> >
> > --
> > - Warp
> I believe I am shooting them in that direction, they are starting at <x, 10,
> z> and finishing at <x, -10, y>, thats towards <0, -1, 0> in my mind or am I
> wrong here?
You are shooting them towards <x, -10, y>, not towards <0, -1, 0> because
that's what you are telling trace() to do.
You have to do it like this:
trace(TheObject, <X, 10, Z>, <0, -1, 0>, TheNormal)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |