OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface starball
param	float	Ka	1		%read{78,78} %write{2147483647,-1}
param	float	Kd	0.5		%read{96,96} %write{2147483647,-1}
param	float	Ks	0.5		%read{122,122} %write{2147483647,-1}
param	float	roughness	0.1		%read{116,116} %write{2147483647,-1}
param	float	s	0		%read{12,22} %write{0,0} %initexpr
param	float	t	0		%read{35,59} %write{1,1} %initexpr
global	point	P	%read{82,105} %write{2147483647,-1} %derivs
global	vector	I	%read{70,99} %write{2147483647,-1}
global	normal	N	%read{67,67} %write{2147483647,-1}
global	normal	Ng	%read{70,70} %write{2147483647,-1}
global	float	u	%read{0,9} %write{2147483647,-1} %derivs
global	float	v	%read{1,4} %write{2147483647,-1} %derivs
global	color	C	%read{124,124} %write{123,124}
global	color	opacity	%read{124,124} %write{2147483647,-1}
global	vector	L	%read{89,110} %write{2147483647,-1}
global	color	Cl	%read{87,109} %write{2147483647,-1}
local	color	___278_C	%read{81,95} %write{80,94}
local	float	___279___nondiffuse	%read{81,94} %write{81,94}
local	vector	___280_H	%read{103,120} %write{103,120}
local	color	___281_C	%read{103,121} %write{102,120}
local	float	___282___nonspecular	%read{103,120} %write{103,120}
local	float	ddv	%read{63,65} %write{6,6}
local	float	ddu	%read{38,54} %write{11,11}
local	float	ang	%read{18,29} %write{17,28}
local	float	ht	%read{33,52} %write{21,49}
local	float	ht1	%read{33,58} %write{32,57}
local	color	Ct	%read{66,98} %write{58,66}
local	normal	Nf	%read{82,114} %write{73,74}
temp	float	$tmp1	%read{6,6} %write{3,3}
temp	float	$tmp2	%read{3,3} %write{2,2}
temp	float	$tmp3	%read{6,6} %write{5,5}
temp	float	$tmp4	%read{5,5} %write{4,4}
temp	float	$tmp5	%read{11,11} %write{8,8}
temp	float	$tmp6	%read{8,8} %write{7,7}
temp	float	$tmp7	%read{11,11} %write{10,10}
temp	float	$tmp8	%read{10,10} %write{9,9}
temp	float	$tmp9	%read{14,17} %write{12,12}
const	float	$const2	360		%read{12,23} %write{2147483647,-1}
const	float	$const4	144		%read{14,27} %write{2147483647,-1}
const	string	$const5	"mod"		%read{13,24} %write{2147483647,-1}
temp	float	$tmp10	%read{16,16} %write{15,15}
temp	float	$tmp11	%read{15,15} %write{14,14}
temp	float	$tmp12	%read{17,17} %write{16,16}
const	float	$const6	0.30899999		%read{21,32} %write{2147483647,-1}
temp	float	$tmp13	%read{21,21} %write{20,20}
temp	float	$tmp14	%read{19,19} %write{18,18}
const	float	$const8	18		%read{18,29} %write{2147483647,-1}
const	float	$const9	0.017449999		%read{19,30} %write{2147483647,-1}
temp	float	$tmp15	%read{20,20} %write{19,19}
temp	float	$tmp16	%read{23,23} %write{22,22}
const	float	$const11	1		%read{22,108} %write{2147483647,-1}
temp	float	$tmp17	%read{25,28} %write{23,23}
temp	float	$tmp18	%read{27,27} %write{26,26}
temp	float	$tmp19	%read{26,26} %write{25,25}
temp	float	$tmp20	%read{28,28} %write{27,27}
temp	float	$tmp21	%read{32,32} %write{31,31}
temp	float	$tmp22	%read{30,30} %write{29,29}
temp	float	$tmp23	%read{31,31} %write{30,30}
const	float	$const12	0.5		%read{34,59} %write{2147483647,-1}
temp	float	$tmp24	%read{37,37} %write{34,34}
temp	float	$tmp25	%read{37,37} %write{36,36}
temp	float	$tmp26	%read{36,36} %write{35,35}
const	float	$const14	2		%read{35,54} %write{2147483647,-1}
temp	float	$tmp27	%read{43,43} %write{41,41}
temp	float	$tmp28	%read{41,41} %write{38,38}
const	string	$const15	"clamp"		%read{39,62} %write{2147483647,-1}
temp	float	$tmp29	%read{41,41} %write{40,40}
temp	float	$tmp30	%read{43,43} %write{42,42}
temp	float	$tmp31	%read{44,44} %write{43,43}
temp	float	$tmp32	%read{49,49} %write{45,45}
temp	float	$tmp33	%read{49,49} %write{48,48}
temp	float	$tmp34	%read{47,47} %write{46,46}
temp	float	$tmp35	%read{48,48} %write{47,47}
temp	float	$tmp36	%read{55,55} %write{53,53}
temp	float	$tmp37	%read{53,53} %write{50,50}
temp	float	$tmp38	%read{53,53} %write{52,52}
temp	float	$tmp39	%read{55,55} %write{54,54}
temp	float	$tmp40	%read{56,56} %write{55,55}
temp	float	$tmp41	%read{57,57} %write{56,56}
const	color	$const16	0.80000001 0.60000002 0		%read{58,58} %write{2147483647,-1}
const	color	$const17	0.5 0.050000001 0.050000001		%read{58,58} %write{2147483647,-1}
const	color	$const18	0 0.2 0.69999999		%read{66,66} %write{2147483647,-1}
temp	float	$tmp45	%read{65,65} %write{64,64}
temp	float	$tmp46	%read{61,61} %write{60,60}
temp	float	$tmp47	%read{60,60} %write{59,59}
const	float	$const19	0.1		%read{61,61} %write{2147483647,-1}
temp	float	$tmp48	%read{63,63} %write{61,61}
const	int	$const20	0		%read{71,106} %write{2147483647,-1}
const	float	$const21	0		%read{64,115} %write{2147483647,-1}
temp	float	$tmp49	%read{64,64} %write{63,63}
temp	float	$tmp50	%read{66,66} %write{65,65}
temp	normal	$tmp51	%read{73,74} %write{67,67}
const	string	$const22	"faceforward"		%read{68,69} %write{2147483647,-1}
temp	float	$tmp52	%read{71,71} %write{70,70}
temp	int	$tmp53	%read{72,72} %write{71,71}
const	string	$const23	"MaterialPlastic"		%read{76,76} %write{2147483647,-1}
temp	color	$tmp54	%read{78,78} %write{77,77}
temp	color	$tmp55	%read{81,97} %write{78,94}
temp	color	$tmp56	%read{96,96} %write{95,95}
const	string	$const24	"diffuse"		%read{79,79} %write{2147483647,-1}
const	float	$const25	1.5707964		%read{82,105} %write{2147483647,-1}
temp	int	$tmp57	%read{81,94} %write{81,94}
temp	int	$tmp58	%read{2147483647,-1} %write{85,85}
const	string	$const26	"light"		%read{85,107} %write{2147483647,-1}
const	string	$const27	"__nondiffuse"		%read{85,85} %write{2147483647,-1}
temp	float	$tmp59	%read{87,87} %write{86,86}
temp	color	$tmp60	%read{93,93} %write{87,87}
temp	color	$tmp61	%read{93,93} %write{92,92}
temp	color	$tmp62	%read{92,92} %write{88,88}
temp	float	$tmp63	%read{91,91} %write{90,90}
temp	vector	$tmp64	%read{90,90} %write{89,89}
temp	color	$tmp65	%read{92,92} %write{91,91}
temp	color	$tmp66	%read{81,94} %write{81,94}
temp	color	$tmp67	%read{97,97} %write{96,96}
temp	color	$tmp68	%read{98,98} %write{97,97}
temp	color	$tmp69	%read{103,123} %write{98,120}
temp	color	$tmp70	%read{122,122} %write{121,121}
temp	vector	$tmp71	%read{100,100} %write{99,99}
temp	vector	$tmp72	%read{103,120} %write{100,120}
const	string	$const28	"specular"		%read{101,101} %write{2147483647,-1}
temp	int	$tmp73	%read{103,120} %write{103,120}
temp	int	$tmp74	%read{2147483647,-1} %write{107,107}
const	string	$const29	"__nonspecular"		%read{107,107} %write{2147483647,-1}
temp	float	$tmp75	%read{109,109} %write{108,108}
temp	color	$tmp76	%read{119,119} %write{109,109}
temp	color	$tmp77	%read{119,119} %write{118,118}
temp	vector	$tmp78	%read{112,112} %write{110,110}
const	string	$const30	"specularbrdf"		%read{111,111} %write{2147483647,-1}
temp	vector	$tmp79	%read{113,113} %write{112,112}
temp	float	$tmp80	%read{118,118} %write{117,117}
temp	float	$tmp81	%read{117,117} %write{115,115}
temp	float	$tmp82	%read{115,115} %write{114,114}
temp	float	$tmp83	%read{117,117} %write{116,116}
const	float	$const32	8		%read{116,116} %write{2147483647,-1}
temp	color	$tmp84	%read{103,120} %write{103,120}
temp	color	$tmp85	%read{123,123} %write{122,122}
code s
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:14
# {
	assign		s u 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{14} %argrw{"wr"}
code t
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:14
# {
	assign		t v 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{14} %argrw{"wr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:16
#     float ddu = abs(Dx(u))+abs(Dy(u));
	Dx		$tmp2 v 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{16} %argrw{"wr"} %argderivs{1}
	abs		$tmp1 $tmp2 	%argrw{"wr"}
	Dy		$tmp4 v 	%argrw{"wr"} %argderivs{1}
	abs		$tmp3 $tmp4 	%argrw{"wr"}
	add		ddv $tmp1 $tmp3 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:17
#  	
	Dx		$tmp6 u 	%line{17} %argrw{"wr"} %argderivs{1}
	abs		$tmp5 $tmp6 	%argrw{"wr"}
	Dy		$tmp8 u 	%argrw{"wr"} %argderivs{1}
	abs		$tmp7 $tmp8 	%argrw{"wr"}
	add		ddu $tmp5 $tmp7 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:19
#     float ht = .3090/sin(((ang+18)*.01745));
	mul		$tmp9 s $const2 	%line{19} %argrw{"wrr"}
	functioncall	$const5 18 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# int abs (int x) BUILTIN;
	div		$tmp11 $tmp9 $const4 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp10 $tmp11 	%argrw{"wr"}
	mul		$tmp12 $const4 $tmp10 	%argrw{"wrr"}
	sub		ang $tmp9 $tmp12 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:20
#     ang = mod ((1-s)*360, 144);
	add		$tmp14 ang $const8 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{20} %argrw{"wrr"}
	mul		$tmp15 $tmp14 $const9 	%argrw{"wrr"}
	sin		$tmp13 $tmp15 	%argrw{"wr"}
	div		ht $const6 $tmp13 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:21
#     float ht1 = .3090/sin(((ang+18)*.01745));
	sub		$tmp16 $const11 s 	%line{21} %argrw{"wrr"}
	mul		$tmp17 $tmp16 $const2 	%argrw{"wrr"}
	functioncall	$const5 29 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:135
# float hypot (float a, float b, float c) { return sqrt (a*a + b*b + c*c); }
	div		$tmp19 $tmp17 $const4 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{135} %argrw{"wrr"}
	floor		$tmp18 $tmp19 	%argrw{"wr"}
	mul		$tmp20 $const4 $tmp18 	%argrw{"wrr"}
	sub		ang $tmp17 $tmp20 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:22
#     ht = max (ht, ht1);
	add		$tmp22 ang $const8 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{22} %argrw{"wrr"}
	mul		$tmp23 $tmp22 $const9 	%argrw{"wrr"}
	sin		$tmp21 $tmp23 	%argrw{"wr"}
	div		ht1 $const6 $tmp21 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:23
#     ht1 = ht*.5-min(t*2, 1);
	max		ht ht ht1 	%line{23} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:24
#     ht1 = clamp (ht1, -ddu, ddu)/(ddu*2)+.5;
	mul		$tmp24 ht $const12 	%line{24} %argrw{"wrr"}
	mul		$tmp26 t $const14 	%argrw{"wrr"}
	min		$tmp25 $tmp26 $const11 	%argrw{"wrr"}
	sub		ht1 $tmp24 $tmp25 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:25
#     ht = ht/2 - min((1-t)*2, 1);
	neg		$tmp28 ddu 	%line{25} %argrw{"wr"}
	functioncall	$const15 42 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:144
# PERCOMP1 (sign)
	min		$tmp29 ht1 ddu 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{144} %argrw{"wrr"}
	max		$tmp27 $tmp29 $tmp28 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:25
#     ht = ht/2 - min((1-t)*2, 1);
	mul		$tmp30 ddu $const14 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{25} %argrw{"wrr"}
	div		$tmp31 $tmp27 $tmp30 	%argrw{"wrr"}
	add		ht1 $tmp31 $const12 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:26
#     ht1 = ht1 + clamp(ht, -ddu, ddu)/(ddu*2)+.5;
	div		$tmp32 ht $const14 	%line{26} %argrw{"wrr"}
	sub		$tmp34 $const11 t 	%argrw{"wrr"}
	mul		$tmp35 $tmp34 $const14 	%argrw{"wrr"}
	min		$tmp33 $tmp35 $const11 	%argrw{"wrr"}
	sub		ht $tmp32 $tmp33 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:27
# 
	neg		$tmp37 ddu 	%line{27} %argrw{"wr"}
	functioncall	$const15 54 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:144
# PERCOMP1 (fabs)
	min		$tmp38 ht ddu 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{144} %argrw{"wrr"}
	max		$tmp36 $tmp38 $tmp37 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:27
# 
	mul		$tmp39 ddu $const14 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{27} %argrw{"wrr"}
	div		$tmp40 $tmp36 $tmp39 	%argrw{"wrr"}
	add		$tmp41 ht1 $tmp40 	%argrw{"wrr"}
	add		ht1 $tmp41 $const12 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:29
#     Ct = mix (color(0,0.2,.7), Ct, clamp(abs(t-0.5)-0.1, 0, ddv)/ddv);
	mix		Ct $const16 $const17 ht1 	%line{29} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:30
# 
	sub		$tmp47 t $const12 	%line{30} %argrw{"wrr"}
	abs		$tmp46 $tmp47 	%argrw{"wr"}
	sub		$tmp48 $tmp46 $const19 	%argrw{"wrr"}
	functioncall	$const15 65 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:144
# float hypot (float a, float b, float c) { return sqrt (a*a + b*b + c*c); }
	min		$tmp49 $tmp48 ddv 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{144} %argrw{"wrr"}
	max		$tmp45 $tmp49 $const21 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:30
# 
	div		$tmp50 $tmp45 ddv 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{30} %argrw{"wrr"}
	mix		Ct $const18 Ct $tmp50 	%argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:32
#     C = MaterialPlastic (Nf, Ct, Ka, Kd, Ks, roughness);
	normalize	$tmp51 N 	%line{32} %argrw{"wr"}
	functioncall	$const22 76 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:196
# color  mix (color  x, color  y, float  a) BUILTIN;
	functioncall	$const22 76 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{196} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:192
#     return (dot(I,Nref) > 0) ? -N : N;
	dot		$tmp52 I Ng 	%line{192} %argrw{"wrr"}
	gt		$tmp53 $tmp52 $const20 	%argrw{"wrr"}
	if		$tmp53 74 75 	%argrw{"r"}
	neg		Nf $tmp51 	%argrw{"wr"}
	assign		Nf $tmp51 	%argrw{"wr"}
	return
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:33
#     C *= opacity;
	functioncall	$const23 124 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{33} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:49
# // 
	ambient		$tmp54 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{49} %argrw{"w"}
	mul		$tmp55 Ka $tmp54 	%argrw{"wrr"}
	functioncall	$const24 96 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:501
#     float spacescale = length(transform(space, dir));
	assign		___278_C $const20 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{501} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:503
# 	if (truedisp) {
	for		$tmp57 83 84 95 95 	%line{503} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:507
# 	    N = Nresid + normalize (calculatenormal (P + Ndisp));
	lights_begin	P Nf $const25 	%line{507} %argrw{"rrr"}
	lights		$tmp57 P Nf $const25 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:504
# 		float __nondiffuse = 0;
	assign		___279___nondiffuse $const20 	%line{504} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:505
# 		getmessage ("light", "__nondiffuse", __nondiffuse);
	getmessage	$tmp58 $const26 $const27 ___279___nondiffuse 	%line{505} %argrw{"wrrw"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:506
# 		C += Cl * (1-__nondiffuse) * max (0, dot (N, normalize (L)));
	sub		$tmp59 $const11 ___279___nondiffuse 	%line{506} %argrw{"wrr"}
	mul		$tmp60 Cl $tmp59 	%argrw{"wrr"}
	assign		$tmp62 $const21 	%argrw{"wr"}
	normalize	$tmp64 L 	%argrw{"wr"}
	dot		$tmp63 Nf $tmp64 	%argrw{"wrr"}
	assign		$tmp65 $tmp63 	%argrw{"wr"}
	max		$tmp61 $tmp62 $tmp65 	%argrw{"wrr"}
	mul		$tmp66 $tmp60 $tmp61 	%argrw{"wrr"}
	add		___278_C ___278_C $tmp66 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:508
# 	return C;
	assign		$tmp56 ___278_C 	%line{508} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:49
#     return basecolor * (Ka*ambient() + Kd*diffuse(Nf))
	mul		$tmp67 Kd $tmp56 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{49} %argrw{"wrr"}
	add		$tmp68 $tmp55 $tmp67 	%argrw{"wrr"}
	mul		$tmp69 Ct $tmp68 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:50
#            + Ks*specular(Nf,-normalize(I),roughness);
	normalize	$tmp71 I 	%line{50} %argrw{"wr"}
	neg		$tmp72 $tmp71 	%argrw{"wr"}
	functioncall	$const28 122 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:527
# float stof (string str) BUILTIN;
	assign		___281_C $const20 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{527} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:529
# 
	for		$tmp73 105 106 121 121 	%line{529} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:533
# }
	lights_begin	P Nf $const25 	%line{533} %argrw{"rrr"}
	lights		$tmp73 P Nf $const25 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:530
# 		float __nonspecular = 0;
	assign		___282___nonspecular $const20 	%line{530} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:531
# 		getmessage ("light", "__nonspecular", __nonspecular);
	getmessage	$tmp74 $const26 $const29 ___282___nonspecular 	%line{531} %argrw{"wrrw"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:532
# 		C += Cl * (1-__nonspecular) * specularbrdf (normalize (L), N, V, roughness);
	sub		$tmp75 $const11 ___282___nonspecular 	%line{532} %argrw{"wrr"}
	mul		$tmp76 Cl $tmp75 	%argrw{"wrr"}
	normalize	$tmp78 L 	%argrw{"wr"}
	functioncall	$const30 119 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:511
# 	vector H = normalize( L + V );
	add		$tmp79 $tmp78 $tmp72 	%line{511} %argrw{"wrr"}
	normalize	___280_H $tmp79 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:512
# 	return pow (max (0, dot (N, H)), 8 / roughness);
	dot		$tmp82 Nf ___280_H 	%line{512} %argrw{"wrr"}
	max		$tmp81 $const21 $tmp82 	%argrw{"wrr"}
	div		$tmp83 $const32 roughness 	%argrw{"wrr"}
	pow		$tmp80 $tmp81 $tmp83 	%argrw{"wrr"}
	assign		$tmp77 $tmp80 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:532
# 		C += Cl * (1-__nonspecular) * specularbrdf (normalize (L), N, V, roughness);
	mul		$tmp84 $tmp76 $tmp77 	%line{532} %argrw{"wrr"}
	add		___281_C ___281_C $tmp84 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:534
# 	return C;
	assign		$tmp70 ___281_C 	%line{534} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:50
#            + Ks*specular(Nf,-normalize(I),roughness);
	mul		$tmp85 Ks $tmp70 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{50} %argrw{"wrr"}
	add		C $tmp69 $tmp85 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\starball.osl:34
# }
	mul		C C opacity 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\starball.osl"} %line{34} %argrw{"wrr"}
	end
