strange rendering of thin tinted glass

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
10 posts • Page 1 of 1
User avatar
bioman666
Posts: 32
Joined: Thu Jul 02, 2009 8:50 am
Location: Toulouse, France
Contact:

strange rendering of thin tinted glass

Post by bioman666 » Wed Feb 03, 2010 11:31 pm

Involved versions: SU 7.1.6860 / SKindigo 2.2.9 / Indigo 2.2.12

When I try to render a thin tinted glass layer (50mm thick for 8000*8000mm area), I get this.

I've tried specular (simple) and specular + SSS (this was my original choice, to get that milk effect) but the latter makes Indigo compute for ages to build the scene (many minutes, up to an hour before it gets into the rendering part) and it turns into something black and sparkling, which is not what i expected...

Thin glass material type is the only one that give me some translucency, but there is almost no tuning possibility.

Have you any idea on why i get this ?
Attachments
render 1.png
Indigo render
render 1.png (76.6 KiB) Viewed 3627 times
SU 2.png
SKindigo material setup
SU 2.png (290.63 KiB) Viewed 3629 times
SU 1.jpg
SU setup.
SU 1.jpg (140.97 KiB) Viewed 3629 times

User avatar
fenerolina
Posts: 141
Joined: Sun Mar 15, 2009 12:27 pm
Location: Pyrenees

Re: strange rendering of thin tinted glass

Post by fenerolina » Thu Feb 04, 2010 12:28 am

Did you checked normals? (correct position of model's faces)

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: strange rendering of thin tinted glass

Post by galinette » Thu Feb 04, 2010 12:34 am

I get that times to times with sketchup.

Try:
- Flip normals of your object, then re-apply the material, then render
- Re-do the previous step another time
- Check that there is some space (try 1mm) between the object's bottom and the floor.
- Try a linked IGM instead of a material defined in Skindigo. The absorption parameter of skindigo is sometimes bugged.

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: strange rendering of thin tinted glass

Post by Pibuz » Thu Feb 04, 2010 1:44 am

Hi Bioman666.
First of all, to get a tinted glass you don't need to use SSS: I suggest you DO NOT, instead. Calculating SSS is very heavy, and for plain coloured glass you don't need it. You have to simply set your material type to SPECULAR, and have the attention to give your SU material a slightly coloured shade, generally blueish-greenish. The amount of colour which will be absobed by the geometry is controlled by the opacity slider. Try light colours and an opacity of 10, you should get tinted glass, if your panel isn't too thick. If it is, the amount of colour absorbed will be higher, so you'll get a darker glass: then try to lower the opacity value of SU material.

And always check your normals: be sure you applied your SU glass mat to your white faces (facing outside).

Post the new results please! This should help other new users!

User avatar
bioman666
Posts: 32
Joined: Thu Jul 02, 2009 8:50 am
Location: Toulouse, France
Contact:

Re: strange rendering of thin tinted glass

Post by bioman666 » Thu Feb 04, 2010 1:57 am

Ok thanks for the leads, I've tried to reverse all faces and apply material again, and my thin layer disapeared...

Then I re-reversed the faces and i got my problem right the way it was: black.

@ Galinette: linked IGM gave me the render 3.png image, with the same black thin layer issue.

@ Pizbull: I draw a simple rectangle, pulled it up 50mm, selected all faces (CRTL+A, all faces were white), and applied the material (specular, see screen caption)... the render was empty. I'm getting lost !
Attachments
simple specular render.png
simple specular render.png (323.8 KiB) Viewed 3575 times
simple specular sU.png
SU setup with simple specular thin layer
simple specular sU.png (200.99 KiB) Viewed 3576 times
render 3.png
linked IGM
render 3.png (257.49 KiB) Viewed 3575 times
render 2.png
Indigo Render
render 2.png (319.29 KiB) Viewed 3570 times
SU 2.jpg
SU setup
SU 2.jpg (156.98 KiB) Viewed 3574 times

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

Re: strange rendering of thin tinted glass

Post by Whaat » Thu Feb 04, 2010 4:48 am

Hi,

Use SketchUp monochrome face style and make sure that the front faces are pointing 'out'. I think the problem might be your precedence setting. It is set to '1' which I think is the same as the surrounding air. The glass needs to displace the air so you need to set your precedence higher than 1.

Also, try changing your 'Surface Color' setting to 'None'. Surface color is a new feature and there may still be some bugs lurking with it. :)

User avatar
fenerolina
Posts: 141
Joined: Sun Mar 15, 2009 12:27 pm
Location: Pyrenees

Re: strange rendering of thin tinted glass

Post by fenerolina » Thu Feb 04, 2010 4:58 am

In Sketchup:
view/toolbars/face styles:(look at the picture)
click the last cube on the right, it allows you to see which face has to be reversed or not: Blued faces are wrong, wright faces are white. Once you have all the faces white, apply the material.
bioman666 wrote:my thin layer disapeared...
It desapears because you are trying to take a picture of a thin glass in a total empty space...
Attachments
g.jpg
g.jpg (3.63 KiB) Viewed 3549 times

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: strange rendering of thin tinted glass

Post by Pibuz » Thu Feb 04, 2010 5:41 am

Done a little test scene, which I attach.
Just match the differences between your scene and mine.

Hope it helps!
Attachments
glass test.jpg
glass test.jpg (420.82 KiB) Viewed 3540 times
tinted glass test.rar
(14.33 KiB) Downloaded 290 times

User avatar
bioman666
Posts: 32
Joined: Thu Jul 02, 2009 8:50 am
Location: Toulouse, France
Contact:

Re: strange rendering of thin tinted glass

Post by bioman666 » Thu Feb 04, 2010 6:25 am

(I now realize I haven't even said "Hi" in my first message... All my apologies and Hi to you all !)

@ Pibuz + Fenerolina: the background was obviously missing.

But if I look from under i got the transparency, then i loose it when the object is looked from above...
Attachments
tinted glass test.rar
(16.61 KiB) Downloaded 188 times
from under.jpg
from under.jpg (58.61 KiB) Viewed 3528 times
from under SU.jpg
from under SU.jpg (121.18 KiB) Viewed 3533 times
from above.jpg
from above.jpg (328.57 KiB) Viewed 3530 times
from above SU.png
from above SU.png (103.94 KiB) Viewed 3530 times

User avatar
fenerolina
Posts: 141
Joined: Sun Mar 15, 2009 12:27 pm
Location: Pyrenees

Re: strange rendering of thin tinted glass

Post by fenerolina » Thu Feb 04, 2010 8:19 am

Hi,
I checked your model and there is a little caos in there. I'm not sure what are you trying to do.
Attachments
j.png
j.png (257.22 KiB) Viewed 3507 times

Post Reply
10 posts • Page 1 of 1