[moving this to the dev-list]
Roland Schregle wrote:
Peter Apian-Bennewitz wrote:
> RenderMan (and probably others) use different textures/patterns
> depending on distance (more exactly on the solid angle the pixel
> covers). This angle is not supplied in the function files (at least it
> wasn't when I discussed that with Greg two years ago), so view dependent
> textures are a bit tricky to do. One reason for not making it available
> was that it is known in rvu/rpict, but not rtrace. If we agree (on
> radiance-dev) it would be useful, I'd be happy to see this variable.
Actually, a solid angle in the context of rtrace would be useful in
Rview and rpict can determine this information from the (angular)
spacing of successive pixels. Rtrace doesn't have any concept of
pixels, let alone something like "the next pixel to the right
points x degrees away from this one".
To make this work with rtrace, there would have to be a way to
feed it this information seperately. I'm not sure if a global
parameter would be enough, because I think it can vary quite a
bit eg. for wide angle perspectives. On the other hand, allowing
a seventh value with each line of input might be a non-trivial
In any case, I agree that this would be a very useful variable.
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/