POV-Ray : Newsgroups : povray.general : Very thin material - how to avoid color changes? : Re: Very thin material - how to avoid color changes? Server Time
21 Nov 2024 05:10:19 EST (-0500)
  Re: Very thin material - how to avoid color changes?  
From: Alain Martel
Date: 28 Oct 2024 10:04:12
Message: <671f99dc$1@news.povray.org>
Le 2024-10-28 à 05:59, spigor a écrit :
> Hello!
> I have created an image with a transparent material getting very thin in some
> places, and I can see color changes there (marked red in attached). How do I
> avoid that?
> 
> The solid object is defined as:   pigment{color rgb <0.39, 0.41, 0.43>}
> 
> The transparent one as:   pigment {color rgbf <0.25,0.5, 1, 0.5>}
> 

What they described to you is what is called coincident surfaces.
That happen when two or more surfaces are touching.
Try moving the grey object down by a small distance.

Add something like
translate<0, -0.00001, 0>
to the grey object, or
translate<0, 0.00001, 0>
to the transparent object.


Post a reply to this message

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