POV-Ray : Newsgroups : povray.binaries.images : Some fun with media / Help with photons Server Time
6 Nov 2024 07:20:24 EST (-0500)
  Some fun with media / Help with photons (Message 1 to 9 of 9)  
From: Peter Popov
Subject: Some fun with media / Help with photons
Date: 16 Apr 1999 07:52:24
Message: <372815fd.1019852@news.povray.org>
(Sorry I had accidentally posted this in p.b.utilities... canceled it)

This is what a voxel would look like on a 3D Hi-Black Trinitron :)

Source is attached, media02.pov. Also attached is a tweaked version of
it (media_photons.pov) designed to make use of photon mapping... but
it doesn't. Can anybody help me? As the light sources are quite
distant their rays are practically parallel, so I am expecting this
normal pattern to produce some focused caustics in the scattering
media... but it doesn't. Why?

Any help appreciated.

---------
Peter Popov
ICQ: 15002700


Post a reply to this message


Attachments:
Download 'mediacubes.jpg' (11 KB) Download 'media_photons.pov.txt' (2 KB) Download 'media02.pov.txt' (2 KB)

Preview of image 'mediacubes.jpg'
mediacubes.jpg

From: Bob Hughes
Subject: Re: Some fun with media / Help with photons
Date: 16 Apr 1999 16:45:54
Message: <37179330.190F1900@aol.com>
Have you seen that new space age material (I know no name)? This image
reminded me of it. The stuff is almost as light as air (no quotes) and
has a smokey appearance. What I saw of it was in cubes like the media
boxes here.
Nifty image by itself, btw.


Peter Popov wrote:
> 
> (Sorry I had accidentally posted this in p.b.utilities... canceled it)
> 
> This is what a voxel would look like on a 3D Hi-Black Trinitron :)
> 
> Source is attached, media02.pov. Also attached is a tweaked version of
> it (media_photons.pov) designed to make use of photon mapping... but
> it doesn't. Can anybody help me? As the light sources are quite
> distant their rays are practically parallel, so I am expecting this
> normal pattern to produce some focused caustics in the scattering
> media... but it doesn't. Why?
> 
> Any help appreciated.
> 
> ---------
> Peter Popov
> ICQ: 15002700
> 
>  [Image]
> 
> #include "colors.inc"
> 
> global_settings
> {
>   photons
>   {
>     gather 20, 100
>     radius 0.5, 3, 0.5
>   }
> 
>   max_trace_level 25
> }
> 
> sphere
> {
>   0, 0.75
>   texture
>   {
>     pigment { Gray90 }
>     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
>     normal { leopard sine_wave frequency 0.25 phase 0.5 scale 0.05 }
>   }
>   no_shadow
>   photons
>   {
>     reflection on
>     density 0.02
>   }
> }
> 
> union
> {
>   box { 0, .99 }
>   box { <-0.99,0,-0.99>, <0,0.99,0> }
>   box { <0,-0.99,-.99>, <0.99,0,0> }
>   interior
>   {
>     media
>     {
>       absorption 1
>       intervals 10
>       samples 1, 10
>       variance 1/255
>       confidence 0.999
>       scattering { 1, 2 extinction 0}
>     }
>   }
>   hollow
>   pigment { Clear }
>   photons { photons_pass_through }
> }
> 
> camera
> {
>   location  <1.0 , 2.0 ,-3.0>*.85
>   right x
>   look_at   <-.15 , -.3 , 0.0>
> }
> 
> light_source
> {
>   <10,10,10> color Red
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }
> 
> light_source
> {
>   <-10,10,-10> color Blue
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }
> 
> light_source
> {
>   <10,-10,-10> color Green
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }
> 
> #include "colors.inc"
> 
> sphere
> {
>   0, 0.75
>   texture
>   {
>     pigment { Gray90 }
>     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
>     normal { quilted 0.3 scale 0.2 }
>   }
>   no_shadow
> }
> 
> union
> {
>   box { 0, .99 }
>   box { <-0.99,0,-0.99>, <0,0.99,0> }
>   box { <0,-0.99,-.99>, <0.99,0,0> }
>   interior
>   {
>     media
>     {
>       emission 1
>       absorption 1
>       intervals 30
>       samples 1, 10
>       variance 1/255
>       confidence 0.999
>       scattering { 1, 2 extinction 1}
>     }
>   }
> 
>   hollow
>   pigment { Clear }
> }
> 
> camera
> {
>   location  <1.0 , 2.0 ,-3.0>*.85
>   right x
>   look_at   <-.15 , -.3 , 0.0>
> }
> 
> light_source
> {
>   <10,10,10> color Red
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }
> 
> light_source
> {
>   <-10,10,-10> color Blue
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }
> 
> light_source
> {
>   <10,-10,-10> color Green
>   spotlight
>   point_at 0
>   radius 2
>   falloff 5
>   photons { reflection on }
> }

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: Thomas Lake
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 00:07:36
Message: <3717FC41.3D1EB1FB@home.com>
Bob Hughes wrote:

> Have you seen that new space age material (I know no name)? This image
> reminded me of it. The stuff is almost as light as air (no quotes) and
> has a smokey appearance. What I saw of it was in cubes like the media
> boxes here.

Its called Areogell (no sure about the spelling). It is the lightest solid yet known
to man. It has some pretty amazing uses
including superior insulation and is being used in a space mission to capture pieces
of a comet.

>
> Nifty image by itself, btw.
>
> Peter Popov wrote:
> >
> > (Sorry I had accidentally posted this in p.b.utilities... canceled it)
> >
> > This is what a voxel would look like on a 3D Hi-Black Trinitron :)
> >
> > Source is attached, media02.pov. Also attached is a tweaked version of
> > it (media_photons.pov) designed to make use of photon mapping... but
> > it doesn't. Can anybody help me? As the light sources are quite
> > distant their rays are practically parallel, so I am expecting this
> > normal pattern to produce some focused caustics in the scattering
> > media... but it doesn't. Why?
> >
> > Any help appreciated.
> >
> > ---------
> > Peter Popov
> > ICQ: 15002700
> >
> >  [Image]
> >
> > #include "colors.inc"
> >
> > global_settings
> > {
> >   photons
> >   {
> >     gather 20, 100
> >     radius 0.5, 3, 0.5
> >   }
> >
> >   max_trace_level 25
> > }
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { leopard sine_wave frequency 0.25 phase 0.5 scale 0.05 }
> >   }
> >   no_shadow
> >   photons
> >   {
> >     reflection on
> >     density 0.02
> >   }
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       absorption 1
> >       intervals 10
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 0}
> >     }
> >   }
> >   hollow
> >   pigment { Clear }
> >   photons { photons_pass_through }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > #include "colors.inc"
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { quilted 0.3 scale 0.2 }
> >   }
> >   no_shadow
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       emission 1
> >       absorption 1
> >       intervals 30
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 1}
> >     }
> >   }
> >
> >   hollow
> >   pigment { Clear }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
>
> --
>  omniVERSE: beyond the universe
>   http://members.aol.com/inversez/homepage.htm
>  mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: portelli
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 01:14:06
Message: <37180A8B.CDAE4D42@pilot.msu.edu>
I know what you are taling about.  It has the surface area of a footbal
field but fits in your hand.

Bob Hughes wrote:
> 
> Have you seen that new space age material (I know no name)? This image
> reminded me of it. The stuff is almost as light as air (no quotes) and
> has a smokey appearance. What I saw of it was in cubes like the media
> boxes here.
> Nifty image by itself, btw.
> 
> Peter Popov wrote:
> >
> > (Sorry I had accidentally posted this in p.b.utilities... canceled it)
> >
> > This is what a voxel would look like on a 3D Hi-Black Trinitron :)
> >
> > Source is attached, media02.pov. Also attached is a tweaked version of
> > it (media_photons.pov) designed to make use of photon mapping... but
> > it doesn't. Can anybody help me? As the light sources are quite
> > distant their rays are practically parallel, so I am expecting this
> > normal pattern to produce some focused caustics in the scattering
> > media... but it doesn't. Why?
> >
> > Any help appreciated.
> >
> > ---------
> > Peter Popov
> > ICQ: 15002700
> >
> >  [Image]
> >
> > #include "colors.inc"
> >
> > global_settings
> > {
> >   photons
> >   {
> >     gather 20, 100
> >     radius 0.5, 3, 0.5
> >   }
> >
> >   max_trace_level 25
> > }
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { leopard sine_wave frequency 0.25 phase 0.5 scale 0.05 }
> >   }
> >   no_shadow
> >   photons
> >   {
> >     reflection on
> >     density 0.02
> >   }
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       absorption 1
> >       intervals 10
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 0}
> >     }
> >   }
> >   hollow
> >   pigment { Clear }
> >   photons { photons_pass_through }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > #include "colors.inc"
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { quilted 0.3 scale 0.2 }
> >   }
> >   no_shadow
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       emission 1
> >       absorption 1
> >       intervals 30
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 1}
> >     }
> >   }
> >
> >   hollow
> >   pigment { Clear }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> 
> --
>  omniVERSE: beyond the universe
>   http://members.aol.com/inversez/homepage.htm
>  mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: Nathan Kopp
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 02:40:23
Message: <37181E4F.C47213D0@Kopp.com>
Currently, photons are not deposited in media.  I haven't yet implemented this
for a variety of reasons (memory & processor power being the two most
important) but I want to eventually do it.

-Nathan

Peter Popov wrote:
> 
> (Sorry I had accidentally posted this in p.b.utilities... canceled it)
> 
> This is what a voxel would look like on a 3D Hi-Black Trinitron :)
> 
> Source is attached, media02.pov. Also attached is a tweaked version of
> it (media_photons.pov) designed to make use of photon mapping... but
> it doesn't. Can anybody help me? As the light sources are quite
> distant their rays are practically parallel, so I am expecting this
> normal pattern to produce some focused caustics in the scattering
> media... but it doesn't. Why?
> 
> Any help appreciated.
> 
> ---------
> Peter Popov
> ICQ: 15002700
>


Post a reply to this message

From: Bob Hughes
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 03:28:28
Message: <371829E6.AD227F79@aol.com>
Yep, that's the stuff, now I remember the comet story about it, yeah.
The spelling would most likely be  aerogel  since gel is one "L" and
aero is, well, aero. Two very strange words if you ask me.


Thomas Lake wrote:
> 
> Its called Areogell (no sure about the spelling). It is the lightest solid yet known
to man. It has some pretty amazing uses
> including superior insulation and is being used in a space mission to capture pieces
of a comet.
> 

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

From: Ken
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 06:30:02
Message: <37185343.B2465897@pacbell.net>
Bob Hughes wrote:
> 
> Yep, that's the stuff, now I remember the comet story about it, yeah.
> The spelling would most likely be  aerogel  since gel is one "L" and
> aero is, well, aero. Two very strange words if you ask me.

ArrowGel is another spelling possibility. AuroGel, EuroGel, airOgel,
AeroJel, AroJel, AroGel,ArroGel, AirHeadJill, and Jello because it's fun.

But you were probably right the first time.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Andrew Cocker
Subject: Re: Some fun with media / Help with photons
Date: 17 Apr 1999 13:05:32
Message: <3718b14c.0@news.povray.org>
portelli <por### [at] pilotmsuedu> wrote in message
news:37180A8B.CDAE4D42@pilot.msu.edu...
> I know what you are talking about.  It has the surface area of a footbal
> field but fits in your hand.

<smutty laugh>

--
----------------------
Andy
------------------------------------------------------------------------------------------
-
--The Home Of Lunaland--
--visit my POV-Ray gallery--
--listen to my music--
www.acocker.freeserve.co.uk


Post a reply to this message

From: Bob Hughes
Subject: Re: Some fun with media / Help with photons
Date: 18 Apr 1999 03:09:42
Message: <371976F5.6F1F0445@aol.com>
Something tells me you had already seen my so-called corrections to your
tutorial by this time. I can't help myself, I should have been a proof
reader, albeit a poor one.


Ken wrote:
> 
> ArrowGel is another spelling possibility. AuroGel, EuroGel, airOgel,
> AeroJel, AroJel, AroGel,ArroGel, AirHeadJill, and Jello because it's fun.
> 
> But you were probably right the first time.
> 
> --
> Ken Tyler
> 
> mailto://tylereng@pacbell.net

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

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