POV-Ray : Newsgroups : povray.macintosh : media object visible Server Time
24 Nov 2024 08:47:01 EST (-0500)
  media object visible (Message 1 to 6 of 6)  
From: Josh Franklin
Subject: media object visible
Date: 15 Sep 1999 23:12:51
Message: <37E05FE7.AC49A507@yahoo.com>
Ok, here's another question I have for you all...I have a cylinder that
houses a media object that looks like fire. The fire looks great, but
there is a dark clearish object where the cylinder is. here is most the
code for the scene...

#include "colors.inc"

camera {
	location < 0.0, 1.4, -1.0 >
	look_at < 0.0, 1.35, 0.0 >
}

//i've tried setting media_interaction off, but that does nothing
light_source { < 100.0, 100.0, -100.0 > color rgb 0.8 }

//just to make it visible
background { color rgb <0.6, 0.2, 0.4 > }

//could the fog be interfering?
fog {
	fog_type 2 distance 80 color rgbf < 0.6, 0.4, 0.6, 0.4 >
	turbulence 0.6 turb_depth 10
	omega .75 lambda 2.5 octaves 3
	fog_offset 0.8 fog_alt 1.3
  }


plane {
	y, 0.0
	texture {
		pigment { color rgb < 0.04, 0.8, 0.1 > }
		normal { bumps 0.3 scale < 1.2, 0.6, 1.4 > }
	} 
}

//This is the evil cylinder
cylinder {
	<0, 0.01, 0 >, < 0, 2, 0 >, 1
	pigment { color rgbf 1 }
	interior {
    		media {
      		emission 1.5
			intervals 20
			samples 1, 10
			confidence 0.9999
			variance 1/1000
			density {
			   cylindrical
		        poly_wave pi
		        turbulence 1.1
		        color_map {
			          [0.0 color rgbt < 0, 0, 0, -1 > ]
			          [0.3 color rgbf <1, .45, 0, -.9 >]
			          [0.8 color rgbf <1, 1, 0, .8 >]
			          [1.0 color rgbt < 0, 0, 0, -1 > ]			          
		        } 
		        scale < 1.4, .8, .8 >
		        rotate 90*z rotate 85*y
      		}
    		}
	}
	translate 5*z
	hollow
}


Post a reply to this message

From: Josh Franklin
Subject: Re: media object visible
Date: 17 Sep 1999 00:56:59
Message: <37E1C9CF.A5C9C092@yahoo.com>
I have found that it is indeed the fog that messes up the media object.
Is this a bug in POV-Ray? and/or is there some workaround to this? I
hope this can be fixed.

-Josh


Josh Franklin wrote:
> 
> Ok, here's another question I have for you all...I have a cylinder that
> houses a media object that looks like fire. The fire looks great, but
> there is a dark clearish object where the cylinder is. here is most the
> code for the scene...
> 
> #include "colors.inc"
> 
> camera {
>         location < 0.0, 1.4, -1.0 >
>         look_at < 0.0, 1.35, 0.0 >
> }
> 
> //i've tried setting media_interaction off, but that does nothing
> light_source { < 100.0, 100.0, -100.0 > color rgb 0.8 }
> 
> //just to make it visible
> background { color rgb <0.6, 0.2, 0.4 > }
> 
> //could the fog be interfering?
> fog {
>         fog_type 2 distance 80 color rgbf < 0.6, 0.4, 0.6, 0.4 >
>         turbulence 0.6 turb_depth 10
>         omega .75 lambda 2.5 octaves 3
>         fog_offset 0.8 fog_alt 1.3
>   }
> 
> plane {
>         y, 0.0
>         texture {
>                 pigment { color rgb < 0.04, 0.8, 0.1 > }
>                 normal { bumps 0.3 scale < 1.2, 0.6, 1.4 > }
>         }
> }
> 
> //This is the evil cylinder
> cylinder {
>         <0, 0.01, 0 >, < 0, 2, 0 >, 1
>         pigment { color rgbf 1 }
>         interior {
>                 media {
>                 emission 1.5
>                         intervals 20
>                         samples 1, 10
>                         confidence 0.9999
>                         variance 1/1000
>                         density {
>                            cylindrical
>                         poly_wave pi
>                         turbulence 1.1
>                         color_map {
>                                   [0.0 color rgbt < 0, 0, 0, -1 > ]
>                                   [0.3 color rgbf <1, .45, 0, -.9 >]
>                                   [0.8 color rgbf <1, 1, 0, .8 >]
>                                   [1.0 color rgbt < 0, 0, 0, -1 > ]
>                         }
>                         scale < 1.4, .8, .8 >
>                         rotate 90*z rotate 85*y
>                 }
>                 }
>         }
>         translate 5*z
>         hollow
> }


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: media object visible
Date: 17 Sep 1999 02:55:06
Message: <37e1e5ca@news.povray.org>
In article <37E1C9CF.A5C9C092@yahoo.com> , Josh Franklin <sad### [at] yahoocom>
wrote:

> I have found that it is indeed the fog that messes up the media object.
> Is this a bug in POV-Ray? and/or is there some workaround to this? I
> hope this can be fixed.

Making an object hollow opens it for fog and media, I think (but haven't
checked). It should be listed to behave this way in the docs.


     Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Josh Franklin
Subject: Re: media object visible
Date: 17 Sep 1999 09:58:14
Message: <37E248AA.AC1F1535@yahoo.com>
I think that is the case as well, but this is something different; I
have a ground fog with a distance of 80 (1 unit = 1m) and my object was
only 5 away. Also, the ground plane at y, 0 was not designated as hollow...

-Josh

Thorsten Froehlich wrote:
> 
> In article <37E1C9CF.A5C9C092@yahoo.com> , Josh Franklin <sad### [at] yahoocom>
> wrote:
> 
> > I have found that it is indeed the fog that messes up the media object.
> > Is this a bug in POV-Ray? and/or is there some workaround to this? I
> > hope this can be fixed.
> 
> Making an object hollow opens it for fog and media, I think (but haven't
> checked). It should be listed to behave this way in the docs.
> 
>      Thorsten
> 
> ____________________________________________________
> Thorsten Froehlich, Duisburg, Germany
> e-mail: tho### [at] trfde
> 
> Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: media object visible
Date: 17 Sep 1999 16:37:45
Message: <37e2a699@news.povray.org>
In article <37E248AA.AC1F1535@yahoo.com> , Josh Franklin <sad### [at] yahoocom>
wrote:

> I think that is the case as well, but this is something different; I
> have a ground fog with a distance of 80 (1 unit = 1m) and my object was
> only 5 away. Also, the ground plane at y, 0 was not designated as hollow...

I have to admit that I am not that knowledgeable about media :-( You may
want to ask in the general or advanced-users groups as there are artists
from all platforms supported by POV-Ray, and I am sure (at least hope) one
of them can explain this :-)


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany


Post a reply to this message

From: ryan mooney
Subject: Re: media object visible
Date: 29 Dec 1999 15:56:21
Message: <38692600.5D92FEAF@earthlink.net>
also set the filter value of the fog to 0.001 or some low #. This also has
drawbacks although you will be able to keep the fog and the cylinder
disappears the fire and pinkish background are brightened changes the look
of the fire...

Happy Tweaking...

Josh Franklin wrote:

> Ok, here's another question I have for you all...I have a cylinder that
> houses a media object that looks like fire. The fire looks great, but
> there is a dark clearish object where the cylinder is. here is most the
> code for the scene...
>
> #include "colors.inc"
>
> camera {
>         location < 0.0, 1.4, -1.0 >
>         look_at < 0.0, 1.35, 0.0 >
> }
>
> //i've tried setting media_interaction off, but that does nothing
> light_source { < 100.0, 100.0, -100.0 > color rgb 0.8 }
>
> //just to make it visible
> background { color rgb <0.6, 0.2, 0.4 > }
>
> //could the fog be interfering?
> fog {
>         fog_type 2 distance 80 color rgbf < 0.6, 0.4, 0.6, 0.4 >
>         turbulence 0.6 turb_depth 10
>         omega .75 lambda 2.5 octaves 3
>         fog_offset 0.8 fog_alt 1.3
>   }
>
> plane {
>         y, 0.0
>         texture {
>                 pigment { color rgb < 0.04, 0.8, 0.1 > }
>                 normal { bumps 0.3 scale < 1.2, 0.6, 1.4 > }
>         }
> }
>
> //This is the evil cylinder
> cylinder {
>         <0, 0.01, 0 >, < 0, 2, 0 >, 1
>         pigment { color rgbf 1 }
>         interior {
>                 media {
>                 emission 1.5
>                         intervals 20
>                         samples 1, 10
>                         confidence 0.9999
>                         variance 1/1000
>                         density {
>                            cylindrical
>                         poly_wave pi
>                         turbulence 1.1
>                         color_map {
>                                   [0.0 color rgbt < 0, 0, 0, -1 > ]
>                                   [0.3 color rgbf <1, .45, 0, -.9 >]
>                                   [0.8 color rgbf <1, 1, 0, .8 >]
>                                   [1.0 color rgbt < 0, 0, 0, -1 > ]
>                         }
>                         scale < 1.4, .8, .8 >
>                         rotate 90*z rotate 85*y
>                 }
>                 }
>         }
>         translate 5*z
>         hollow
> }


Post a reply to this message

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