emit material doesn't emit light in photon maping

Component:YafaRay Core
Category:feature request
Assigned:David Bluecame
Status:won't fix

if you set the material emit value, it doesn't emit light in photon maping, and the console gives me this error : error lightPDF sample error! 0/0.

It works well in path tracing.



Emit objects can not emit photos, true. But if there are other light sources in the scene, you don't get the PDF error missage. The PDF error missage happens if the 'emit' object is the only light source in the scene. Simple scene attached.



blendmat6.blend 457.96 KB

My work · Grey18 workflow · Sampling strategy · [url=http://www.yafaray.org/node/816]SPPM


Category:bug report» feature request

Michele Castigliego
ALTASIS - http://www.altasis.it


Status:active» postponed

Work as designed. Feature request postponed to YafaRay 013

My work · Grey18 workflow · Sampling strategy · [url=http://www.yafaray.org/node/816]SPPM



Michele Castigliego
ALTASIS - http://www.altasis.it


Version:» <none>
Component:Code» YafaRay Core
Assigned to:Anonymous» David Bluecame
Status:postponed» won't fix

I don't think this will be done. Emit is a fake light source. I will be improving MeshLights instead to achieve something similar to this with proper light source and handling.

See: http://www.yafaray.org/node/736#comment-1940