POV-Ray : Newsgroups : povray.unofficial.patches : POV-Man sky_sphere problem : Re: POV-Man sky_sphere problem Server Time
1 Sep 2024 20:12:35 EDT (-0400)
  Re: POV-Man sky_sphere problem  
From: Chris Huff
Date: 5 Dec 2000 05:22:53
Message: <chrishuff-4C1F6E.05233705122000@news.povray.org>
In article <3A2C9E68.A926BC2A@student.murdoch.edu.au>, Paul Wise 
<p.w### [at] studentmurdocheduau> wrote:

> Could the normal of the skysphere be considered to be -1 times the ray 
> direction?

I would think so...but you still don't have intersection point, 
etc...and that information is passed around in one big chunk containing 
intersection point, depth, raw normal, perturbed normal, which is why 
you can't simply pass the normal. You could probably fake the surface as 
direction*MAX_DISTANCE...but it might not be worth it, since a shader 
with that faked information probably still won't work as expected...

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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