POV-Ray : Newsgroups : povray.unofficial.patches : Your wanted features : Re: Your wanted features Server Time
28 Sep 2024 16:45:17 EDT (-0400)
  Re: Your wanted features  
From: Christopher James Huff
Date: 5 Jun 2003 14:14:38
Message: <cjameshuff-357808.13055705062003@netplex.aussie.org>
In article <3edf7b93@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   1: The pigment works as a projection plane of a secondary camera. That is,
>      When the color of the point <x,y> is asked from the pigment, these
>      coordinates are converted to the secondary projection plane coordinates,
>      and a ray is raytraced from the secondary camera passing through that
>      point.

Someone else wrote a camera pigment patch which does this.


>   2: The pigment warps rays to another location. That is, when a ray hits
>      the object and the color of the surface is requested, a given offset
>      is added to the intersection point and a new ray is traced in the
>      same direction as the original incoming ray. A given transformation
>      may be applied to the ray as well.

This is what my portal pigment does. It is not just an offset, it is a 
full transformation. I've used it to make something look like a 
"gateway" to another world and to make one of those infinitely 
self-containing scenes, where the entire scene was visible in a crystal 
ball in the center of the scene. Other effects are based on making the 
ray directions interact with the normal.

Here's my original post:
http://news.povray.org/povray.binaries.images/13490/

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
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.