Page 2 of 2

Re: Indigo Renderer 4.0.41 Beta Release

Posted: Fri Jul 29, 2016 2:45 am
by OnoSendai
Eneen wrote:I think, that after editing and saving in .41 material can't be opened, I get error:

Code: Select all

Error: Failed to parse material: Failed to find expected element 'diffuse_albedo_spectrum'. (In element 'scenedata / material / phong'): <phong> <diffuse_albedo> <constant> <rgb> <rgb>0.850003814755 0.850003...
Exponent group is removed in mat definition but after adding it manually material works:

Code: Select all

<exponent>
		<constant>5000</constant>
</exponent>

Code: Select all

[/quote]

Interesting.  Which material are you saving and loading?

Re: Indigo Renderer 4.0.41 Beta Release

Posted: Fri Jul 29, 2016 2:50 am
by Eneen
Simple phong with texture on roughness and bump slots:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<scenedata>
	<material>
		<name>tynk</name>
		<phong>
			<diffuse_albedo>
				<constant>
					<rgb>
						<rgb>0.850003814755 0.850003814755 0.850003814755</rgb>
						<gamma>2.2</gamma>
					</rgb>
				</constant>
			</diffuse_albedo>
			<exponent>
					<constant>5000</constant>
			</exponent>
			<roughness>
				<texture>
					<path>D:/Lib/Textures/tynk_szum1.jpg</path>
					<b>0.8</b>
					<c>0.7</c>
					<exponent>2.2</exponent>
					<tex_coord_generation>
						<uv>
							<matrix>0.3 0 0 0.3</matrix>
							<translation>0 0</translation>
						</uv>
					</tex_coord_generation>
				</texture>
			</roughness>
			<bump>
				<texture>
					<path>D:/Lib/Textures/tynk_szum1.jpg</path>
					<b>-0.00005</b>
					<exponent>0.45</exponent>
					<tex_coord_generation>
						<uv>
							<matrix>0.3 0 0 0.3</matrix>
							<translation>0 0</translation>
						</uv>
					</tex_coord_generation>
				</texture>
			</bump>
			<fresnel_scale>
					<constant>1</constant>
			</fresnel_scale>
			<ior>1.3</ior>
		</phong>
	</material>
</scenedata>

Re: Indigo Renderer 4.0.41 Beta Release

Posted: Fri Jul 29, 2016 2:55 am
by OnoSendai
Ok, fixed for next release, thanks for bug report.

Re: Indigo Renderer 4.0.41 Beta Release

Posted: Sat Jul 30, 2016 2:34 am
by STUDIO AARON
Nice, my network issues are taken care of.

I really like the contribution clamping, too! Thank you!