POV-Ray : Newsgroups : povray.general : to litle precision ? : to litle precision ? Server Time
5 Aug 2024 18:21:34 EDT (-0400)
  to litle precision ?  
From: Rafal 'Raf256' Maj
Date: 7 Aug 2002 21:34:50
Message: <Xns926423CF66ED8raf256com@204.213.191.226>
Hi,
I have a simple scene that shows some artefacts, this error is easy to 
reproduce, so I will just describe it :

- I have height field, scaled by <20,5,20>
- I have box sized about 0.03
- I have a point light source, that is outside box, in distance of 0.001 
from box

1. when I'm using 2048x2048 hf, then all shadows have very heacy random 
black pixels instead of shadow. 512x512 HF is ok.

2. when distance from box is 0.01 - it's ok when it's 0.001 - I have random 
spots 

both errors are caused from problems with numbers like 0.001 and smaller 
used togeather with another small shapes (hf triangles - 20/2048)

when I changed scale of HF to <2000,500,2000> - everything is ok

So :
1. I will see is this error only connected with HF or with all shapes
2. how about generate 2 binary distributions of POV - second executable 
file will have extra accuarity (by cost of speed) ?

I have Win98, PovRAY 3.5,  Athlon 1,7


-- 
#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.