POV-Ray : Newsgroups : povray.programming : >1600 radiosity samples: right costheta distribution? : Re: >1600 radiosity samples: right costheta distribution? Server Time
4 Oct 2024 23:13:05 EDT (-0400)
  Re: >1600 radiosity samples: right costheta distribution?  
From: Rafal 'Raf256' Maj
Date: 5 Jan 2003 18:26:53
Message: <Xns92FB456D2A3Fraf256com@204.213.191.226>
"Anders K." <and### [at] kaseorgcom> wrote in
news:3e1744a3$1@news.povray.org 

> Rafal 'Raf256' Maj wrote:
>> much memory
> Uh, it won't? Just the tables for up to 1600 samples would require 3.7
> MB in packed format, and we want to go well beyond that!

MB or KB ? I thought that each record is 3 doubles ?
3*4*8*1600 = 150 kB

3*4*8*1600*1600/2 = 117 MB for array like :
(x), // count=1
(x,x), // count=2
(x,x,x), // count=3
//...
(x,x,x,x,x.....) // count = 1600

117 MB is too big in fact... so maybe generate only support every 10-th 
copunt above 300 ?
so count can be : 1,2,3...299,300, 310,320,330...
and every 20-th >600 600,620,640...
in that way array for count=3000 could be about hmm 50 MB i estimate ?

It can be downloaded as separate file from ftp://


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