POV-Ray : Newsgroups : povray.newusers : Possible Photon Error : Possible Photon Error Server Time
29 Apr 2024 06:04:05 EDT (-0400)
  Possible Photon Error  
From: kurtz le pirate
Date: 2 Sep 2014 05:04:56
Message: <54058838$1@news.povray.org>
hello,

i have an issue using photons on one scene.

i get this error :
	"Possible Photon Error: Photon map for media is empty."



excerpts from the source :

#declare usePhotons = true;
...
...
global_settings {
	assumed_gamma 1.80
	max_trace_level 32
	#if (usePhotons)
		photons {
			#if (file_exists(photonFile))
				load_file photonFile
			#else
      			count 1000000
      			autostop 0
    	  		jitter 0.20
			save_file photonFile
			#end
			}
	#end
	}
...
...
light_source {
	p2r(30, 50, 1000,false)
	color White //Wheat // White
	#if (usePhotons)
	   photons {
			refraction on
			reflection on
			}
	#end
	}
...
...
	sphere {
		<0, rSphere, 0>, rSphere
		translate <xIndex,0,zIndex>*2*rSphere
		translate index*deltaY*y
		translate index*<1,0,1>*rSphere
		material { materialVerre }
		#if (usePhotons)
			photons {
				target
				refraction on
				reflection on
				collect off
				}
		#end
		}



who can help me find my error ?
thanks


---
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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