POV-Ray : Newsgroups : povray.general : to litle precision ? : Re: to litle precision ? Server Time
6 Aug 2024 00:16:27 EDT (-0400)
  Re: to litle precision ?  
From: Rafal 'Raf256' Maj
Date: 8 Aug 2002 13:10:29
Message: <Xns9264C2701EAD3raf256com@204.213.191.226>
Philippe Lhoste <Phi### [at] GMXnet> wrote in
news:Xns### [at] 204213191226 

>> Also this scene is perfectly legal by all means, but it renders
>> horribly 
>> due to limited floating point accuracy:
>> camera { location -z*2e5 look_at 0 angle .001 }
>> light_source { <100,200,-300>, 1 }
>> sphere { 0,1 pigment { rgb 1 } }

> Woah, very nice texture :-)

:)


> See also http://www.povray.org/download/3.5-bugs.php "Bugs inherited
> from POV-Ray 3.1 and older versions".
> Now, it would be nice if somebody give a patch to correct some of
> these bugs, without affecting the regular behavior (speed,
> rendering)... 

I'm trying to do this, but it will affect render speed :/ but there would 
be some options to choose beetween standart or extra accurate version, and 
maybe to set some tolerance options



-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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