Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

[#31232] Cycles - Light Path Length node output

Date:
2012-05-02 11:31
Priority:
3
State:
Closed
Submitted by:
Agustin benavidez (agus3d)
Assigned to:
Brecht Van Lommel (blendix)
Category:
Rendering
Group:
None
Resolution(Old, use status):
Approved
Resolution:
Applied
Patch for:
 
Summary:
Cycles - Light Path Length node output
Detailed description
Dear Blender developers, I present you a very small patch for Cycles to be able to output the length of the ray being shaded in the LightPath node, it doesn't add any extra computation, is very simple no intrusive, making possible to create volume absorption dependent shaders, like glass absorption based on the distance the ray traveled inside the surface, or using the transmission path of the translucent shader to create a very fake sss effect like frozen ice shaders and others. very useful for use in combination with transmission light path.

I attached an screenshot but for more information about uses cases and illustrative screenshot you can visit my Blog entry about it:

http://agus3d.blogspot.com.ar/2012/05/blender-cycles-ray-length-node-output.html

You can find there a .blend file with the usage examples.

Patch against rev. 46120

Thanks for your attention.

Agus.

Followup

Message
 

Attached Files:

Name Date Download
ForBlenderBosses2.jpg 2012-05-02 11:31 Download
Cycles_LightPathLength_0.9.patch 2012-05-02 11:31 Download

Changes:

Field Old Value Date By
status_idOpen2012-05-02 19:04blendix
close_dateNone2012-05-02 19:04blendix
Resolution(Old, use status)None2012-05-02 19:04blendix
ResolutionOpen2012-05-02 19:04blendix
assigned_tonone2012-05-02 18:35letterrip
File Added20448: Cycles_LightPathLength_0.9.patch2012-05-02 11:31agus3d
File Added20449: ForBlenderBosses2.jpg2012-05-02 11:31agus3d