http://indigomaterials.uk.to/ LAUNCH :)

General questions about Indigo, the scene format, rendering etc...
BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 4:43 am

Here's my igm. I suppose I have to split medium and material... Not sure how...
<?xml version="1.0"?>

<scenedata>

<medium>
<name>ManTrans</name>
<precedence>10</precedence>
<basic>
<ior>1.12</ior>
<cauchy_b_coeff>0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>4.32 8.4691 9.6144</rgb>
<gamma>2.2</gamma>

</rgb>
</absorption_coefficient_spectrum>
<subsurface_scattering>
<scattering_coefficient_spectrum>
<rgb>
<rgb>6.69315 4.9325 4.9325</rgb>
<gamma>2.2</gamma>
</rgb>
</scattering_coefficient_spectrum>
<phase_function>
<uniform/>
</phase_function>
</subsurface_scattering>
</basic>
</medium>
<material>
<name>ManTrans</name>
<glossy_transparent>
<exponent>40</exponent>
<internal_medium_name>ManTrans</internal_medium_name>
</glossy_transparent>
</material>

</scenedata>

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Jan 06, 2008 5:07 am

BbB:
thanks, that first one was a bug .. now fixed.

However, the site won't accept media that have the same name as materials.

try the following

Code: Select all

<?xml version="1.0"?>

<scenedata>
	<medium>
	<name>ManTrans_medium</name>
		<precedence>10</precedence>
		<basic>
			<ior>1.12</ior>
			<cauchy_b_coeff>0</cauchy_b_coeff>
			<absorption_coefficient_spectrum>
				<rgb>
					<rgb>4.32 8.4691 9.6144</rgb>
					<gamma>2.2</gamma>
				</rgb>
			</absorption_coefficient_spectrum>
			<subsurface_scattering>
				<scattering_coefficient_spectrum>
					<rgb>
						<rgb>6.69315 4.9325 4.9325</rgb>
						<gamma>2.2</gamma>
					</rgb>
				</scattering_coefficient_spectrum>
				<phase_function>
					<uniform/>
				</phase_function>
			</subsurface_scattering>
		</basic>
	</medium>

	<material>
		<name>ManTrans</name>
		<glossy_transparent>
			<exponent>40</exponent>
			<internal_medium_name>ManTrans_medium</internal_medium_name>
		</glossy_transparent>
	</material>

</scenedata>
edit: can you let me know the names of any materials/media that you wish to be deleted.. ?

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 5:39 am

Please delete all I've uploaded so far.
Sorry for the cluttering. I'll have one last try with this one as corrected by you.
B

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 5:43 am

Ok. I've now uploaded the corrected IGM and it says:
medium "ManTrans_medium": imported successfully!
Edit ManTrans_medium

glossy_transparent "ManTrans": skipped. Material by this name already exists in the database.
And when I click to edit the medium:

An Error Was Encountered

Unable to load the requested file: edit/medium.php

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Jan 06, 2008 5:53 am

ok, i deleted your mats BbB.

Looks like I really need to implement medium editing/deleting. I'll see about doing it this evening.

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 6:06 am

I'll hold off then. When you're done I'll try again with this one.
Cheers.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Jan 06, 2008 8:09 am

Medium editing should now be working. You can get to the medium editor through the material editor.

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 8:22 am

OK. Now everything seems to be working except the test image. It just refuses to load it.
Also, if there's an error in editing form, it would be good if the site didn't erase all the fields entered previously. It's a little tedious having to rewrite everything.
Finally, consider accepting spaces in material names. It will avoid the "wetdisplacedcobblestoneground" kind of names.

EDIT: Stupid me. The image loads fine.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sun Jan 06, 2008 9:26 am

BbB:
Which exporter do you use? blendigo?

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Sun Jan 06, 2008 10:42 am

Yep

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Mon Jan 07, 2008 3:55 am

I've added 2 video tutorials to the site home page to help get you started.

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Mon Jan 07, 2008 5:40 am

Excellent work, dougal2. I am verily impressed!
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Tue Jan 08, 2008 8:12 am

The site has been updated to accept spaces in material + texture names

BbB
Posts: 1996
Joined: Fri Feb 09, 2007 8:28 am
Location: Berlin
Contact:

Post by BbB » Tue Jan 08, 2008 10:27 am

Cheers Dougal. Thanks for your speedy response.

User avatar
OuiOui
Posts: 59
Joined: Tue Nov 27, 2007 9:49 pm
Location: Bourges
Contact:

Post by OuiOui » Tue Jan 08, 2008 9:31 pm

Still not working with my "Opera9.21" on "Windows XP" :(
It works with Firefox but I don't like Firefox.

Post Reply
60 posts

Who is online

Users browsing this forum: No registered users and 30 guests