POV-Ray : Newsgroups : povray.newusers : "Wormhole" effect? : Re: "Wormhole" effect? Server Time
5 Oct 2024 16:17:02 EDT (-0400)
  Re: "Wormhole" effect?  
From: Christian Froeschlin
Date: 11 Oct 2009 07:56:07
Message: <4ad1c7d7@news.povray.org>
Mike Williams wrote:

>> Is it possible to create a surface which - when hit by a ray - simply 
>> transmits
>> the ray out of another surface? I'm trying to create an effect similar 
>> to that
>> in the video game "Portal".
> 
> There was a MegaPov that had such a feature. It was introduced in 
> MegaPov 1.1 as a pigment called camera_view. You paint a Portal with the 
> camera_view pigment and the colour of its surface is the view seen from 
> the specified camera.

Also, as far as I understand it, this is just a convenience
pigment the effect of which can be obtained by rendering in
two passes and loading the portal image as an image_map for
the second render if you don't wish to use MegaPOV.

Although both of these would not be real portals as the view
point is fixed, which would be noticable if the portal is reflected
from another direction. Hmm if the input angles are sufficiently
disjoint you could map two camera_views with the aoi pattern,
although that is also not (yet?) in the official version.


Post a reply to this message

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