POV-Ray : Newsgroups : povray.binaries.images : More byproducts of the radiosity discussions... : More byproducts of the radiosity discussions... Server Time
1 Aug 2024 04:16:12 EDT (-0400)
  More byproducts of the radiosity discussions...  
From: Jaime Vives Piqueres
Date: 31 Dec 2008 04:09:42
Message: <495b36d6@news.povray.org>
After reading a message by Warp about how save_file and load_file could work
on the same scene together, I remembered that he mentioned this before. Back
then I had the intention to test it, but surely RL came in the way... now, I
don't have much free time these days anyhow, but I've not resisted to try
it, because I had a "bengenesque" idea that might work: use the animation
feature to successively decrease the error_bound while saving the data and
reloading it on the next frame:

#declare this_fr=concat("saved-",str(frame_number,2,0),".rad");
#declare last_fr=concat("saved-",str(frame_number-1,2,0),".rad");
radiosity {
   count 160
   error_bound 0.04+0.02*frame_number
   nearest_count 10
   recursion_limit rad_bounces
   brightness rad_brightness
   #if (file_exists(last_fr)=1)
    load_file last_fr
    always_sample off
   #end
   save_file this_fr
   randomize on
}

Running 16 frames I get a very good result in just 1 hour: see
secret-progressive16.jpg. I also included for reference the first pic of the
sequence (secret-progressive01.jpg), and also a pic showing how the end
settings will look without loading the previous frames radiosity
(secret-progressive16b.jpg).


I think it deserves some more research, but looks promising to overcome
many radiosity problems.

--
Jaime


Post a reply to this message


Attachments:
Download 'secret-progressive16.jpg' (35 KB) Download 'secret-progressive01.jpg' (39 KB) Download 'secret-progressive16b.jpg' (47 KB)

Preview of image 'secret-progressive16.jpg'
secret-progressive16.jpg

Preview of image 'secret-progressive01.jpg'
secret-progressive01.jpg

Preview of image 'secret-progressive16b.jpg'
secret-progressive16b.jpg


 

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