POV-Ray : Newsgroups : povray.general : Radiosity troubles in POV. Server Time
25 Nov 2024 13:53:18 EST (-0500)
  Radiosity troubles in POV. (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Nieminen Mika
Subject: Re: Radiosity troubles in POV.
Date: 12 Aug 1998 10:15:59
Message: <35d1958f.0@news.povray.org>
In povray.general Jon Berndt <jsb### [at] hal-pcorg> wrote:
: Very nice, very helpful. I would be interested in seeing the values you
: used.

global_settings
{ ambient_light <1,1,1>*4
  radiosity
  { brightness 8
    count 400
    distance_maximum 1
    error_bound .2
    gray_threshold .1
    low_error_factor .5
    minimum_reuse .001
    nearest_count 6
    recursion_limit 1
  }
}

camera { location -z*17 look_at 0 }

// Room
difference
{ box { <-12,-9,-19><12,9,12> }
  box { <-11,-8,-18><11,8,11> }
  pigment { rgb <1,1,.8> }
}
box
{ <-11,-8,-18><-10.99,8,11>
  pigment { rgb <1,.5,0> }
}
box
{ <11,-8,-18><10.99,8,11>
  pigment { rgb <0,.5,1> }
}



-- 
                                                              - Warp. -


Post a reply to this message

From: Povray
Subject: Re: Radiosity troubles in POV.
Date: 15 Sep 1998 05:16:48
Message: <35fe2270.0@news.povray.org>
I'm having the same problems with radiosity not working, with the exception
that mine works -some- of the time. I recall once that radiosity worked
after I removed one line, and that was the  -ambient_light Black - line.
Then I put it back and it rendered with radiosity fine. I've yet to find a
pattern to radiosity not working after having tried over 75 renderings on
the same scene with small modifications. I used the settings below, having
the scale of my scene approximately that shown, and it did not correct any
problems. Is there a bug I should know about that may be causing this?

-D.J. Brown
Nieminen Mika wrote in message <35d1958f.0@news.povray.org>...
>In povray.general Jon Berndt <jsb### [at] hal-pcorg> wrote:
>: Very nice, very helpful. I would be interested in seeing the values you
>: used.
>
>global_settings
>{ ambient_light <1,1,1>*4
>  radiosity
>  { brightness 8
>    count 400
>    distance_maximum 1
>    error_bound .2
>    gray_threshold .1
>    low_error_factor .5
>    minimum_reuse .001
>    nearest_count 6
>    recursion_limit 1
>  }
>}
>
>camera { location -z*17 look_at 0 }
>
>// Room
>difference
>{ box { <-12,-9,-19><12,9,12> }
>  box { <-11,-8,-18><11,8,11> }
>  pigment { rgb <1,1,.8> }
>}
>box
>{ <-11,-8,-18><-10.99,8,11>
>  pigment { rgb <1,.5,0> }
>}
>box
>{ <11,-8,-18><10.99,8,11>
>  pigment { rgb <0,.5,1> }
>}
>
>
>
>--
>                                                              - Warp. -


Post a reply to this message

From: Ken
Subject: Re: Radiosity troubles in POV.
Date: 15 Sep 1998 07:33:52
Message: <35FE42E4.58A73427@pacbell.net>
HEY everbody ! Povray is now answering questions on this group.
WOW !

Ken

Povray wrote:

> I'm having the same problems with radiosity not working, with the exception
> that mine works -some- of the time. I recall once that radiosity worked
> after I removed one line, and that was the  -ambient_light Black - line.
> Then I put it back and it rendered with radiosity fine. I've yet to find a
> pattern to radiosity not working after having tried over 75 renderings on
> the same scene with small modifications. I used the settings below, having
> the scale of my scene approximately that shown, and it did not correct any
> problems. Is there a bug I should know about that may be causing this?
>
> -D.J. Brown
> Nieminen Mika wrote in message <35d1958f.0@news.povray.org>...
> >In povray.general Jon Berndt <jsb### [at] hal-pcorg> wrote:
> >: Very nice, very helpful. I would be interested in seeing the values you
> >: used.
> >
> >global_settings
> >{ ambient_light <1,1,1>*4
> >  radiosity
> >  { brightness 8
> >    count 400
> >    distance_maximum 1
> >    error_bound .2
> >    gray_threshold .1
> >    low_error_factor .5
> >    minimum_reuse .001
> >    nearest_count 6
> >    recursion_limit 1
> >  }
> >}
> >
> >camera { location -z*17 look_at 0 }
> >
> >// Room
> >difference
> >{ box { <-12,-9,-19><12,9,12> }
> >  box { <-11,-8,-18><11,8,11> }
> >  pigment { rgb <1,1,.8> }
> >}
> >box
> >{ <-11,-8,-18><-10.99,8,11>
> >  pigment { rgb <1,.5,0> }
> >}
> >box
> >{ <11,-8,-18><10.99,8,11>
> >  pigment { rgb <0,.5,1> }
> >}
> >
> >
> >
> >--
> >                                                              - Warp. -


Post a reply to this message

From: D J  Brown
Subject: Re: Radiosity troubles in POV.
Date: 15 Sep 1998 23:05:10
Message: <35ff1cd6.0@news.povray.org>
Sorry, didn't realize I had typed in "Povray" for the name.. Hehe... :)
(red-faced grin)

Ken wrote in message <35FE42E4.58A73427@pacbell.net>...
>HEY everbody ! Povray is now answering questions on this group.
>WOW !
>
>Ken
>
>Povray wrote:
>
>> I'm having the same problems with radiosity not working, with the
exception
>> that mine works -some- of the time. I recall once that radiosity worked
>> after I removed one line, and that was the  -ambient_light Black - line.
>> Then I put it back and it rendered with radiosity fine. I've yet to find
a
>> pattern to radiosity not working after having tried over 75 renderings on
>> the same scene with small modifications. I used the settings below,
having
>> the scale of my scene approximately that shown, and it did not correct
any
>> problems. Is there a bug I should know about that may be causing this?
>>
>> -D.J. Brown
>> Nieminen Mika wrote in message <35d1958f.0@news.povray.org>...
>> >In povray.general Jon Berndt <jsb### [at] hal-pcorg> wrote:
>> >: Very nice, very helpful. I would be interested in seeing the values
you
>> >: used.
>> >
>> >global_settings
>> >{ ambient_light <1,1,1>*4
>> >  radiosity
>> >  { brightness 8
>> >    count 400
>> >    distance_maximum 1
>> >    error_bound .2
>> >    gray_threshold .1
>> >    low_error_factor .5
>> >    minimum_reuse .001
>> >    nearest_count 6
>> >    recursion_limit 1
>> >  }
>> >}
>> >
>> >camera { location -z*17 look_at 0 }
>> >
>> >// Room
>> >difference
>> >{ box { <-12,-9,-19><12,9,12> }
>> >  box { <-11,-8,-18><11,8,11> }
>> >  pigment { rgb <1,1,.8> }
>> >}
>> >box
>> >{ <-11,-8,-18><-10.99,8,11>
>> >  pigment { rgb <1,.5,0> }
>> >}
>> >box
>> >{ <11,-8,-18><10.99,8,11>
>> >  pigment { rgb <0,.5,1> }
>> >}
>> >
>> >
>> >
>> >--
>> >                                                              - Warp. -
>
>
>


Post a reply to this message

From: Nieminen Mika
Subject: Re: Radiosity troubles in POV.
Date: 16 Sep 1998 06:05:18
Message: <35ff7f4e.0@news.povray.org>
In povray.general Povray <web### [at] ultisitecom> wrote:
: I'm having the same problems with radiosity not working, with the exception
: that mine works -some- of the time. I recall once that radiosity worked
: after I removed one line, and that was the  -ambient_light Black - line.
: Then I put it back and it rendered with radiosity fine.

  There must be some ambient light in order to the radiosity to be seen
(as you can see in my example code, it's even multiplied by 4, ie. 4 times
brighter ambient light than usual, so radiosity becomes very visible). If
you set the ambient light to 0, no radiosity is seen, of course.
  I think that you typoed something when adding that line again. It's the
only reason I can think of.

: I've yet to find a
: pattern to radiosity not working after having tried over 75 renderings on
: the same scene with small modifications. I used the settings below, having
: the scale of my scene approximately that shown, and it did not correct any
: problems. Is there a bug I should know about that may be causing this?

  Note that there's no "universal" radiosity settings which work fine in
every scene. The radiosity settings I posted work fine with the small room
in the same post, but they don't work fine in outdoor scenes, for example.
Each scene has its own specific optimal radiosity settings. This depends on
the scale of the scene, the brightness of the colors, etc.
  Btw, are you sure you render with the +qr option when you want radiosity?
(without that option radiosity calculations are not made)

-- 
                                                           - Warp. -


Post a reply to this message

From: D J  Brown
Subject: Re: Radiosity troubles in POV.
Date: 16 Sep 1998 18:36:13
Message: <36002f4d.0@news.povray.org>
I've discovered the source of the problem, and you are most certainly
correct about the ambient light. The problem is that radiosity doesn't work
in subsequent requests if I cancel a trace. I have to close the Pov-Ray
editor and open it again, and it works fine. So, after yanking out the hair
around my ears for two days, I've finally got it down.

Thanks and much appreciation,
D.J. Brown

Nieminen Mika wrote in message <35ff7f4e.0@news.povray.org>...
>In povray.general Povray <web### [at] ultisitecom> wrote:
>: I'm having the same problems with radiosity not working, with the
exception
>: that mine works -some- of the time. I recall once that radiosity worked
>: after I removed one line, and that was the  -ambient_light Black - line.
>: Then I put it back and it rendered with radiosity fine.
>
>  There must be some ambient light in order to the radiosity to be seen
>(as you can see in my example code, it's even multiplied by 4, ie. 4 times
>brighter ambient light than usual, so radiosity becomes very visible). If
>you set the ambient light to 0, no radiosity is seen, of course.
>  I think that you typoed something when adding that line again. It's the
>only reason I can think of.
>
>: I've yet to find a
>: pattern to radiosity not working after having tried over 75 renderings on
>: the same scene with small modifications. I used the settings below,
having
>: the scale of my scene approximately that shown, and it did not correct
any
>: problems. Is there a bug I should know about that may be causing this?
>
>  Note that there's no "universal" radiosity settings which work fine in
>every scene. The radiosity settings I posted work fine with the small room
>in the same post, but they don't work fine in outdoor scenes, for example.
>Each scene has its own specific optimal radiosity settings. This depends on
>the scale of the scene, the brightness of the colors, etc.
>  Btw, are you sure you render with the +qr option when you want radiosity?
>(without that option radiosity calculations are not made)
>
>--
>                                                           - Warp. -


Post a reply to this message

From: Thomas Willhalm
Subject: Re: Radiosity troubles in POV.
Date: 6 Aug 1998 04:07:09
Message: <qqmemuu8u76.fsf@horn.fmi.uni-konstanz.de>
Chris Maryan <cma### [at] geocitiescom> writes:

> I have recently been experimenting with radiosity in POVRay but have had
> no success. I am using Moray to control the radiosity settings in a
> simple courtyard scene I created to test (based on this image:
> http://www.lightscape.com/Contest98/az_honor.jpg, but just a bare bones
> version). My problem is that the radiosity rendering is no different
> from the raytraced rendering (yes I set POV to radiosity mode). That is,
> it does not change any of the areas not lit by direct light, just one
> big ambient colour mess, I can't make out any details in it, just what
> would happen if I rendered without radiosity. So what am I doing wrong
> (Other test renderings of other scenes have similar results)? HELP!!!

I rendered my first scene that uses radiosity yesterday. So, I'm also
quite new to it. However, you didn't mention that you have set 
distance_maximum. According to the docs this is essential.
A description of this parameter is found in section 7.8.9.2.3.

I hope this helps


-- 
Tho### [at] uni-konstanzde
http://www.fmi.uni-konstanz.de/~willhalm/
Tschieses lavs ju


Post a reply to this message

From: Chris Maryan
Subject: Re: Radiosity troubles in POV.
Date: 6 Aug 1998 14:55:55
Message: <35C9ECA4.54C854DD@geocities.com>
I've been able to solve my problem, it seems to be caused by stopping a
radiosity rendering from Moray before it's finished and then attempting
to render again. Anyway, the solution is to restart Moray and POV if you
stop a radiosity rendering before it's finished, otherwise the final
pass of the next rendering will turn out looking like a raytraced
rendering. I have yet to discover if this problem is in POVRay or the
way Moray controls POV.
 
Chris Maryan
mailto:cma### [at] geocitiescom
***
My ideas are free,
Work is at least minimum wage.
***
Email me if you are interested in donating
to the Chris Maryan needs money fund.


Post a reply to this message

From: Chris Maryan
Subject: Re: Radiosity troubles in POV.
Date: 6 Aug 1998 15:09:31
Message: <35C9EFD5.C8A77470@geocities.com>
Thomas Willhalm wrote:

> I rendered my first scene that uses radiosity yesterday. So, I'm also
> quite new to it. However, you didn't mention that you have set
> distance_maximum. According to the docs this is essential.
> A description of this parameter is found in section 7.8.9.2.3.

I've been playing around with my image (now that it works, see my other
reply in povray.general) and have come to the conclusion that
distance_maximum doesn't have as much of a bearing on the image as the
docs would have you believe, I tried values ranging from 1 (the distance
to the nearest object in my image) to 30(the total size of everything
visible in my image) and there have been no serious changes in the way
the scene renders.

-- 
Chris Maryan
mailto:cma### [at] geocitiescom
***
My ideas are free,
Work is at least minimum wage.
***
Email me if you are interested in donating
to the Chris Maryan needs money fund.


Post a reply to this message

From: mdebar
Subject: Re: Radiosity troubles in POV.
Date: 8 Aug 1998 12:39:29
Message: <35cc7131.0@news.povray.org>
Chris Maryan wrote in message <35C9ECA4.54C854DD@geocities.com>...
>I've been able to solve my problem, it seems to be caused by stopping a
>radiosity rendering from Moray before it's finished and then attempting
>to render again. Anyway, the solution is to restart Moray and POV if you
>stop a radiosity rendering before it's finished, otherwise the final
>pass of the next rendering will turn out looking like a raytraced
>rendering. I have yet to discover if this problem is in POVRay or the
>way Moray controls POV.
>

I have the same problem, working only with POV (I submitted a bug report).
Same diagnostic : radiosity doesn't work after interrupted rendering.
But the demo file included with POV does not seem to be affected by this
bug.
And I do not know why. ;(

Reply to: phi### [at] hotmailcom

NOT TO mdebar (I am just using his computer)


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

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