Page MenuHome

Cycles API for BSDF nodes inconsistant for SSS
Closed, ArchivedPublic

Description

the node 'type' for SSS is inconsistant with the rest of the cycles api... Diffuse node is 'BSDF_DIFFUSE', Glossy node is 'BSDF_GLOSSY', SSS is 'SUBSURFACE_SCATTERING', however i would expect it to be BSSRDF_SUBSURFACE_SCATTERING or BSSRDF_SSS or something along those lines.

I have uploaded a blend file with a small python script to explain, hit run and look at the console.

Event Timeline

These just match the names of the nodes in the UI, if we add more SSS nodes they might be called things like 'SUBSURFACE_SCATTERING_SOMETHING'. The BSDF ones just happen to use a technical name because there isn't really any good name to describe them. We also don't call emission nodes EDF_ or so.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Archived.May 11 2013, 11:03 AM