POV-Ray : Newsgroups : povray.newusers : Transparency one way only : Re: Transparency one way only Server Time
28 Jul 2024 20:26:23 EDT (-0400)
  Re: Transparency one way only  
From: Le Forgeron
Date: 11 Oct 2007 16:26:46
Message: <470e8706$1@news.povray.org>
Le 11.10.2007 22:07, Pahidla nous fit lire :
> Hi,
> 
> Working on a model of a room and somtimes I would like to take a step back
> to see more of the room, but then of course walls (povray boxes) get in the
> way. Is there a way to make an object, such as a box, transparent but only
> if one looks outside in, i.e. from one direction.
> 
> Many thanks in advance,

You need a patch to do that.
A long time ago, when povray license was understandable, I did that
patch... for 3.1g
it was easy, just a kind of CSG construct (think union) which filter
in All_..._Intersections so that the dot product of the normal and
ray had to be positif to keep a child's intersection.

Works fine... box, cone, sphere, all only showing their inner side,
never their outer side, even in mirror!

Now, if someone can explain how to distribute such patch within the
3.5/3.6/3.7 license, please be my guest and I might consider do that
again.


-- 
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius


Post a reply to this message

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