Hello
I am new to the forum and new to both 3dS and VRay. Hopefully there is some kind of documentation that I am unaware of that can answer all of these questions. There are quite a lot of them and they are all related to the format of the render passes and how they relate to produce the final image. If this is in the wrong forum please let me know.
VRayNormals - Looking at the images it appears that these are in View-Space but how are they to be interpreted? Assuming 8bit channels (for png) is 0 = -1, 255 = 1 and 127/128 = 0?
VRayZDepth - Setting the parameters as zdepth min= N, zdepth max = F, clampz depth = false and invert zdepth = false I assume that the values can be interpreted as 255 = F, 0 = N and 128 = N+(F-N)/2. Is this correct? Furthermore, is it possible to get greater accuracy using 8bit channels? Since all channels store the same value anyway would it be possible to use say the R and G channels to get 16bit accuracy?
VRayReflection, VRayRawReflection, VRayReflectionFilter - A little background: I rendered a scene first with reflection and these three render elements (let's call the rgb rendered Final). I then rendered the same scene but turned off reflections (let's call this NoReflection). Based on http://vray.us/vray_documentation/vr...elements.shtml I assumed the following would be true:
VRayReflection + NoReflection = Final
VRayRawReflection * VRayReflectionFilter = VRayReflection
But it is not. What am I doing wrong?
I found this thread discussing the same thing:
http://www.chaosgroup.com/forums/vbu...lection+filter
It is a bit difficult to follow but it appears that blendmaterials can cause issues, I am not using these.
Thanks in advance
Edit:
About the ReflectionFilter*RawReflection=Reflection. I ran a few tests with different settings for the render elements. Basically, if I render to 32bit float channels instead of 8 bits and turn off all color mapping for the render elements then the above equation is correct. Why is this? The problem is that with those settings the RawReflection values sometimes go as high as 4 which will obviously not work for png images. Furthermore, I don't quite understand how all these things relate. For example I tried using linear color mapping with multiplier=1.0, burn factor = 1.0 and gamma = 2.2. With these settings I expected the following:
Reflection = (RawReflection^(1/2.2)*ReflectionFilter^(1/2.2))^2.2
This is not the case. How would I have to alter the values based on the color mapping parameters to get the correct reflection? I really lack a lot of understanding of the details and I can't seem to find a detailed documentation.
Again, thanks in advance
I am new to the forum and new to both 3dS and VRay. Hopefully there is some kind of documentation that I am unaware of that can answer all of these questions. There are quite a lot of them and they are all related to the format of the render passes and how they relate to produce the final image. If this is in the wrong forum please let me know.
VRayNormals - Looking at the images it appears that these are in View-Space but how are they to be interpreted? Assuming 8bit channels (for png) is 0 = -1, 255 = 1 and 127/128 = 0?
VRayZDepth - Setting the parameters as zdepth min= N, zdepth max = F, clampz depth = false and invert zdepth = false I assume that the values can be interpreted as 255 = F, 0 = N and 128 = N+(F-N)/2. Is this correct? Furthermore, is it possible to get greater accuracy using 8bit channels? Since all channels store the same value anyway would it be possible to use say the R and G channels to get 16bit accuracy?
VRayReflection, VRayRawReflection, VRayReflectionFilter - A little background: I rendered a scene first with reflection and these three render elements (let's call the rgb rendered Final). I then rendered the same scene but turned off reflections (let's call this NoReflection). Based on http://vray.us/vray_documentation/vr...elements.shtml I assumed the following would be true:
VRayReflection + NoReflection = Final
VRayRawReflection * VRayReflectionFilter = VRayReflection
But it is not. What am I doing wrong?
I found this thread discussing the same thing:
http://www.chaosgroup.com/forums/vbu...lection+filter
It is a bit difficult to follow but it appears that blendmaterials can cause issues, I am not using these.
Thanks in advance
Edit:
About the ReflectionFilter*RawReflection=Reflection. I ran a few tests with different settings for the render elements. Basically, if I render to 32bit float channels instead of 8 bits and turn off all color mapping for the render elements then the above equation is correct. Why is this? The problem is that with those settings the RawReflection values sometimes go as high as 4 which will obviously not work for png images. Furthermore, I don't quite understand how all these things relate. For example I tried using linear color mapping with multiplier=1.0, burn factor = 1.0 and gamma = 2.2. With these settings I expected the following:
Reflection = (RawReflection^(1/2.2)*ReflectionFilter^(1/2.2))^2.2
This is not the case. How would I have to alter the values based on the color mapping parameters to get the correct reflection? I really lack a lot of understanding of the details and I can't seem to find a detailed documentation.
Again, thanks in advance
Comment