POV-Ray : Newsgroups : povray.binaries.images : website buttons new versions : website buttons new versions Server Time
5 Nov 2024 14:21:10 EST (-0500)
  website buttons new versions  
From: Johan Feyaerts
Date: 21 Aug 2006 05:50:39
Message: <44e981ef@news.povray.org>
Hi,

Due to the bad weather in Belgium I found some time to work further on the 
website buttons macro I started some time ago.
The macro can render now a set of buttons for a website using pov animation 
(and a few days of patience on 512*384)

By the way: is there any way to change the name of the bmp output file in 
the during rendering? output is now produced by the animation in 
webbuttons00.bmp,webbuttons01.bmp etc. It would be more convenient for later 
use of render output if I could name them something like button_<text inside 
button>_blue_normalstate.bmp.

There is 2 versions pressed state with lights shining & normal  both 
rendered with +-14 lights behind the text. Problem is that they take a long 
time to render. Is there any way to speed up rendering with this amount of 
lights.
I tried one version with radiosity with an emitting text behind the black 
text, but I'm not really happy with the result. The way the light shines on 
the side of the button seems unnatural to me. I like the backlight inside 
the button though.
I don't know enough of radiosity I to find out how to improve it. Any 
suggestions would be appreciated.
Radiosity settings are :

global_settings {
      max_trace_level 100
      assumed_gamma 1.25
      #if (Radiosity)
        radiosity {
              pretrace_start 0.04           // start pretrace at this size
              pretrace_end   0.002          // end pretrace at this size
              count  250                      // higher -> higher quality 
(1..1600) [35]
              nearest_count  10               // higher -> higher quality 
(1..10) [5]
              error_bound 2               // higher -> smoother, less 
accurate [1.8]
              recursion_limit 3             // how much interreflections are 
calculated (1..5+) [3]
              low_error_factor .5           // reduce error_bound during 
last pretrace step
              gray_threshold 0.0            // increase for weakening colors 
(0..1) [0]
              minimum_reuse 0.015           // reuse of old radiosity 
samples [0.015]
              brightness 0.4                 // brightness of radiosity 
effects (0..1) [1]

              adc_bailout 0.01/2
              //normal on                   // take surface normals into 
account [off]
              //media on                    // take media into account [off]
              //save_file "file_name"       // save radiosity data
              //load_file "file_name"       // load saved radiosity data
              //always_sample off           // turn sampling in final trace 
off [on]
              //max_sample 1.0              // maximum brightness of samples
         }

      #else


Post a reply to this message


Attachments:
Download 'webbuttons_radiosity3.jpg' (64 KB) Download 'webbuttons_normal1.jpg' (40 KB) Download 'webbuttons_normal2.jpg' (42 KB)

Preview of image 'webbuttons_radiosity3.jpg'
webbuttons_radiosity3.jpg

Preview of image 'webbuttons_normal1.jpg'
webbuttons_normal1.jpg

Preview of image 'webbuttons_normal2.jpg'
webbuttons_normal2.jpg


 

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