New Indigo material (.igm) format

A forum for exporter development discussion.
User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Jan 23, 2008 12:03 am

Hi guys,
I've updated the spec in the first post.
I've removed the restriction that the IGM must contain a material with the same name as the IGM, and that the PIGM file must contain an IGM file with the same name.

This will make things a little more difficult for plugin writers etc.., but at least people can rename their files now :)

I've also added a requirement that PIGMs must contain a preview image.

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

Post by Whaat » Wed Jan 23, 2008 1:40 am

Sounds better, Ono.

I was wondering if PIGM packing is supposed to work with indigo 1.0.5. I just tested it and Indigo created the PIGM file but it had no data in it.

Thanks.

User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Wed Jan 23, 2008 2:08 am

I've only tested IGS packing, I guess IGM packing doesn't work.

Big Fan
Posts: 745
Joined: Tue Oct 17, 2006 9:37 am
Location: Nelson NZ

Post by Big Fan » Wed Jan 23, 2008 6:57 pm

hey Big O I think 500x500 is unnecessary for a preview how about 250x250? :roll: :wink:

User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Fri Jun 06, 2008 5:12 pm

removed requirement to have PNG preview render in PIGM archive, as it was a bit of a hassle.

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

Post by Whaat » Fri Jun 06, 2008 6:15 pm

OnoSendai wrote:
dougal2 wrote:I have a question about sharing textured materials....

.. what should be given in the <uv_set> tag ?

Users will need to edit this for their models. This makes the whole sharing of materials a little less trivial than simply including a file and launching the render.

Also, if I were to be providing a web materials generator/database what should I put in there as a default?
Just use "default" as the default :)
Ono,

You should probably add to this to the official spec. i ran into this issue when trying to <include> an IGM file.

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

Post by fused » Fri Jun 06, 2008 7:28 pm

+1 on that!

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

Post by BbB » Fri Jun 06, 2008 7:31 pm

... with indigo 1.0.5...
Did I miss something?

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

Post by Whaat » Sat Jun 07, 2008 3:59 pm

Ono,

I still don't think the question about nkdata IGMs has ever been officially answered so i wll ask it yet again.

Are custom nkdata files allowed in the official IGM specification? Are we supposed to export nkdata files when we export the IGM?

My feeling is that the answer to both of these questions should be 'no'. Custom nkdata files are probably pretty useless now that we can use specular reflectivity spectrum.

Please, update the spec with your answer to this question. Thanks!

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sat Jun 07, 2008 8:30 pm

Yeah, I'd like to know the same thing actually.
Would be good to get some kind of a final agreement going on of what should be supported in igm and how.
Maxigo currently exports nk's with the material and expects it from the other igm's too.
Also i think there is a situation where some of the exporter writers (like me and whaat) have some kind of agreement of the whole igm format and others have no clue about it. That creates a kind of a random situation on that "market". Very hard to get the exporters to be compatible that way.
So we really need to mark down the basics of igm format once and for all.
I don't feel like re-doing the thing over and over again anymore.
Thoughts?

Are those specs in the first post of this thread the most current one and valid?

User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jun 07, 2008 8:35 pm

Yes, they're current.
As for custom NK's, well, just avoid them.

User avatar
suvakas
3rd Place Winner
Posts: 2613
Joined: Mon Sep 04, 2006 11:08 pm
Location: Estonia
Contact:

Post by suvakas » Sat Jun 07, 2008 8:45 pm

What should we export, when nk file is used?
Only the name of the nk? No path? Indigo picks the nk itself from the nk dir? Or how this should work?
In the past we agreed, that nk files are threated like textures.

User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jun 07, 2008 9:07 pm

You want to export the path to the nk data file, relative to the base indigo directory, so some thing like "nkdata/Ag.nk"

User avatar
OnoSendai
Developer
Posts: 6237
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Mon Jun 09, 2008 7:49 pm

Updated IGM spec to include the use of the uv_set 'default',
also to forbid custom nk data files.

bubabrown
Posts: 3
Joined: Sun Jul 13, 2008 8:52 am

Post by bubabrown » Sun Jul 13, 2008 9:02 am

Could someone be so kind to explain how to use these material files (Indigo Material Database)? I am using Blender and Blendigo but cannot solve how to use Indigo Material Database.

Thank you very much in advance.

Buba

Post Reply
60 posts

Who is online

Users browsing this forum: No registered users and 1 guest