OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface greenmarble	%meta{string,description,"Marble, green, procedural"} 
param	float	Ka	0.1		%meta{string,description,"Ambient scaling"} %meta{float,UImin,0} %meta{float,UIsoftmax,1}  %read{121,121} %write{2147483647,-1}
param	float	Kd	0.60000002		%meta{string,description,"Diffuse scaling"} %meta{float,UImin,0} %meta{float,UIsoftmax,1}  %read{139,139} %write{2147483647,-1}
param	float	Ks	0.40000001		%meta{string,description,"Specular scaling"} %meta{float,UImin,0} %meta{float,UIsoftmax,1}  %read{165,165} %write{2147483647,-1}
param	float	roughness	0.1		%meta{string,description,"Surface roughness (specular highlight size)"} %meta{float,UImin,0} %meta{float,UImax,1} %meta{string,UIenabler,"Ks"}  %read{159,159} %write{2147483647,-1}
param	color	specularcolor	1 1 1		%meta{string,description,"Specular highlight color"} %meta{string,UIenabler,"Ks"}  %read{2147483647,-1} %write{2147483647,-1}
param	color	darkcolor	0.0099999998 0.12 0.0040000002		%meta{string,description,"Base marble color #1"}  %read{56,56} %write{2147483647,-1}
param	color	lightcolor	0.059999999 0.18000001 0.02		%meta{string,description,"Base marble color #2"}  %read{56,56} %write{2147483647,-1}
param	color	veincolor	0.47 0.56999999 0.029999999		%meta{string,description,"Vein color"}  %read{109,109} %write{2147483647,-1}
param	float	veinfreq	1		%meta{string,description,"Vein frequency"}  %read{83,83} %write{2147483647,-1} %derivs
param	float	sharpness	25		%meta{string,description,"Vein sharpness"}  %read{97,97} %write{2147483647,-1}
param	point	Pref	0 0 0		%meta{string,description,"Reference pose (defaults to P)"}  %read{2,2} %write{0,0} %derivs %initexpr
param	string	shadingspace	"shader"		%meta{string,description,"Shading space"} %meta{string,UItype,"coordsys"}  %read{2,2} %write{2147483647,-1} %derivs
param	float	shadingfreq	1		%meta{string,description,"Shading frequency"}  %read{3,3} %write{2147483647,-1} %derivs
global	point	P	%read{0,148} %write{2147483647,-1} %derivs
global	vector	I	%read{113,142} %write{2147483647,-1}
global	normal	N	%read{110,110} %write{2147483647,-1}
global	normal	Ng	%read{113,113} %write{2147483647,-1}
global	color	C	%read{167,167} %write{166,167}
global	color	opacity	%read{167,167} %write{2147483647,-1}
global	vector	L	%read{132,153} %write{2147483647,-1}
global	color	Cl	%read{130,152} %write{2147483647,-1}
local	color	___278_C	%read{124,138} %write{123,137}
local	float	___279___nondiffuse	%read{124,137} %write{124,137}
local	vector	___280_H	%read{146,163} %write{146,163}
local	color	___281_C	%read{146,164} %write{145,163}
local	float	___282___nonspecular	%read{146,163} %write{146,163}
local	float	___291_x0	%read{11,52} %write{11,52}
local	float	___291_x1	%read{11,52} %write{11,52}
local	float	___291_result	%read{11,52} %write{11,52}
local	float	___325_amp	%read{62,76} %write{58,76} %derivs
local	point	___325_pp	%read{62,76} %write{59,76} %derivs
local	vector	___325_sum	%read{62,77} %write{60,76} %derivs
local	float	___325_fw	%read{62,76} %write{61,76} %derivs
local	float	___325_i	%read{62,76} %write{62,76}
local	float	___341_amp	%read{11,52} %write{7,52}
local	point	___341_pp	%read{11,52} %write{8,52} %derivs
local	float	___341_sum	%read{11,53} %write{9,52}
local	float	___341_fw	%read{11,52} %write{10,52} %derivs
local	float	___341_i	%read{11,52} %write{11,52}
local	float	___343_n	%read{11,52} %write{11,52} %derivs
local	point	PP	%read{4,104} %write{3,83} %derivs
local	float	dPP	%read{10,88} %write{5,5} %derivs
local	float	turb	%read{55,103} %write{54,103}
local	color	Ct	%read{62,141} %write{56,109}
local	float	turbsum	%read{84,109} %write{81,108}
local	float	freq	%read{84,103} %write{82,103}
local	float	i	%read{84,103} %write{84,103}
local	normal	Nf	%read{125,157} %write{116,117}
temp	point	$tmp1	%read{3,3} %write{2,2} %derivs
const	string	$const1	"transform"		%read{1,1} %write{2147483647,-1}
const	string	$const2	"common"		%read{2,2} %write{2147483647,-1}
temp	float	$tmp2	%read{5,5} %write{4,4} %derivs
const	float	$const3	0.5		%read{21,78} %write{2147483647,-1}
temp	float	$tmp3	%read{54,54} %write{53,53}
const	float	$const5	5		%read{13,13} %write{2147483647,-1}
const	float	$const7	2		%read{49,105} %write{2147483647,-1}
const	string	$const8	"turbulence"		%read{6,6} %write{2147483647,-1}
const	int	$const9	1		%read{7,82} %write{2147483647,-1}
const	int	$const10	0		%read{9,149} %write{2147483647,-1}
temp	int	$tmp4	%read{11,52} %write{11,52}
const	string	$const11	"filteredsnoise"		%read{14,89} %write{2147483647,-1}
temp	float	$tmp5	%read{18,18} %write{15,15} %derivs
temp	float	$tmp6	%read{17,17} %write{16,16} %derivs
const	float	$const12	0.2		%read{16,91} %write{2147483647,-1}
const	float	$const13	0.75		%read{16,91} %write{2147483647,-1}
temp	float	$tmp7	%read{18,18} %write{17,17} %derivs
const	float	$const14	1		%read{17,151} %write{2147483647,-1}
temp	float	$tmp8	%read{46,46} %write{45,45}
temp	float	$tmp9	%read{21,44} %write{19,19}
const	string	$const15	"filteredabs"		%read{20,20} %write{2147483647,-1}
temp	float	$tmp10	%read{22,22} %write{21,21}
temp	float	$tmp11	%read{25,25} %write{24,24}
temp	int	$tmp12	%read{26,26} %write{25,25}
temp	int	$tmp13	%read{27,31} %write{26,30}
const	float	$const16	0		%read{28,158} %write{2147483647,-1}
temp	int	$tmp14	%read{29,29} %write{28,28}
temp	int	$tmp15	%read{30,30} %write{29,29}
temp	float	$tmp16	%read{43,43} %write{37,37}
const	string	$const17	"integral"		%read{33,38} %write{2147483647,-1}
temp	float	$tmp17	%read{35,35} %write{34,34}
temp	float	$tmp18	%read{36,36} %write{35,35}
temp	float	$tmp19	%read{37,37} %write{36,36}
temp	float	$tmp20	%read{43,43} %write{42,42}
temp	float	$tmp21	%read{40,40} %write{39,39}
temp	float	$tmp22	%read{41,41} %write{40,40}
temp	float	$tmp23	%read{42,42} %write{41,41}
temp	float	$tmp24	%read{44,44} %write{43,43}
temp	float	$tmp25	%read{47,47} %write{46,46}
temp	point	$tmp26	%read{51,51} %write{50,50} %derivs
temp	float	$tmp27	%read{56,56} %write{55,55}
const	float	$const18	0.1		%read{55,55} %write{2147483647,-1}
const	float	$const19	0.34999999		%read{55,55} %write{2147483647,-1}
const	vector	$const20	35.200001 -21.9 6.25		%read{79,79} %write{2147483647,-1}
temp	vector	$tmp29	%read{78,78} %write{77,77} %derivs
const	float	$const22	6		%read{64,64} %write{2147483647,-1}
const	string	$const23	"vfBm"		%read{57,57} %write{2147483647,-1}
temp	int	$tmp30	%read{62,76} %write{62,76}
temp	vector	$tmp31	%read{70,70} %write{69,69} %derivs
const	string	$const24	"filteredvsnoise"		%read{65,65} %write{2147483647,-1}
temp	vector	$tmp32	%read{69,69} %write{66,66} %derivs
temp	float	$tmp33	%read{68,68} %write{67,67} %derivs
temp	float	$tmp34	%read{69,69} %write{68,68} %derivs
temp	vector	$tmp35	%read{71,71} %write{70,70} %derivs
temp	point	$tmp36	%read{75,75} %write{74,74} %derivs
temp	vector	$tmp37	%read{79,79} %write{78,78} %derivs
temp	vector	$tmp38	%read{80,80} %write{79,79} %derivs
const	int	$const25	3		%read{86,86} %write{2147483647,-1}
temp	int	$tmp39	%read{84,103} %write{84,103}
temp	float	$tmp40	%read{94,94} %write{93,93}
temp	point	$tmp41	%read{90,90} %write{87,87}
temp	float	$tmp42	%read{91,91} %write{88,88}
temp	float	$tmp43	%read{93,93} %write{90,90}
temp	float	$tmp44	%read{92,92} %write{91,91}
temp	float	$tmp45	%read{93,93} %write{92,92}
temp	float	$tmp46	%read{98,98} %write{97,97}
temp	float	$tmp47	%read{97,97} %write{96,96}
const	float	$const26	0.80000001		%read{96,96} %write{2147483647,-1}
temp	float	$tmp48	%read{96,96} %write{95,95}
temp	float	$tmp49	%read{100,100} %write{99,99}
temp	float	$tmp50	%read{101,101} %write{100,100}
temp	float	$tmp51	%read{108,108} %write{107,107}
const	float	$const27	-0.1		%read{107,107} %write{2147483647,-1}
const	float	$const28	0.050000001		%read{107,107} %write{2147483647,-1}
temp	float	$tmp52	%read{107,107} %write{106,106}
const	vector	$const29	-4.4000001 8.3400002 27.1		%read{104,104} %write{2147483647,-1}
temp	point	$tmp54	%read{105,105} %write{104,104}
temp	point	$tmp55	%read{106,106} %write{105,105}
temp	normal	$tmp56	%read{116,117} %write{110,110}
const	string	$const30	"faceforward"		%read{111,112} %write{2147483647,-1}
temp	float	$tmp57	%read{114,114} %write{113,113}
temp	int	$tmp58	%read{115,115} %write{114,114}
const	string	$const31	"MaterialPlastic"		%read{119,119} %write{2147483647,-1}
temp	color	$tmp59	%read{121,121} %write{120,120}
temp	color	$tmp60	%read{124,140} %write{121,137}
temp	color	$tmp61	%read{139,139} %write{138,138}
const	string	$const32	"diffuse"		%read{122,122} %write{2147483647,-1}
const	float	$const33	1.5707964		%read{125,148} %write{2147483647,-1}
temp	int	$tmp62	%read{124,137} %write{124,137}
temp	int	$tmp63	%read{2147483647,-1} %write{128,128}
const	string	$const34	"light"		%read{128,150} %write{2147483647,-1}
const	string	$const35	"__nondiffuse"		%read{128,128} %write{2147483647,-1}
temp	float	$tmp64	%read{130,130} %write{129,129}
temp	color	$tmp65	%read{136,136} %write{130,130}
temp	color	$tmp66	%read{136,136} %write{135,135}
temp	color	$tmp67	%read{135,135} %write{131,131}
temp	float	$tmp68	%read{134,134} %write{133,133}
temp	vector	$tmp69	%read{133,133} %write{132,132}
temp	color	$tmp70	%read{135,135} %write{134,134}
temp	color	$tmp71	%read{124,137} %write{124,137}
temp	color	$tmp72	%read{140,140} %write{139,139}
temp	color	$tmp73	%read{141,141} %write{140,140}
temp	color	$tmp74	%read{146,166} %write{141,163}
temp	color	$tmp75	%read{165,165} %write{164,164}
temp	vector	$tmp76	%read{143,143} %write{142,142}
temp	vector	$tmp77	%read{146,163} %write{143,163}
const	string	$const36	"specular"		%read{144,144} %write{2147483647,-1}
temp	int	$tmp78	%read{146,163} %write{146,163}
temp	int	$tmp79	%read{2147483647,-1} %write{150,150}
const	string	$const37	"__nonspecular"		%read{150,150} %write{2147483647,-1}
temp	float	$tmp80	%read{152,152} %write{151,151}
temp	color	$tmp81	%read{162,162} %write{152,152}
temp	color	$tmp82	%read{162,162} %write{161,161}
temp	vector	$tmp83	%read{155,155} %write{153,153}
const	string	$const38	"specularbrdf"		%read{154,154} %write{2147483647,-1}
temp	vector	$tmp84	%read{156,156} %write{155,155}
temp	float	$tmp85	%read{161,161} %write{160,160}
temp	float	$tmp86	%read{160,160} %write{158,158}
temp	float	$tmp87	%read{158,158} %write{157,157}
temp	float	$tmp88	%read{160,160} %write{159,159}
const	float	$const40	8		%read{159,159} %write{2147483647,-1}
temp	color	$tmp89	%read{146,163} %write{146,163}
temp	color	$tmp90	%read{166,166} %write{165,165}
code Pref
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:88
#     string shadingspace = "shader"
	assign		Pref P 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{88} %argrw{"wr"}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:96
#     float dPP = sqrt(area(PP));
	functioncall	$const1 3 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{96} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:249
# color  mix (color  x, color  y, color  a) { return x*(1-a) + y*a; }
	transform	$tmp1 $const2 shadingspace Pref 	%filename{"D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h"} %line{249} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:96
#     float dPP = sqrt(area(PP));
	mul		PP shadingfreq $tmp1 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{96} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:97
# 
	area		$tmp2 PP 	%line{97} %argrw{"wr"} %argderivs{1}
	sqrt		dPP $tmp2 	%argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:101
#     color Ct = mix (darkcolor, lightcolor, smoothstep(0.1,.35,turb));
	functioncall	$const8 54 	%line{101} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:263
# }
	assign		___341_amp $const9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\noises.h"} %line{263} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:264
# 
	assign		___341_pp PP 	%line{264} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:265
# 
	assign		___341_sum $const10 	%line{265} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:266
# // Simplified version for easy use (careful -- it takes derivatives)
	assign		___341_fw dPP 	%line{266} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:269
# 
	for		$tmp4 13 14 52 53 	%line{269} %argrw{"r"}
	assign		___341_i $const10 	%argrw{"wr"}
	lt		$tmp4 ___341_i $const5 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:270
# 
	functioncall	$const11 19 	%line{270} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:62
#     return snoise(p) * (1-smoothstep (FILTLOW,FILTHIGH,width));
	snoise		$tmp5 ___341_pp 	%line{62} %argrw{"wr"}
	smoothstep	$tmp6 $const12 $const13 ___341_fw 	%argrw{"wrrr"}
	sub		$tmp7 $const14 $tmp6 	%argrw{"wrr"}
	mul		___343_n $tmp5 $tmp7 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:271
# 	sum += amp * filteredabs (n, filterwidth(n));
	filterwidth	$tmp9 ___343_n 	%line{271} %argrw{"wr"} %argderivs{1}
	functioncall	$const15 46 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:54
#     float x0 = x - 0.5*dx;
	mul		$tmp10 $const3 $tmp9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\patterns.h"} %line{54} %argrw{"wrr"}
	sub		___291_x0 ___343_n $tmp10 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:55
#     float x1 = x0 + dx;
	add		___291_x1 ___291_x0 $tmp9 	%line{55} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:61
#     if (x0 * x1 >= 0 || dx == 0.0)
	mul		$tmp11 ___291_x0 ___291_x1 	%line{61} %argrw{"wrr"}
	ge		$tmp12 $tmp11 $const10 	%argrw{"wrr"}
	neq		$tmp13 $tmp12 $const10 	%argrw{"wrr"}
	if		$tmp13 28 31 	%argrw{"r"}
	eq		$tmp14 $tmp9 $const16 	%argrw{"wrr"}
	neq		$tmp15 $tmp14 $const10 	%argrw{"wrr"}
	assign		$tmp13 $tmp15 	%argrw{"wr"}
	if		$tmp13 33 45 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:62
#         result = abs(x);
	abs		___291_result ___343_n 	%line{62} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:64
#         result = (integral(x1) - integral(x0)) / dx;
	functioncall	$const17 38 	%line{64} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:51
# 	return sign(t) * 0.5 * t*t;
	sign		$tmp17 ___291_x1 	%line{51} %argrw{"wr"}
	mul		$tmp18 $tmp17 $const3 	%argrw{"wrr"}
	mul		$tmp19 $tmp18 ___291_x1 	%argrw{"wrr"}
	mul		$tmp16 $tmp19 ___291_x1 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:64
#         result = (integral(x1) - integral(x0)) / dx;
	functioncall	$const17 43 	%line{64} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:51
# 	return sign(t) * 0.5 * t*t;
	sign		$tmp21 ___291_x0 	%line{51} %argrw{"wr"}
	mul		$tmp22 $tmp21 $const3 	%argrw{"wrr"}
	mul		$tmp23 $tmp22 ___291_x0 	%argrw{"wrr"}
	mul		$tmp20 $tmp23 ___291_x0 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:64
#         result = (integral(x1) - integral(x0)) / dx;
	sub		$tmp24 $tmp16 $tmp20 	%line{64} %argrw{"wrr"}
	div		___291_result $tmp24 $tmp9 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\patterns.h:65
#     return result;
	assign		$tmp8 ___291_result 	%line{65} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:271
# //    octaves        max # of octaves to calculate
	mul		$tmp25 ___341_amp $tmp8 	%filename{"D:/xrt.git\\src\\osl\\shaders\\noises.h"} %line{271} %argrw{"wrr"}
	add		___341_sum ___341_sum $tmp25 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:272
# //    lacunarity     frequency spacing between successive octaves
	mul		___341_amp ___341_amp $const3 	%line{272} %argrw{"wrr"}
	mul		___341_fw ___341_fw $const7 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:273
# //    gain           scaling factor between successive octaves
	mul		$tmp26 ___341_pp $const7 	%line{273} %argrw{"wrr"}
	add		___341_pp $tmp26 $const14 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:269
#     for (i = 0;  i < octaves;  i += 1) {
	add		___341_i ___341_i $const14 	%line{269} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:275
#     return sum;
	assign		$tmp3 ___341_sum 	%line{275} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:101
#     color Ct = mix (darkcolor, lightcolor, smoothstep(0.1,.35,turb));
	mul		turb $const3 $tmp3 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{101} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:102
# 
	smoothstep	$tmp27 $const18 $const19 turb 	%line{102} %argrw{"wrrr"}
	mix		Ct darkcolor lightcolor $tmp27 	%argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:107
# 
	functioncall	$const23 78 	%line{107} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:150
# #ifndef PATTERNS_H
	assign		___325_amp $const9 	%filename{"D:/xrt.git\\src\\osl\\shaders\\noises.h"} %line{150} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:151
# #include "patterns.h"    /* Needed for filteredabs */
	assign		___325_pp PP 	%line{151} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:152
# #endif
	assign		___325_sum $const10 	%line{152} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:153
# 
	assign		___325_fw dPP 	%line{153} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:156
# #ifndef FILTLOW
	for		$tmp30 64 65 76 77 	%line{156} %argrw{"r"}
	assign		___325_i $const10 	%argrw{"wr"}
	lt		$tmp30 ___325_i $const22 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:157
# #  define FILTLOW 0.2
	functioncall	$const24 70 	%line{157} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:72
#     return ((vector)snoise(p)) * (1-smoothstep (FILTLOW,FILTHIGH,width));
	snoise		$tmp32 ___325_pp 	%line{72} %argrw{"wr"}
	smoothstep	$tmp33 $const12 $const13 ___325_fw 	%argrw{"wrrr"}
	sub		$tmp34 $const14 $tmp33 	%argrw{"wrr"}
	mul		$tmp31 $tmp32 $tmp34 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:157
# 	sum += amp * filteredvsnoise (pp, fw);
	mul		$tmp35 ___325_amp $tmp31 	%line{157} %argrw{"wrr"}
	add		___325_sum ___325_sum $tmp35 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:158
# 	amp *= gain;  fw *= lacunarity;
	mul		___325_amp ___325_amp $const3 	%line{158} %argrw{"wrr"}
	mul		___325_fw ___325_fw $const7 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:159
#         pp = pp * lacunarity + 1;  // multiply and offset
	mul		$tmp36 ___325_pp $const7 	%line{159} %argrw{"wrr"}
	add		___325_pp $tmp36 $const14 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:156
#     for (i = 0;  i < octaves;  i += 1) {
	add		___325_i ___325_i $const14 	%line{156} %argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:161
#     return sum;
	assign		$tmp29 ___325_sum 	%line{161} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:107
# 
	mul		$tmp37 $const3 $tmp29 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{107} %argrw{"wrr"}
	add		$tmp38 $const20 $tmp37 	%argrw{"wrr"}
	add		PP PP $tmp38 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:110
#     float freq = 1;
	assign		turbsum $const10 	%line{110} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:111
#     PP *= veinfreq;
	assign		freq $const9 	%line{111} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:112
#     float i;
	mul		PP PP veinfreq 	%line{112} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:114
# 	turb = abs (filteredsnoise (PP*freq, dPP*freq));
	for		$tmp39 86 87 103 104 	%line{114} %argrw{"r"}
	assign		i $const10 	%argrw{"wr"}
	lt		$tmp39 i $const25 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:115
# 	turb = pow (smoothstep (0.8, 1, 1 - turb), sharpness) / freq;
	mul		$tmp41 PP freq 	%line{115} %argrw{"wrr"}
	mul		$tmp42 dPP freq 	%argrw{"wrr"}
	functioncall	$const11 94 	%argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\noises.h:62
#     return snoise(p) * (1-smoothstep (FILTLOW,FILTHIGH,width));
	snoise		$tmp43 $tmp41 	%filename{"D:/xrt.git\\src\\osl\\shaders\\noises.h"} %line{62} %argrw{"wr"}
	smoothstep	$tmp44 $const12 $const13 $tmp42 	%argrw{"wrrr"}
	sub		$tmp45 $const14 $tmp44 	%argrw{"wrr"}
	mul		$tmp40 $tmp43 $tmp45 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:115
# surface
	abs		turb $tmp40 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{115} %argrw{"wr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:116
# greenmarble
	sub		$tmp48 $const14 turb 	%line{116} %argrw{"wrr"}
	smoothstep	$tmp47 $const26 $const14 $tmp48 	%argrw{"wrrr"}
	pow		$tmp46 $tmp47 sharpness 	%argrw{"wrr"}
	div		turb $tmp46 freq 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:117
#     [[ string description = "Marble, green, procedural" ]]
	sub		$tmp49 $const14 turbsum 	%line{117} %argrw{"wrr"}
	mul		$tmp50 $tmp49 turb 	%argrw{"wrr"}
	add		turbsum turbsum $tmp50 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:118
# (
	mul		freq freq $const7 	%line{118} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:114
# 	turb = abs (filteredsnoise (PP*freq, dPP*freq));
	add		i i $const14 	%line{114} %argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:120
# 
	add		$tmp54 PP $const29 	%line{120} %argrw{"wrr"}
	mul		$tmp55 $const7 $tmp54 	%argrw{"wrr"}
	snoise		$tmp52 $tmp55 	%argrw{"wr"}
	smoothstep	$tmp51 $const27 $const28 $tmp52 	%argrw{"wrrr"}
	mul		turbsum turbsum $tmp51 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:122
#   
	mix		Ct Ct veincolor turbsum 	%line{122} %argrw{"wrrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:125
#     C = MaterialPlastic (Nf, Ct, Ka, Kd, Ks, roughness);
	normalize	$tmp56 N 	%line{125} %argrw{"wr"}
	functioncall	$const30 119 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:196
#     normal name (normal x, float y) BUILTIN;    \
	functioncall	$const30 119 	%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		$tmp57 I Ng 	%line{192} %argrw{"wrr"}
	gt		$tmp58 $tmp57 $const10 	%argrw{"wrr"}
	if		$tmp58 117 118 	%argrw{"r"}
	neg		Nf $tmp56 	%argrw{"wr"}
	assign		Nf $tmp56 	%argrw{"wr"}
	return
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:126
#     C *= opacity;
	functioncall	$const31 167 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{126} %argrw{"r"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:49
#     return basecolor * (Ka*ambient() + Kd*diffuse(Nf))
	ambient		$tmp59 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{49} %argrw{"w"}
	mul		$tmp60 Ka $tmp59 	%argrw{"wrr"}
	functioncall	$const32 139 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:501
#     float spacescale = length(transform(space, dir));
	assign		___278_C $const10 	%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		$tmp62 126 127 138 138 	%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 $const33 	%line{507} %argrw{"rrr"}
	lights		$tmp62 P Nf $const33 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:504
# 		float __nondiffuse = 0;
	assign		___279___nondiffuse $const10 	%line{504} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:505
# 		getmessage ("light", "__nondiffuse", __nondiffuse);
	getmessage	$tmp63 $const34 $const35 ___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		$tmp64 $const14 ___279___nondiffuse 	%line{506} %argrw{"wrr"}
	mul		$tmp65 Cl $tmp64 	%argrw{"wrr"}
	assign		$tmp67 $const16 	%argrw{"wr"}
	normalize	$tmp69 L 	%argrw{"wr"}
	dot		$tmp68 Nf $tmp69 	%argrw{"wrr"}
	assign		$tmp70 $tmp68 	%argrw{"wr"}
	max		$tmp66 $tmp67 $tmp70 	%argrw{"wrr"}
	mul		$tmp71 $tmp65 $tmp66 	%argrw{"wrr"}
	add		___278_C ___278_C $tmp71 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:508
# 	return C;
	assign		$tmp61 ___278_C 	%line{508} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:49
#     return basecolor * (Ka*ambient() + Kd*diffuse(Nf))
	mul		$tmp72 Kd $tmp61 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{49} %argrw{"wrr"}
	add		$tmp73 $tmp60 $tmp72 	%argrw{"wrr"}
	mul		$tmp74 Ct $tmp73 	%argrw{"wrr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:50
#            + Ks*specular(Nf,-normalize(I),roughness);
	normalize	$tmp76 I 	%line{50} %argrw{"wr"}
	neg		$tmp77 $tmp76 	%argrw{"wr"}
	functioncall	$const36 165 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:527
# float stof (string str) BUILTIN;
	assign		___281_C $const10 	%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		$tmp78 148 149 164 164 	%line{529} %argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:533
# }
	lights_begin	P Nf $const33 	%line{533} %argrw{"rrr"}
	lights		$tmp78 P Nf $const33 	%argrw{"wrrr"} %argderivs{1}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:530
# 		float __nonspecular = 0;
	assign		___282___nonspecular $const10 	%line{530} %argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:531
# 		getmessage ("light", "__nonspecular", __nonspecular);
	getmessage	$tmp79 $const34 $const37 ___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		$tmp80 $const14 ___282___nonspecular 	%line{532} %argrw{"wrr"}
	mul		$tmp81 Cl $tmp80 	%argrw{"wrr"}
	normalize	$tmp83 L 	%argrw{"wr"}
	functioncall	$const38 162 	%argrw{"r"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:511
# 	vector H = normalize( L + V );
	add		$tmp84 $tmp83 $tmp77 	%line{511} %argrw{"wrr"}
	normalize	___280_H $tmp84 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:512
# 	return pow (max (0, dot (N, H)), 8 / roughness);
	dot		$tmp87 Nf ___280_H 	%line{512} %argrw{"wrr"}
	max		$tmp86 $const16 $tmp87 	%argrw{"wrr"}
	div		$tmp88 $const40 roughness 	%argrw{"wrr"}
	pow		$tmp85 $tmp86 $tmp88 	%argrw{"wrr"}
	assign		$tmp82 $tmp85 	%argrw{"wr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:532
# 		C += Cl * (1-__nonspecular) * specularbrdf (normalize (L), N, V, roughness);
	mul		$tmp89 $tmp81 $tmp82 	%line{532} %argrw{"wrr"}
	add		___281_C ___281_C $tmp89 	%argrw{"wrr"}
# D:/xrt.git\\build\\vc10\\Win32\\Release\\shaders\\stdosl.h:534
# 	return C;
	assign		$tmp75 ___281_C 	%line{534} %argrw{"wr"}
# D:/xrt.git\\src\\osl\\shaders\\material.h:50
#            + Ks*specular(Nf,-normalize(I),roughness);
	mul		$tmp90 Ks $tmp75 	%filename{"D:/xrt.git\\src\\osl\\shaders\\material.h"} %line{50} %argrw{"wrr"}
	add		C $tmp74 $tmp90 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl:127
#         [[ string description = "Base marble color #2" ]],
	mul		C C opacity 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\greenmarble.osl"} %line{127} %argrw{"wrr"}
	end
