POV-Ray : Newsgroups : povray.general : media & radiosity? Server Time
17 Nov 2024 19:17:00 EST (-0500)
  media & radiosity? (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Mike Williams
Subject: media & radiosity?
Date: 16 Jan 2003 00:19:08
Message: <3e2640cc@news.povray.org>
How do I get an emission media to add to the light of a scene with
radiosity?


Post a reply to this message

From: Warp
Subject: Re: media & radiosity?
Date: 16 Jan 2003 05:28:13
Message: <3e26893d@news.povray.org>
Mike Williams <mic### [at] quixnetnet> wrote:
> How do I get an emission media to add to the light of a scene with
> radiosity?

  Reading the documentation might help. (Tip: 6.11.11.2.9)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Apache
Subject: Re: media & radiosity?
Date: 16 Jan 2003 05:35:50
Message: <3e268b06@news.povray.org>
That ain't too difficult (see documentation). But the question for *me* is
how to let radiosity influence scattering media! Does the media test for
light sources or photons only?


Post a reply to this message

From: Tom Melly
Subject: Re: media & radiosity?
Date: 16 Jan 2003 06:03:04
Message: <3e269168$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3e26893d@news.povray.org...
> Mike Williams <mic### [at] quixnetnet> wrote:
> > How do I get an emission media to add to the light of a scene with
> > radiosity?
>
>   Reading the documentation might help. (Tip: 6.11.11.2.9)

I've tended to find that you need to set brightness > 1 to get any visible
effect. Here's the scene I played with:

#version 3.5;

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
  ambient_light 0
  radiosity{
    pretrace_start 0.08
    pretrace_end   0.04
    count 200
    media true
    brightness 2
  }
}

camera {
  location  <0.0, 0.0, -5.0>
  look_at   <0.0, 0.0,  0.0>
}

box{-6,6 inverse pigment{White}}
plane{y,-1 pigment{checker pigment{Gray}, pigment{White}}}

sphere{
  0,1
  pigment{rgbf 1}
  hollow
  interior{
    media{
      density{agate}
      density{spherical}
      emission <1.0,0.5,1.0>
    }
  }
}


Post a reply to this message

From: Tom Melly
Subject: Re: media & radiosity?
Date: 16 Jan 2003 06:19:46
Message: <3e269552$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3e269168$1@news.povray.org...

> I've tended to find that you need to set brightness > 1 to get any visible
> effect. Here's the scene I played with:

scratch that - the posted scene works with brightness 1. I think I managed to
make the floor semi-transparent on initial tests.

That said, emission media appears to be treated as a brightly lit object, rather
than an emitting object, so the effect is not very strong without a higher
brightness (which presumably might screw up other elements of the scene if you
have additional normal light sources).


Post a reply to this message

From: Warp
Subject: Re: media & radiosity?
Date: 16 Jan 2003 06:41:03
Message: <3e269a4f@news.povray.org>
Apache <apa### [at] yahoocom> wrote:
> But the question for *me* is
> how to let radiosity influence scattering media! Does the media test for
> light sources or photons only?

  Knowing how radiosity and scattering media works, I would suppose that
that would be really, really, really extremely incredibly astonishingly
slow.

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


Post a reply to this message

From: Mike Williams
Subject: Re: media & radiosity?
Date: 16 Jan 2003 10:20:03
Message: <3e26cda3@news.povray.org>
Does any one of a good way to make emission add more light to the scene with
out washing out the shadows with an over bright radiosity?


"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3e269552$1@news.povray.org...
> "Tom Melly" <tom### [at] tomandlucouk> wrote in message
> news:3e269168$1@news.povray.org...
>
> > I've tended to find that you need to set brightness > 1 to get any
visible
> > effect. Here's the scene I played with:
>
> scratch that - the posted scene works with brightness 1. I think I managed
to
> make the floor semi-transparent on initial tests.
>
> That said, emission media appears to be treated as a brightly lit object,
rather
> than an emitting object, so the effect is not very strong without a higher
> brightness (which presumably might screw up other elements of the scene if
you
> have additional normal light sources).
>
>


Post a reply to this message

From: Slime
Subject: Re: media & radiosity?
Date: 16 Jan 2003 10:45:44
Message: <3e26d3a8$4@news.povray.org>
> Does any one of a good way to make emission add more light to the scene
with
> out washing out the shadows with an over bright radiosity?


You could try increasing the media density (which will increase the
brightness), save the rad data, and then load the rad data with the density
reduced to normal.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

From: Apache
Subject: Re: media & radiosity?
Date: 16 Jan 2003 17:46:23
Message: <3e27363f@news.povray.org>
What to think about saving radiosity samples on other locations in 3d space
than just on the surface of objects?


Post a reply to this message

From: Greg Edwards
Subject: Re: media & radiosity?
Date: 3 Feb 2003 16:36:35
Message: <ikro1nn8bt17$.9f9rjaotlhgo.dlg@40tude.net>
On Thu, 16 Jan 2003 23:46:16 +0100, Apache wrote:

> What to think about saving radiosity samples on other locations in 3d space
> than just on the surface of objects?

A much better solution which I was thinking of for a while would be to 
scrap the radiosity system and do radiosity calculations using photon 
mapping. Photon mapping was originally meant to be a full global 
illumination model afterall.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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