How is Normal channel interpreted?

Forums: 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

How is Normal channel interpreted?

Postby LewisO » Fri Jun 26, 2020 1:51 pm

LewisO Fri Jun 26, 2020 1:51 pm
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.
LewisO
Licensed Customer
Licensed Customer
 
Posts: 39
Joined: Mon Aug 10, 2015 7:57 am

Re: How is Normal channel interpolated?

Postby bepeg4d » Mon Jun 29, 2020 7:04 am

bepeg4d Mon Jun 29, 2020 7:04 am
Which osl script are you using?
Could you share an example scene?

ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9959
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: How is Normal channel interpolated?

Postby LewisO » Thu Jul 02, 2020 12:37 am

LewisO Thu Jul 02, 2020 12:37 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
Licensed Customer
 
Posts: 39
Joined: Mon Aug 10, 2015 7:57 am

Re: How is Normal channel interpreted?

Postby LewisO » Sun Jul 19, 2020 2:11 am

LewisO Sun Jul 19, 2020 2:11 am
Any updates?
LewisO
Licensed Customer
Licensed Customer
 
Posts: 39
Joined: Mon Aug 10, 2015 7:57 am

Return to General Discussion


Who is online

Users browsing this forum: Google [Bot] and 33 guests

Thu Apr 25, 2024 12:34 pm [ UTC ]