This is not necessarily a 3dsmax specific question as the same is true for Maya and probably the other host applications which support Rendering out extra channel/elements. But I am mostly using 3dsmax.
I have to say I am a bit puzzled on how you are supposed to use the normal vector data that is stored in the image when using the VRayNormals render element.
.
I read through the help section of the document that describes the output but it doesn't make it much clearer to me.
As I would have thought it is just the geometric normals stored in camera space and then the sign is taken away by shifting it to 0..1 range for each directional component (XYZ). But that doesn't seem to be the case as I compared the output to
a) Unsigned Normal vector camera space output using the SamplerInfo Render Element and
b) Manually shifting a signed Normal vector camera space output using the SamplerInfo Render element.
And the result is different to what I am getting when using VRayNormals..
The problem I am having is my relight compositing engine works in world space and I can perfectly transform those camera space normal outputs but what do I do with VRayNormals render elements how do I get them back into world space or "proper" camera space?
Thanks for providing any clues
I have to say I am a bit puzzled on how you are supposed to use the normal vector data that is stored in the image when using the VRayNormals render element.
.
I read through the help section of the document that describes the output but it doesn't make it much clearer to me.
As I would have thought it is just the geometric normals stored in camera space and then the sign is taken away by shifting it to 0..1 range for each directional component (XYZ). But that doesn't seem to be the case as I compared the output to
a) Unsigned Normal vector camera space output using the SamplerInfo Render Element and
b) Manually shifting a signed Normal vector camera space output using the SamplerInfo Render element.
And the result is different to what I am getting when using VRayNormals..
The problem I am having is my relight compositing engine works in world space and I can perfectly transform those camera space normal outputs but what do I do with VRayNormals render elements how do I get them back into world space or "proper" camera space?
Thanks for providing any clues