OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface show_N
param	float	useNg	0		%read{0,0} %write{2147483647,-1}
global	normal	N	%read{2,2} %write{2147483647,-1}
global	normal	Ng	%read{3,3} %write{2147483647,-1}
global	color	C	%read{2147483647,-1} %write{6,6}
global	color	opacity	%read{2147483647,-1} %write{7,7}
local	normal	Nt	%read{4,4} %write{2,3}
const	int	$const1	0		%read{0,0} %write{2147483647,-1}
temp	int	$tmp1	%read{1,1} %write{0,0}
temp	color	$tmp2	%read{5,5} %write{4,4}
const	int	$const2	1		%read{7,7} %write{2147483647,-1}
temp	color	$tmp3	%read{6,6} %write{5,5}
const	float	$const3	1		%read{5,5} %write{2147483647,-1}
const	float	$const5	2		%read{6,6} %write{2147483647,-1}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\show_N.osl:9
# 		Nt = normalize(N);
	eq		$tmp1 useNg $const1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\show_N.osl"} %line{9} %argrw{"wrr"}
	if		$tmp1 3 4 	%argrw{"r"}
# D:\\xrt.git\\src\\osl\\shaders\\show_N.osl:10
# 	else
	normalize	Nt N 	%line{10} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\show_N.osl:12
# 	C = (color(Nt)+1)/2;
	normalize	Nt Ng 	%line{12} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\show_N.osl:13
# 	opacity = 1;
	assign		$tmp2 Nt 	%line{13} %argrw{"wr"}
	add		$tmp3 $tmp2 $const3 	%argrw{"wrr"}
	div		C $tmp3 $const5 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\show_N.osl:14
# }
	assign		opacity $const2 	%line{14} %argrw{"wr"}
	end
