|
|
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
|
|