POV-Ray : Newsgroups : povray.newusers : sky_sphere question : Re: sky_sphere question Server Time
29 Jul 2024 12:28:44 EDT (-0400)
  Re: sky_sphere question  
From: Christopher James Huff
Date: 4 Jan 2006 09:07:24
Message: <cjameshuff-52BC37.09073404012006@news.povray.org>
In article <43ba434b@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

> Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > I want to add color modifiers as granite, finish and normal in a 
> > sky_sphere. 
> 
>   Finish and normal would make no sense in a sky_sphere because a
> sky_sphere is not an object and is not illuminated by any light source.

Though it could define a normal as being the vector opposite to the ray 
direction. I am not sure about the usefulness of doing so, however...the 
"normal" would always be antiparallel to the ray direction, no matter 
what direction the ray is pointing in.

About the inverted sphere: probably the easiest way to do it working 
from an existing sky_sphere definition would be to set it up as a 
unit-radius inverted sphere, texture it, and then scale it to the 
desired size.

sphere {< 0, 0, 0>, 1 inverse
    texture {...}
    scale 10000
}

-- 
Christopher James Huff <cja### [at] gmailcom>
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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