POV-Ray : Newsgroups : povray.newusers : Hide interior of transparent object : Hide interior of transparent object Server Time
4 Jul 2024 14:29:28 EDT (-0400)
  Hide interior of transparent object  
From: LionAM
Date: 17 Oct 2010 06:00:01
Message: <web.4cbac7cc1c3c33feddd7e4230@news.povray.org>
Hello!
I want to render a crystal structure (balls+sticks) with POV-Ray, where I focus
on one unit cell while the rest of the crystal is nearly transparent.

At the moment, the sticks go from the center of one ball to another. However, as
the balls are transparent, you can see the sticks inside the ball. Is there a
simple way to hide the part of the sticks inside the balls? The problem is that
I have 10 sticks per unit cell for the 2 color schemes (transparent and not
transparent) and each stick penetrates 2 balls - this would make 40 differences.
To code this by hand would not be fun...

Thank you in advance.

Alex


Post a reply to this message

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