Glass material or a more detailed documentation ?
Glass material or a more detailed documentation ?
Hallo everyone
I try to get a glass material for a window.
Please don't kill me, I'm sure this has been asked a tousand times before but I can't find any helpfuil information in the forum or documentations.
Is there a detailed "how to setup materials" documentation ?
My settings:
Material typ: Specular
Transparent: True
Texture Exponent: Default
Bump Expnent: Default
Bump Size: Default
Medium Typ: Basic
Rest of it: Default
This settings give me the errormessage below (see Glass_Error.png) when I load the file into indigo 0.9 test 6.
If I choose "Dermis" instead of "Basic" as Medium Type then I get just a black area at the place where the glass material should be (see Windows.png).
What do I do wrong ?
Regards
Alain
I try to get a glass material for a window.
Please don't kill me, I'm sure this has been asked a tousand times before but I can't find any helpfuil information in the forum or documentations.
Is there a detailed "how to setup materials" documentation ?
My settings:
Material typ: Specular
Transparent: True
Texture Exponent: Default
Bump Expnent: Default
Bump Size: Default
Medium Typ: Basic
Rest of it: Default
This settings give me the errormessage below (see Glass_Error.png) when I load the file into indigo 0.9 test 6.
If I choose "Dermis" instead of "Basic" as Medium Type then I get just a black area at the place where the glass material should be (see Windows.png).
What do I do wrong ?
Regards
Alain
- Attachments
-
- Glass_Error.png (3.09 KiB) Viewed 3650 times
-
- Windows.png (304.82 KiB) Viewed 3650 times
Last edited by Alain on Sun Aug 26, 2007 1:46 am, edited 1 time in total.
-
- Posts: 289
- Joined: Wed Apr 18, 2007 1:52 am
- Location: Odense, Denmark
Wow you guys are fast ! 
@Kram1032
I tried those settings yet, found it on another website.
I use Cinema 4d 9.1, Cindigo 0.9.1 and Indigo 0.9 Test 6 to render.
What is the "gamma tag" ? Is it a tag in cinema ? where can I find it and how do I set it to the right position ?
@SimonLarsen
The glass has no thickness, just a polygone plane. I will change that.
Regards
Alain

@Kram1032
I tried those settings yet, found it on another website.
I use Cinema 4d 9.1, Cindigo 0.9.1 and Indigo 0.9 Test 6 to render.
What is the "gamma tag" ? Is it a tag in cinema ? where can I find it and how do I set it to the right position ?
@SimonLarsen
The glass has no thickness, just a polygone plane. I will change that.
Regards
Alain
ok, cindigo...
there was a post, recently, where someone reported a bug with that exporter:
the "gamma" tag in the materials has the wrong position....
you have to handedit the igs/xml file - you need an xml editor, for that... (you can use notepad, but it's easier with an editor)
Edit: oh, sorry, it mas a maxigo bug....
anyway, you have to handedit the igs
there was a post, recently, where someone reported a bug with that exporter:
the "gamma" tag in the materials has the wrong position....
you have to handedit the igs/xml file - you need an xml editor, for that... (you can use notepad, but it's easier with an editor)
Edit: oh, sorry, it mas a maxigo bug....
anyway, you have to handedit the igs

Hey Alain...
Cindigo is still in Beta status, so not everything works perfect atm!
Check here for a Bug overview for the last Cindigo release.
I think I'll have to start a Cindigo "Bug Thread".
New users somehow don't care about reading the Cindigo release threads and after they archive problems with this Beta software they start threads before reading existing ones first
Your black glass problem is related to a Cindigo Bug, that flips ALL normals at export,
So you'll have to check that ALL your normals are facing inwards to work with the last release...
Some parameters don't get the gamma tag exported, so you'll have to edit the igs by hand!
Cindigo is still in Beta status, so not everything works perfect atm!
Check here for a Bug overview for the last Cindigo release.
I think I'll have to start a Cindigo "Bug Thread".
New users somehow don't care about reading the Cindigo release threads and after they archive problems with this Beta software they start threads before reading existing ones first

Your black glass problem is related to a Cindigo Bug, that flips ALL normals at export,
So you'll have to check that ALL your normals are facing inwards to work with the last release...
Some parameters don't get the gamma tag exported, so you'll have to edit the igs by hand!
polygonmanufaktur.de
It is in 2 materials.
The first is this one:
<material>
<name>Parkett</name>
<diffuse>
<albedo_spectrum>
<rgb>
<rgb>0.85000 0.85000 0.85000</rgb>
<gamma>2.2</gamma>
</rgb>
</albedo_spectrum>
<albedo_texture>
<uv_set>default</uv_set>
<path>basic019.jpg</path>
<exponent>2.2</exponent>
</albedo_texture>
<bump_map>
<uv_set>default</uv_set>
<path>basic019.jpg</path>
<b>0.001</b>
<exponent>1</exponent>
</bump_map>
</diffuse>
</material>
Second one:
<material>
<name>defaultMat</name>
<diffuse>
<albedo_spectrum>
<rgb>
<rgb>0.85 0.85 0.85</rgb>
<gamma>2.2</gamma>
</rgb>
</albedo_spectrum>
</diffuse>
</material>
<material>
The first is this one:
<material>
<name>Parkett</name>
<diffuse>
<albedo_spectrum>
<rgb>
<rgb>0.85000 0.85000 0.85000</rgb>
<gamma>2.2</gamma>
</rgb>
</albedo_spectrum>
<albedo_texture>
<uv_set>default</uv_set>
<path>basic019.jpg</path>
<exponent>2.2</exponent>
</albedo_texture>
<bump_map>
<uv_set>default</uv_set>
<path>basic019.jpg</path>
<b>0.001</b>
<exponent>1</exponent>
</bump_map>
</diffuse>
</material>
Second one:
<material>
<name>defaultMat</name>
<diffuse>
<albedo_spectrum>
<rgb>
<rgb>0.85 0.85 0.85</rgb>
<gamma>2.2</gamma>
</rgb>
</albedo_spectrum>
</diffuse>
</material>
<material>
I'm not entirely sure, but I think, you should edit it, looking like this:
Code: Select all
<albedo_spectrum>
<rgb>
<rgb>r g b</rgb>
</rgb>
<gamma>2.2</gamma>
</albedo_spectrum>
-
- Posts: 289
- Joined: Wed Apr 18, 2007 1:52 am
- Location: Odense, Denmark
Eman has made a java-based xml editor, but i would just use notepad if i was you.Alain wrote:@Kram1032
btw, which xml editor do you suggest to edit the igs- files ?

edit: Whoops, forgot the url:
http://www.indigorenderer.com/joomla/fo ... hlight=xml
okey!
I found it out now.
I just added a gamma tag, value 2.2, in line 2618 of my igs- file.
Added Thickness to the geometrie of the glass, and set the normals outward but in another case it worked only if I set them inward...
It it renders well now !
I guess this is a bug in the cindigo exporter ?
@Kram1032 and SimonLarsen
I found a good editor for me. Makes it easier to find line Nr. 2618
Regards
Alain
I found it out now.
I just added a gamma tag, value 2.2, in line 2618 of my igs- file.
Added Thickness to the geometrie of the glass, and set the normals outward but in another case it worked only if I set them inward...
It it renders well now !

I guess this is a bug in the cindigo exporter ?
@Kram1032 and SimonLarsen
I found a good editor for me. Makes it easier to find line Nr. 2618

Regards
Alain
Who is online
Users browsing this forum: No registered users and 2 guests