POV-Ray : Newsgroups : povray.binaries.images : Media Problems : Re: Media Problems Server Time
3 Jul 2024 00:42:20 EDT (-0400)
  Re: Media Problems  
From: FractRacer
Date: 1 Dec 2014 22:33:15
Message: <547d32fb$1@news.povray.org>
Le 01/12/2014 00:47, Stephen a écrit :
> On 30/11/2014 22:22, FractRacer wrote:
>> Hello,
>> I have a problem with interior's media with official Pov, in the image
>> we can see a all white media when rendered with Pov 3.7, and the good
>> colors with Uberpov.
>> Can someone explain this?
>>
>
> Your code would help. ;-)
>
Here is the problem !

#version 3.7;
global_settings{
	assumed_gamma 1
	max_trace_level 25
	ambient_light 1
}

background { rgb <0.000000, 0.000000, 0.000000> }
#declare camera_location = <0, 0, -75>;

camera{
	location camera_location
	up y
	right x*image_width/image_height
	angle 45
	look_at 0
}


#declare SZ = 1500;
#declare SR = 200;


#declare Sun = sphere{
	<0,0,0>, 1.2
	pigment { rgbt 1 filter 0.0	}
	finish {
		specular albedo 0.2
		}
	hollow
	interior{
		ior 1.8
		media{
		method 3
		emission 2.26
      		scattering{
			1,
			<.1,.5,1>*3.00
			extinction  1.50
		}
		density{
		granite
		turbulence 0.85
		color_map {
		[0.00 rgbf 0]
                     [0.05 rgbf 0]
                     [0.20 rgbf 0.2]
                     [0.30 rgbf 0.6]
                     [0.40 rgbf 0.8]
                     [0.50 rgbf 0.991]
                     [0.60 rgbf 0.8]
                     [0.70 rgbf 0.6]
                     [0.80 rgbf 0.2]
                     [0.95 rgbf 0]
                     [1.00 rgbf 0]
			}
		}
		samples 1,1
		intervals 3
		confidence 0.9
	}
	}
}

object {
	Sun
	scale <200,200,10>
	translate <0,0,SZ+50>
}


-- 
Lionel
Do not judge my words, judge my actions.

---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la
protection avast! Antivirus est active.
http://www.avast.com


Post a reply to this message

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