I'm trying to render some photon mapped scenes but the results are
just terrible. I've tried many many different parameter combinations
but nothing turns out.
It's a simple scene, just a box with a point light in the center of it
and some tubes running across the top of the box. Note that I have to
drastically reduce the light intensity depending on whether or not
it's photon mapping or ray tracing; the light values used for the ray
traced image will completely bleach out all the detail if used in the
photon mapped image.
Here are the photon mapping arguments:
SurfaceIntegrator "photonmap" "integer causticphotons" [0]
"integer indirectphotons" [500000]
"integer directphotons" [500000]
"bool finalgather" ["false"] "integer finalgathersamples" [32]
"integer nused" [50]
"bool directwithphotons" ["false"]
"integer maxdepth" [10]
"float maxdist" [22.5]
WorldBegin
AttributeBegin
TransformBegin
Translate 0 0 0
LightSource "point"
# Photon mapping
#"color I" [.0125 .0125 .0125]
# Ray Tracing
"color I" [10.0125 10.0125 10.0125]
TransformEnd
AttributeEnd
.
. #Geometry stuff in this section
.
WorldEnd
I've posted the side-by-side rendered comparison at:
http://web.ics.purdue.edu/~davewhit/photon_vs_raytrace.jpg