POV-Ray : Newsgroups : povray.newusers : "Wormhole" effect? : Re: "Wormhole" effect? Server Time
5 Oct 2024 16:20:32 EDT (-0400)
  Re: "Wormhole" effect?  
From: Alain
Date: 11 Oct 2009 11:08:10
Message: <4ad1f4da$1@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.

Or, you can use no_reflection for the one viewed directly, and no_image 
for the one viewed through the reflection.
You can also add no_shadow to one or both, as you may want it to not 
cast any shadow...


Alain


Post a reply to this message

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