If this is of any help, there has been a quick discussion around this in april (ex: underwater rendering) (seemed like it was two years ago to me): http://projects.blender.org/pipermail/bf-committers/2005-April/010370.html be sure to view the messages following that one. Dani