|
![](/i/fill.gif) |
In article <3fb2f6a0$1@news.povray.org>,
> Hi Matt,
>
> because you asked in the advanced-users group,
> I assume short answers will suffice ;-)
as long as its more than 3 words ;-)
> First question:
> You are actually asking for the normal of an object at v1: use trace()
> to shoot a ray at v1 and get the normal (your v2) at this point.
> (look for trace at "6.1.4.6 Vector Functions")
Ah, I have heard of good reviews of trace(), I shall check it out and
see what it can do for me. I did not know, however, that a normal was
simply the way the reflection, although I guess it makes sense.
>
> Second question:
> The Advanced Tutorial ("4.2 POV-Ray SDL tutorial: A raytracer")
> should give you some hints, esp. "4.2.3 Short introduction to
> raytracing" and "4.2.7 Ray-sphere intersection"
Thanks, I shall check that out as well. I had skimmed over the SDL
tutorial, but left when I realized it was over my head at the time.
> Sputnik
Thanks Sputnik
Post a reply to this message
|
![](/i/fill.gif) |