POV-Ray : Newsgroups : povray.advanced-users : Problems with media :-( Server Time
1 Nov 2024 17:20:16 EDT (-0400)
  Problems with media :-( (Message 1 to 5 of 5)  
From: Lutz-Peter Hooge
Subject: Problems with media :-(
Date: 14 Apr 2001 19:30:02
Message: <MPG.1542fc9af5290bd69896ab@news.povray.org>
I have the problem that parts of my media don't get rendered. That is, it 
renders correctly under test conditions, but in the final scene it's all 
messed up. I already tried to upper the settings (intervals, smaples, 
variance etc) but it didn't help at all. Also tried method 1 and 3.

I'll post 2 pictures povray.binaries.images to illustrate the problem.

here comes a code snippet:
media
{       
	method 3
	emission 10*Brightness
	intervals 10
	// samples 1,100
		
	// variance 1.0/256 // -
	// confidence 0.99   // +
	
	[4 densitys follow ]
}

Lutz-Peter


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Problems with media :-(
Date: 15 Apr 2001 03:09:17
Message: <3ad9491d@news.povray.org>
What do you use as container? Those Pic looks to me as if an isosurface has
max_gradient set to low, and part of it vanishing therefor. But it's hard to
say anything without the full object-code.

Hth perhaps a little,

Marc-Hendrik


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Problems with media :-(
Date: 15 Apr 2001 03:54:03
Message: <MPG.154372c1333090059896af@news.povray.org>
In article <3ad9491d@news.povray.org>, Mar### [at] t-onlinede 
says...
> What do you use as container? Those Pic looks to me as if an isosurface has
No, its only a sphere.
here comes the complete code:

#macro shieldeffect(cval,Size, Brightness)
	sphere
	{       
		0.0, 1
	
		texture
		{
			pigment
			{       
				color rgbf <1,1,1,1>
			}
		}
		hollow 
		
		interior
		{
			media
			{       
                           method 3
				emission 10*Brightness
				intervals 10
				// samples 1,100
				
				// variance 1.0/256 // -
				// confidence 0.99   // +
				
				density
				{
					spherical
		       		      	color_map
		       		      	{
		        			[0.00 rgb 1]
		        			[0.10 rgb 0]
						[1.00 rgb 0]
		      			}
		      		}
		      		
		      		density
				{
					spherical
		       		      	color_map
		       		      	{
		        			[0.00 rgb 0]
						[1.00 rgb 1]
		      			}
		      			scale .3*Size
		      			translate y*1
				}
	
		      		density
				{
					radial
					triangle_wave 
		       		      	color_map
		       		      	{
		        			[0.00 rgb .5]
						[1.00 rgb 1]
		      			}
		      			frequency 20
		      			rotate y*cval*180 // rotate 25 degrees
		      			turbulence .3
				}
	
		      		density
				{
					bozo
		       		      	color_map
		       		      	{
		        			[0.00 rgb <0,1,.5>]
						[1.00 rgb <0,.5,1>]
		      			}
		      			translate cval*10
					scale .05
				}
	
	        	}
	      	}
	      	rotate x*90
	}
#end


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Problems with media :-(
Date: 15 Apr 2001 06:04:47
Message: <MPG.1543915c9c3acc479896b0@news.povray.org>
I fixed the problem myself.
The cause for this was that i had several instances of that effect 
layered over each other, varying only in the rotation around x and y.
That let to some kind of coincidence surface problem....
I didn't know this problem applies to media

Scaling the container objects slightly fixed it.

Thanks anyway
 Lutz-Peter


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: Problems with media :-(
Date: 15 Apr 2001 07:04:54
Message: <3ad98056@news.povray.org>
Perhaps it was that all beloved max_trace_level again? To many layered
transparent objects which renders as the background color?

Glad, you solved the problem.

Marc-Hendrik

Lutz-Peter Hooge schrieb in Nachricht ...
>I fixed the problem myself.
>The cause for this was that i had several instances of that effect
>layered over each other, varying only in the rotation around x and y.
>That let to some kind of coincidence surface problem....
>I didn't know this problem applies to media
>
>Scaling the container objects slightly fixed it.
>
>Thanks anyway
> Lutz-Peter


Post a reply to this message

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