POV-Ray : Newsgroups : povray.newusers : Make part of an object transparent : Re: Make part of an object transparent Server Time
2 Jun 2024 14:00:50 EDT (-0400)
  Re: Make part of an object transparent  
From: Thomas de Groot
Date: 7 Nov 2012 08:29:40
Message: <509a6244$1@news.povray.org>
On 7-11-2012 14:06, Encore wrote:
> Hi guys,
>
> I am working on a project where I am trying to render an impossible cube. The
> final stage is to animate it but initially, I would only like to see if I can
> make a part of the cube invisible. The logic I'm following is that, every time
> part of the cube skeleton is hidden by some other part of it that's in front,
> make that part invisible so that the part on the back is still shown. this will
> give the illusion of an impossible cube. Is there any way you could suggest I
> can do this?
> Thank you in advance.
>
> Alex
>
>
Yes, you could use interior_texture.

Example (not tried):

box {
  -1, 1
  texture {pigment {rgbt 1}}
  interior_texture {pigment {rgb 1}}
}

Thomas


Post a reply to this message

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