How is Normal channel interpreted?

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
LewisO
Licensed Customer
Posts: 43
Joined: Mon Aug 10, 2015 7:57 am

I notice there is a difference when the output to Normal is from a texture node or OSL node.
When reducing the power of an image(which is theoretically the wrong way to change the strength of normal), the color information in RGB will get closer to 0, but if I check the info tangent normal pass, it looks like Octane will automatically centralize the value to 0.5 so the result is correct.
It's different however if I try to output some normal via OSL, R and G must be around 0.5 as the center value, and it looks like B must be set to 1 or higher than 0.5 at all times.

Any detailed explanation of the rule about how normal data is interpolated under the table?
Last edited by LewisO on Thu Jul 02, 2020 12:37 am, edited 1 time in total.
User avatar
bepeg4d
Octane Guru
Posts: 10399
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Which osl script are you using?
Could you share an example scene?

ciao Beppe
LewisO
Licensed Customer
Posts: 43
Joined: Mon Aug 10, 2015 7:57 am

bepeg4d wrote:Which osl script are you using?
Could you share an example scene?

ciao Beppe
I think I've made the question clear enough: the interpretation of color between a texture node and the output of an osl node is different when connected to Normal channel, even when "color in = 0, output color c = in". Any details about how the normal data is interpreted in Octane? is it based on the types of nodes?
LewisO
Licensed Customer
Posts: 43
Joined: Mon Aug 10, 2015 7:57 am

Any updates?
Post Reply

Return to “General Discussion”