the glass material become black in indigo 2.4.13

Feature requests, bug reports and related discussion
Post Reply
11 posts • Page 1 of 1
chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

the glass material become black in indigo 2.4.13

Post by chiataimakro » Wed Dec 15, 2010 12:06 am

nothing went wrong with this material when previewing, but when i started rendering with the whole scene...

i m new to indigo 2.4, this never happens in 2.2
Attachments
无标题2.jpg
无标题.jpg

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

Re: the glass material become black in indigo 2.4.13

Post by dougal2 » Wed Dec 15, 2010 2:22 am

Which version of Blendigo is that ?

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Re: the glass material become black in indigo 2.4.13

Post by Borgleader » Wed Dec 15, 2010 2:23 am

a) Are the cylinders closed volumes? From this angle I cant see if the end caps are present
b) Did you check that your normals are correct?
benn hired a mercenary to kill my sig...

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: the glass material become black in indigo 2.4.13

Post by CTZn » Wed Dec 15, 2010 4:43 am

I second borgleader.

Absorbtion may be too strong.

It is not good to interrsect glass and other materials. You must change the column or the walls (boolean difference plus a distance between surfaces).
obsolete asset

chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

Re: the glass material become black in indigo 2.4.13

Post by chiataimakro » Wed Dec 15, 2010 4:57 pm

dougal2 wrote:Which version of Blendigo is that ?
blendigo 2.4 stable. maybe i should rebuild this material in 2.4, instead of moving it to 2.4 from 2.2

chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

Re: the glass material become black in indigo 2.4.13

Post by chiataimakro » Wed Dec 15, 2010 5:00 pm

Borgleader wrote:a) Are the cylinders closed volumes? From this angle I cant see if the end caps are present
b) Did you check that your normals are correct?
thankyou but i m quite sure there's nothing wrong in modeling: it does have caps and, all face normals are correct. this model works quite well with indigo 2.2

chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

Re: the glass material become black in indigo 2.4.13

Post by chiataimakro » Thu Dec 16, 2010 1:24 am

i replaced the glass material with a diffuse one. it's still black.

it's a shame that i have to switch the whole project back to indigo 2.2. at least in 2.2 everyting works.

btw why shouldnt i intersect glass meshes with other meshes, that i always do?

User avatar
Headroom
Indigo 100
Posts: 1058
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: the glass material become black in indigo 2.4.13

Post by Headroom » Thu Dec 16, 2010 2:10 am

chiataimakro wrote:btw why shouldnt i intersect glass meshes with other meshes, that i always do?

It may not really help you to fix this particular problem but it is generally a good practice.

The reason for not intersection Glass are the same reasons why glass materials shoulsd only be assinged to closed volumes e.g cylinders with caps.

Glass has a medium inside so to speak. When you intersect Glass with another material indigo needs to know which of the two need to be rendered. For example the typical wine glass filled with wine is modelled with two intersecting volumes One for the glass and one for the wine. You would need to use the "precedence" setting to tell Indigo which of the two materials to render in the intersecting/overlapping volume.

chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

Re: the glass material become black in indigo 2.4.13

Post by chiataimakro » Thu Dec 16, 2010 5:08 pm

You would need to use the "precedence" setting to tell Indigo which of the two materials to render in the intersecting/overlapping volume.
thankyou for your explaination, i m now changing the settings. btw, as you described, intersecting two glass material is not good. but what about intersecting glass with non-transparent materials like phong or diffuse? in which order indigo considers about them?

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: the glass material become black in indigo 2.4.13

Post by CTZn » Thu Dec 16, 2010 6:35 pm

as you described, intersecting two glass material is not good
if they have the same precedence setting :)

Precedence allow nice glass volumes intersection.

Because precedence is only for mediums (glasses, gases, liquids etc), glass and other opaque materials must not intersect for a guaranteed accuracy. There must remain a minimum space of about 0.25 millimeter between such surfaces.

Is it the same IGS file wich works with Indigo 2.2 and don't with 2.4.3 ?

Did you try Indigo 2.6.1 ?
obsolete asset

chiataimakro
Posts: 8
Joined: Tue Dec 14, 2010 11:57 pm

Re: the glass material become black in indigo 2.4.13

Post by chiataimakro » Sun Dec 19, 2010 2:36 pm

well yes the IGS from 2.2 behave abnormally in 2.4.13

i tried the 2.4 exporter, the same result

now i m gonna try 2.6. good luck to myself. and everyone here are very kind thankyou!
Attachments
screen-china.national.flag[1].png
screen-china.national.flag[1].png (9.93 KiB) Viewed 8405 times

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 34 guests