POV-Ray : Newsgroups : povray.newusers : Non-touching objects seem to be touching : Re: Non-touching objects seem to be touching Server Time
24 Apr 2024 04:04:19 EDT (-0400)
  Re: Non-touching objects seem to be touching  
From: Alain
Date: 10 Feb 2017 12:47:18
Message: <589dfca6$1@news.povray.org>

> I want to visualize opaque spheres inside a transparent spherocylinder (a
> cylinder with hemispherical caps at the ends).
> When I do so I get weird red spots on the spheres even though they should not be
> touching the transparent sphere. I have to make the spheres significantly
> smaller then the outer transparent spherocylinder so that this problem
> disappears.
> In the following I show you three scene-files and the corresponding images that
> show this problem.
> I would be happy to hear suggestions on how to get rid of this problem.
>

All your objects are really small.
Try multiplying all tour values by 1000. This will not affect the aspect 
of your objects, but can get rid of accuracy problems as well as isues 
regarding distances that are to small.
That way,
cylinder {< -0.0052500000, 0.0000000000, 0.0000000000 >, < 0.0052500000,
0.0000000000, 0.0000000000 >, 0.0015000000 texture {pigment {color Red 
transmit
0.5} finish { phong 1 }}}

becomes this :
cylinder {< -5.25, 0, 0 >, < 5.25,0, 0 >, 1.5 texture {pigment {color 
Red transmit
0.5} finish { phong 1 }}}


Alain


Post a reply to this message

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