POV-Ray : Newsgroups : povray.beta-test : Three lights. A Bug? Server Time
4 Nov 2024 19:17:21 EST (-0500)
  Three lights. A Bug? (Message 1 to 7 of 7)  
From: Tilly
Subject: Three lights. A Bug?
Date: 7 Oct 2001 05:47:19
Message: <3bc024a7@news.povray.org>
Hi,

I just playing around with 3.5 beta 4 and take an old 3.1g Souce-File:

-------------------------------------------------------------------------
default {
  texture {
    pigment { rgb <1,0,0> }
  }
}


global_settings {
  adc_bailout 0.003922
  ambient_light <1.0,1.0,1.0>
  assumed_gamma 1.9
  hf_gray_16 off
  irid_wavelength <0.247059,0.176471,0.137255>
  max_intersections 64
  max_trace_level 10
  number_of_waves 10
  radiosity {
    brightness       3.3
    count            100
    distance_maximum 0.0
    error_bound      0.4
    gray_threshold   0.5
    low_error_factor 0.8
    minimum_reuse    0.015
    nearest_count    6
    recursion_limit  1
  }
}

background { color <0.000,0.000,0.000> }

camera

  location  <    -21.322,     -30.368,       0.958>
  sky       <    0.00000,     0.00000,     1.00000>
  up        <        0.0,         0.0,         1.0>
  right     <    1.35836,         0.0,         0.0>
  angle         40.00000
  look_at   <     -0.374,       0.000,      -4.494>
}

//
// *******  L I G H T S *******
//

light_source

  <0.0, 0.0, 0.0>
  color rgb <1.000, 1.000, 1.000>
  fade_distance  1.0
  fade_power 1.0
  rotate 90.0*x
  translate  <-1.0, 9.44214, 4.160789>
}

light_source

  <0.0, 0.0, 0.0>
  color rgb <1.000, 1.000, 1.000>
  fade_distance  1.0
  fade_power 1.0
  rotate 90.0*x
  translate  <3.0, 9.44214, 4.160789>
}

light_source

  <0.0, 0.0, 0.0>
  color rgb <1.000, 1.000, 1.000>
  fade_distance  1.0
  fade_power 1.0
  rotate 90.0*x
  translate  <-5.0, 9.44214, 4.160789>
}


//
// ********  MATERIALS  *******
//

#declare wall =
   material  // wall


      texture


         pigment
         {
            granite
            pigment_map
            {
               [0.0
                  bumps
                  color_map
                  {
                     [ 0.0     rgbft <0.902, 0.902, 0.902, 0.0, 0.0> ]
                     [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
                  }
               ]
               [1.0
                  planar
                  color_map
                  {
                     [ 0.0     rgbft <0.89, 0.89, 0.89, 0.0, 0.0> ]
                     [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
                  }
               ]
            }
         }
         normal
         {
            bumps , 0.1
         }
         finish
         {
            ambient 0.043
            phong_size 100.0
         }
         scale  0.002
      }
   }

#declare Boden_txt =
   material

      texture

         pigment {
            granite
            pigment_map {
               [0.0
                  bumps
                  color_map { [ 0.0     rgbft <0.75, 0.75, 0.75, 0.0, 0.0> ]
                     [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
                  }
               ]
               [1.0
                  quilted
                  control0 0.0
                  control1 1.0
                  color_map { [ 0.0     rgbft <0.502, 0.502, 0.502, 0.0,
0.0> ]
                     [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
                  }
               ]
            }
            turbulence 0.2
            ramp_wave
         }
         finish {
            ambient 0.043
            phong_size 100.0
         }
      }
   }

union { // Walls
  box { // Wall4
    <-1, -1, -1>, <1, 1, 1>
    material {    wall  }
    scale <0.2, 30.0, 20.0>
    rotate -90.0*y
    translate  <-5.0, 0.0, 5.4>
  }
  box { // Wall3
    <-1, -1, -1>, <1, 1, 1>
    material {    wall   }
    scale <0.2, 20.0, 5.0>
    translate  -25.0*x
  }
  box { // Wall2
    <-1, -1, -1>, <1, 1, 1>
    material {    Boden_txt    }
    scale <0.2, 30.0, 20.0>
    rotate -90.0*y
    translate  <-5.0, 0.0, -5.0>
  }
  box { // Wall
    <-1, -1, -1>, <1, 1, 1>
    material {    wall   }
    scale <0.2, 20.0, 7.0>
    translate  5.0*x
  }
  box { // Wall_Back
    <-1, -1, -1>, <1, 1, 1>
    material {  wall    }
    scale <0.2, 20.0, 7.0>
    rotate -90.0*z
    translate  <-5.0, 10.0, 0.0>
  }
}
-------------------------------------------------------------------------
And this INI-File.
-------------------------------------------------------------------------
Quality=9
Antialias_Depth=3
Antialias=On
Antialias_Threshold=0.1
Jitter_Amount=0.5
Jitter=On
-------------------------------------------------------------------------

But the results are completely different:


Post a reply to this message


Attachments:
Download 'garage_test.jpg' (8 KB) Download 'garage_test.jpg' (6 KB)

Preview of image 'garage_test.jpg'
garage_test.jpg

Preview of image 'garage_test.jpg'
garage_test.jpg


 

From: Tilly
Subject: Re: Three lights. A Bug?
Date: 7 Oct 2001 05:50:19
Message: <3bc0255b@news.povray.org>
Sorry,

My System: PIII 667 MHz, Win 2000, 256 MByte RAM
The darker Images was generated by POVRAY 3.1g, the brighter one by
3.5.beta4


Post a reply to this message

From: Christoph Hormann
Subject: Re: Three lights. A Bug?
Date: 7 Oct 2001 05:56:25
Message: <3BC027AE.D82AD62E@gmx.de>
Tilly wrote:
> 
> Hi,
> 
> I just playing around with 3.5 beta 4 and take an old 3.1g Souce-File:
> 
> [...]
>   radiosity {
>     brightness       3.3
>     count            100
>     distance_maximum 0.0
>     error_bound      0.4
>     gray_threshold   0.5
>     low_error_factor 0.8
>     minimum_reuse    0.015
>     nearest_count    6
>     recursion_limit  1
>   }

3.5 radiosity is not compatible with 3.1.

See docs, section 2.6.14.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Bob H 
Subject: Re: Three lights. A Bug?
Date: 7 Oct 2001 06:07:12
Message: <3bc02950@news.povray.org>
"Tilly" <web### [at] tabsnetde> wrote in message
news:3bc024a7@news.povray.org...
>
> I just playing around with 3.5 beta 4 and take an old 3.1g Souce-File:

ambient_light used to be the dominant factor for radiosity but now diffuse
is so it's suggested ambient_light 0 (or near zero) be used instead whenever
rendering with radiosity.
Plus, just by the radiosity being present (and not skipped via #if or
#switch for example) it will be used, whereas in 3.1 it required the command
line or ini setting.

Bob H.


Post a reply to this message

From: Christoph Hormann
Subject: Re: Three lights. A Bug?
Date: 7 Oct 2001 06:31:31
Message: <3BC02FE6.AC1F0706@gmx.de>
"Bob H." wrote:
> 
> ambient_light used to be the dominant factor for radiosity but now diffuse
> is so it's suggested ambient_light 0 (or near zero) be used instead whenever
> rendering with radiosity.

It should be mentioned that this is only useful if you don't have *any*
ambient light sources in the scene (like the sky for example).  Otherwise
it's better to leave ambient_light and set the ambient finishes to 0.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: Three lights. A Bug?
Date: 7 Oct 2001 18:58:57
Message: <3bc0de31@news.povray.org>
Three mistakes in this bug report:

  1: You didn't tell what is the bug. Every bug report should have a clear
description of the bug. It's not a good idea to let people guess what are
you talking about from a source code/image.

  2: A source code demonstrating the bug should be shrinked and simplified
as much as possible. Every non-relevant detail should be removed and only
the essential parts that clearly show the bug should be left. This helps
finding the thing causing the bug.

  3: Binary attachments should not be posted in this group.

  (4: Not a big mistake, but still something to do better: The subject of
the article should be more descriptive.)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Tom Melly
Subject: Re: Three lights. A Bug?
Date: 9 Oct 2001 08:12:15
Message: <3bc2e99f$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3BC02FE6.AC1F0706@gmx.de...
>
> It should be mentioned that this is only useful if you don't have *any*
> ambient light sources in the scene (like the sky for example).  Otherwise
> it's better to leave ambient_light and set the ambient finishes to 0.
>

Dunno if it's recommended, but I tend to do something like (approx syntax):

global{
ambient_light 0.0001
}

Then, I can get my ambient back by just commenting out the global setting, and,
if I want any ambient objects in a radiosity scene, (such as a skysphere), I can
just set their ambient value to 10000


Post a reply to this message

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