[BUG] Indigo auto-immune reaction T_T

Feature requests, bug reports and related discussion
Post Reply
6 posts • Page 1 of 1
User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

[BUG] Indigo auto-immune reaction T_T

Post by Maluminas » Sun Feb 18, 2007 2:53 am

I exported a scene with the latest blender experter, idited the xml to get the SSS mat i wated but it wont render.

I keep getting the error Found unexpected element "ior" in element "medium". Im like "what the hell..."

I checked the xml and everything was ok. I then removed the ior element just to see what would happen. Then i got another error: Found unexpected element "cauchy_b_coeff" in element "medium". Now im like "Riiiight..."

I remove it and just as i expected i got the error Found unexpected element "absorption_coefficient_spectrum" in element "medium". At this point i stopped because it is clear that it was just gonna make me erase half the xml, even thought its perfectly correct.

What the hell is happening? Is indigo having an auto-immune reaction or what... I used the latest blender exporter with Indigo 0.7t3 and t5.

Here is my code, copy-pasted from the documentation and modified. It should work right?

Code: Select all

	<medium>
		<name>Material</name>

		<ior>1.5</ior>
		<cauchy_b_coeff>0.00</cauchy_b_coeff>

		<absorption_coefficient_spectrum>
			<rgb>
				<rgb>.75 .5 1</rgb>
			</rgb>
		</absorption_coefficient_spectrum>

		<subsurface_scattering>
			<scattering_coefficient_spectrum>
				<uniform>
					<value>10</value>
				</uniform>
			</scattering_coefficient_spectrum>
			<phase_function>
				<uniform/>
			</phase_function>
		</subsurface_scattering>
	</medium>

	<material>
		<name>Material</name>
		<glossy_transparent>
			<exponent>5000.000</exponent>
			<internal_medium_name>Material</internal_medium_name>
		</glossy_transparent>
	</material>

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: [BUG] Indigo auto-immune reaction T_T

Post by fused » Sun Feb 18, 2007 3:04 am

Code: Select all

	<medium>
		<name>Material</name>

		<basic>

		<ior>1.5</ior>
		<cauchy_b_coeff>0.00</cauchy_b_coeff>

		<absorption_coefficient_spectrum>
			<rgb>
				<rgb>.75 .5 1</rgb>
			</rgb>
		</absorption_coefficient_spectrum>

		<subsurface_scattering>
			<scattering_coefficient_spectrum>
				<uniform>
					<value>10</value>
				</uniform>
			</scattering_coefficient_spectrum>
			<phase_function>
				<uniform/>
			</phase_function>
		</subsurface_scattering>
		</basic>
	</medium>

	<material>
		<name>Material</name>
		<glossy_transparent>
			<exponent>5000.000</exponent>
			<internal_medium_name>Material</internal_medium_name>
		</glossy_transparent>
	</material>

seems the exporter doesnt export the <basic> tag


had the same problem, took me 2 hours to find out...


edit: it is veeeeery helpful to read the changes ono makes to the xml format carefully :wink:

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Sun Feb 18, 2007 3:16 am

yes.... its all about the <basic> ^^
was confused first time I read this error message on my screen too...
polygonmanufaktur.de

User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

Post by Maluminas » Sun Feb 18, 2007 3:20 am

Ok it works now... almost... now i got the Orthogonal matrix bug, i thought this was fixed in the exporter... how can i fix it myself?

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Sun Feb 18, 2007 5:24 am

select the object in blender and press CTRL-A to fix that

User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

Post by Maluminas » Sun Feb 18, 2007 9:54 am

Thanks all, it works now. :D

But couldnt these issues be fixed by the exporter? It would save a lot of hand-edit hell :?

Post Reply
6 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 23 guests