POV-Ray : Newsgroups : povray.newusers : radiosity load Server Time
4 Sep 2024 16:13:49 EDT (-0400)
  radiosity load (Message 1 to 4 of 4)  
From: Rafal 'Raf256' Maj
Subject: radiosity load
Date: 12 Sep 2002 16:50:00
Message: <Xns9287E7921F42Draf256com@204.213.191.226>
I'm using floowing radiosity, but seems not to load data, because
- render time is same
- when I delete file "rad4" or type invalid name like "asdfasdf" - pov 
doesn't even show a warning

  radiosity {
    pretrace_start 1/12
    pretrace_end   1/(12*8)
    count 1200                     
    nearest_count 9
    error_bound 0.45
    recursion_limit  9
    low_error_factor .32
    gray_threshold 0.0           
    minimum_reuse 0.002
    brightness 1                  

    adc_bailout 0.01/2
    normal yes                     
    media no                     
    //  save_file "rad4"
      load_file "rad4"
      always_sample 0
    max_sample 3
    #declare AMBIENT_DEF=0;
  }

rad4 is a file created in same scene, using same radiosity but with :
      save_file "rad4"
    //  load_file "rad4"
    //  always_sample 0

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

From: Rafal 'Raf256' Maj
Subject: Re: radiosity load
Date: 12 Sep 2002 16:50:58
Message: <Xns9287E7BC3D21Eraf256com@204.213.191.226>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in 
news:Xns### [at] 204213191226

> I'm using floowing radiosity

folowing :-/

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

From: Tim Nikias
Subject: Re: radiosity load
Date: 12 Sep 2002 18:37:21
Message: <3d811721@news.povray.org>
1. You can set pretrace_start and -end to 1 if you're loading data
2. Rendering isn't faster, but without pretrace and always_sample
POV doesn't need to parse the entire Radiosity-Data once again.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: radiosity load
Date: 12 Sep 2002 19:01:50
Message: <Xns92889C89EE44raf256com@204.213.191.226>
"Tim Nikias" <tim### [at] gmxde> wrote in news:3d811721@news.povray.org

> 1. You can set pretrace_start and -end to 1 if you're loading data

exacly :) thanks

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