|
|
Alain <aze### [at] qwertyorg> wrote:
> > 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
Thanks for your replies, everyone. None of your suggestions did what I really
needed, so I went ahead and patched MegaPOV to support transforms on
reflections. I'll send in a patch after I've tested it (by implementing my
idea).
Post a reply to this message
|
|