Hallo all!

I try to write a Shader which realize nonlinear light propagation. The idea is to trace along the curves, not the lines. I will divide a curve into many small segments and trace sequentially one after other until an intersection with geometry is found.

What a Shader type can I use for this purpose? How can I implement this algorithm in Mental Ray? Is it generally possible? It should be something like volume scattering but only with one ray to cast.

Thank you for help!