POV-Ray : Newsgroups : povray.binaries.images : seek for help about rendering water surface : Re: seek for help about rendering water surface Server Time
7 Aug 2024 17:21:20 EDT (-0400)
  Re: seek for help about rendering water surface  
From: Tim Nikias
Date: 22 Mar 2006 03:36:12
Message: <44210c7c$1@news.povray.org>
> i check the online help of pov-ray, and it says: Typically values whose
> absolute values are less than a preset value epsilon are considered false
> for logical expressions. The value of epsilon is system dependent but is
> generally about 1.0e-10. Two floats a and b are considered to be equal if
> abs(a-b) < epsilon.
>
> so maybe i should save my mesh file with double type, am going to try
it,:)

That's not what I meant. But if you lose very low floating-point values,
like the online help says, things will be considered equal and triangles
might get dropped. It sometimes help to multiply all numbers with 10, 100 or
1000 (depending on the small scale of the mesh) when exporting it, and try
scaling it down (though you could still run into the same problems).

All that aside, there's still the issue of max_trace_level and
reflection/refraction to be considered, you easily get black dots on
transparent objects that are a little more irregular than a sphere...

Regards,
Tim

-- 
aka "Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

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