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

General questions about Indigo, the scene format, rendering etc...
User avatar
xrok1
Posts: 287
Joined: Wed Jun 13, 2007 11:26 am

Post by xrok1 » Sat Jan 05, 2008 1:52 pm

its starting to sound like a material library in a pigm which dosn't sound like a bad idea either.

1 pigm has all your glass mats/previews, 1 has all your woods/previews etc... would be nice :D

I definatly think the pigm format should at include a preview render, at a predefined resolution so nobody gets carried away. lets say 200x200.

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Sat Jan 05, 2008 3:07 pm

Your site is very impressive dougal2! How do you plan on handling the fact that users are bound to upload IGM files using the current exporters that do not meet the proposed new IGM spec.

Do you plan on validating the uploaded IGM files to make sure they meet the new spec?

Again, really nice work on the site. I look forward to playing around with it.

User avatar
xrok1
Posts: 287
Joined: Wed Jun 13, 2007 11:26 am

Post by xrok1 » Sat Jan 05, 2008 3:17 pm

i just tried uploading an igm and got a cannot upload this file type message.

i changed igm to IGM then i got some php errors.

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

Post by dougal2 » Sat Jan 05, 2008 11:20 pm

which browser are you using xrok1?

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

Post by BbB » Sat Jan 05, 2008 11:53 pm

Hi Dougal,
Tried to recreate an SSS skin mat and failed.
Could not find glossy transparent in the mat/medium
Would not let me set an exponent.
Some options (like gamma) do not correspond to the options in Blendigo (gain).
The mat failed to save.
I couldn't edit it.
Trying again with IGM upload now.

EDIT: One question, how do you suggest handling blended mats? Including perhaps blends of four or six mats...

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Jan 05, 2008 11:58 pm

You didn't find an exponent? O.o
Skin should be ~10-50 (10 = pretty dry, 50 already looks like sweat...)

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

Post by BbB » Sat Jan 05, 2008 11:58 pm

Sorry, I'm being a bit of a loser here.
This is my SSS Skin mat in xml format. Is there any way to upload this?

<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>
- <material>

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

Post by BbB » Sat Jan 05, 2008 11:59 pm

I got the mat Kram. I just can't upload it to Dougal's site...

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Jan 06, 2008 12:00 am

ok, I see :)

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

Post by dougal2 » Sun Jan 06, 2008 12:32 am

BbB,
Glossy transparent is a material in it's own right, it's not a property of Medium.

If you enclose your material XML in

Code: Select all

<?xml version="1.0"?>
<scenedata>
 [...your XML..]
</scenedata>
you will have yourself an IGM file, which should upload fine.

As for nested blends, you can do the same with IGM, so long as each of the dependancies are imported in the correct order.

The Gain value in blendigo is simply a multiplier for each of the RGB values, it's different from Gamma. Fro now you will have to multiply each value yourself, at a later date i wil add some buttons to multiply up the values for you.

Again, the simplest way to import materials to the database is with an IGM - then the gain vaies will have already been applied.

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

Post by dougal2 » Sun Jan 06, 2008 12:46 am

I'm lurking in the IRC this afternoon (GMT) if anyone needs help with the site.
irc.enterthegame.com #indigo
Last edited by dougal2 on Sun Jan 06, 2008 1:58 am, edited 1 time in total.

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

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

Whaat wrote:Your site is very impressive dougal2! How do you plan on handling the fact that users are bound to upload IGM files using the current exporters that do not meet the proposed new IGM spec.

Do you plan on validating the uploaded IGM files to make sure they meet the new spec?

Again, really nice work on the site. I look forward to playing around with it.
IGMs must meet the spec to be accepted. If the importer doesn't find the required elements in the material, the import process will fail.

As I see it now, the next step is to get proper IGM and PIGM support in the exporters... but that's not something I can do.
(and we have to wait for the next indigo to be able to implement .pigm anyway :roll: )

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

Post by Zom-B » Sun Jan 06, 2008 1:42 am

BbB wrote:...This is my SSS Skin mat in xml format...
Testing this Material on an 1.75m human I can say its way to red, and way to transparent :(
polygonmanufaktur.de

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

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

Hi Zomb, that's perhaps because I screwed up when uploading.
I'll have a second try with an IGM now. Keep you posted.

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

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

This is what I'm getting when trying to upload the igm

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: trans

Filename: libraries/Igm_parser.php

Line Number: 244
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Igm_parser::$Media

Filename: libraries/Igm_parser.php

Line Number: 246
Then the file appears on the site but when I try to edit it, it says
Fatal error: Call to a member function generateXML() on a non-object in /home/.maestro/indigomaterials/indigomaterials.uk.to/system/application/imdb/libraries/Glossy_transparent_material.php on line 63
It also says somewhere I need to upload a medium before I can upload my mat. Not sure how to do that.
Oh well, that'll teach me to try and punch above my techie weight...

Post Reply
60 posts

Who is online

Users browsing this forum: No registered users and 13 guests