POV-Ray : Newsgroups : povray.advanced-users : portals : Re: portals Server Time
28 Jul 2024 18:12:49 EDT (-0400)
  Re: portals  
From: miriam english
Date: 9 Sep 2004 21:45:00
Message: <web.414106a55267edd38f1caf60@news.povray.org>
Thanks for the neat ideas Mike.

Mike Williams <nos### [at] econymdemoncouk> wrote:

> 1. You might consider creating both scenes on the front side of the
> portal and making everything in one scene have the no_image attribute
> and the other scene have no_reflection. Use a mirror as the portal. The
> tricky bit would be getting the shadows right. I think you might need to
> have a light group for each scene to ensure that objects in one scene
> don't cast shadows onto objects in the other.

This is a cool idea. I will bear it in mind for some other ideas I've had,
like a person looking into a mirror and the reflected person is subtly
different. I'd previously thought I'd have to render the picture in two
parts then join them later (clumsy!), but if I'm reading this properly your
idea means I could have the two people occupy the same space; one would be
seen and the other reflected. Unfortunately this is not suitable for my
current picture because the amount of light spilling from the object would
affect the scene before it returns from the reflecting object. But lovely
concept, thanks.


> 2. I seem to remember an old trick whereby you could have things in one
> scene bounded_by something that's the shape of your portal, and things
> in the other bounded_by something with that shape differenced out of it.
> You might have to rig things so that POV doesn't override your dodgy
> manual bounding, and I don't have any clues about how to get the shadows
> to work. It does have the advantage that you can have portals to more
> than one destination in the same image, whereas all mirrors in method 1
> would reflect the same stuff.

This sounds very promising. I'll have to look more into that. I don't
completely understand the mechanics of what you're saying, but from my
reading of it, it sounds exactly like what I want.

I'm very grateful.

Heheheh I like your tag "Gentleman of leisure".

Miriam
Non-profit human


Post a reply to this message

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