Real CarGlass? What parametrs?

General questions about Indigo, the scene format, rendering etc...
Post Reply
14 posts • Page 1 of 1
User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Real CarGlass? What parametrs?

Post by cooler_inc » Thu Oct 05, 2006 2:48 am

Hello.
I need a real carglass (windshield, headlights) but i can't setup the materials. I'm not satisfied with the result.
I use Blender and Indigo 0.5
I tryed IOR 1.33,1.5 but there is not refraction at the windshield in real world.
RayTransp button enabled, Fresnel 4.0, Alpha 0.3

Does anybody help me with materials?

playmesumch00ns
Posts: 21
Joined: Wed Jun 28, 2006 11:44 pm

Post by playmesumch00ns » Thu Oct 05, 2006 2:57 am

Have you modelled the windshield as it is in the real world? i.e. with thickness? I believe it's the double refractio that gives you a "normal" image through the glass.

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Thu Oct 05, 2006 3:06 am

i used frensal 1.2 for a glass table i made in cinema for a table and it worked well, try that maybe?
Yes i know, my spelling sucks

leope
Posts: 34
Joined: Sat Jul 22, 2006 7:05 am
Contact:

Post by leope » Thu Oct 05, 2006 8:53 am

Blender alpha and fresnel parameters are not used by the exporter.

Code: Select all

rayMirr ==> <normal_reflectance>
ior     ==> <ior>
filter  ==> <cauchy_b_coeff>
r,g,b   ==> <rgb_absorptivity>

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Thu Oct 05, 2006 8:13 pm

2playmesumch00ns: the windshield is modelled like in the real world like a flattened out cube.
2eman7613: thnx, I'll try.
2leope: if alpha and fresnel are not used by the exporter it means that we have to write in the xml file manualy?

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Fri Oct 06, 2006 8:14 pm

I used various parametrs of IOR, Spec, Fresnel and can't to approach to desirable result.
Image
Done 1776031500.000000 mutations (5781.352539 mutations per pixel)
Time elapsed: 14h, 33m, 22s
Mutations per second: 33892.072011
Image
Any suggestions?

Elroc
Posts: 12
Joined: Tue Sep 12, 2006 8:58 pm
Location: South Africa

Post by Elroc » Fri Oct 06, 2006 9:49 pm

Is that the IOR you used in that image? 1.01?
I assume you only have a windsheild modelled on the car? Your right it does look weird.

At the risk of being completely wrong and way of base i'm going to take a shot in the dark :) Is your windshield modelled as a flat plane, or does it have some thickness?

What I'm thinking is that it is only a plane, and therefore the light only bends once - when it enters the windshield, therefore the funny effect. If give it a thickness, light should bend twice, once entering, and once leaving the glass, giving you a better image.

Image

Or I could be completely wrong of course :)

Edit: Note to self, read rest of thread before posting - see you have modelled the windshield with thickness. In which case I'm stumped, sorry.

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Fri Oct 06, 2006 9:57 pm

Elroc wrote:At the risk of being completely wrong and way of base i'm going to take a shot in the dark :) Is your windshield modelled as a flat plane, or does it have some thickness?
Right Elroc!!

I had same problem: the glass mustn't be a plane but must be a double plane with the normals out or a closed object with normals out!

And maybe IOR value around 1.5 or higher!

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Fri Oct 06, 2006 10:26 pm

My windshield has a thickness (as shown right at Erloc's image)
I'll post as soon as I make an experiment with material settingns.

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Sun Oct 08, 2006 8:32 pm

I made several tests but the windshield still looks weird and the transparency is disappeared. Take a look.
Image
Done 1889752700.000000 mutations (3936.984792 mutations per pixel)
Time elapsed: 19h, 54m, 54s
Mutations per second: 26358.267701
Image

I just need transparent object with a reflection and without IOR. But if I change the IOR to 1.0 the windshield looks like on my previous picture.
Shaders->Spec 0.0 or 0.5 doesn't make the windshield real (no reflection)
:cry: :cry: :cry: :cry:

kuba
Posts: 1
Joined: Mon Oct 09, 2006 11:02 pm

Post by kuba » Mon Oct 09, 2006 11:13 pm

I think the problem could be in normals. Normals at the bottom of the window points downwards and the ones on the top edge into the sky. They are affected by the bottom/top face of the window.

Sorry for my english.

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Mon Oct 09, 2006 11:16 pm

normal-smoothing could also be the bad guy :?

User avatar
cooler_inc
2nd Place Winner
Posts: 158
Joined: Mon Aug 14, 2006 10:21 pm
Location: Ukraine, Donetsk
Contact:

Post by cooler_inc » Sat Oct 14, 2006 7:57 pm

Finally I approached the desirable result, I removed polygons from bottom and top.
Image

Elroc
Posts: 12
Joined: Tue Sep 12, 2006 8:58 pm
Location: South Africa

Post by Elroc » Sat Oct 14, 2006 8:32 pm

Cool, looks good.

If I understand your solution correctly, I think Manitwo was correct n saying normal smoothing was causing your problem.

Post Reply
14 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests