Page 1 of 1

Transparent Window - Mirror Bug?

Posted: Sun Nov 19, 2006 10:43 am
by Marotzke
Hello!

After working through the "Blender 2.4 / Indigo 0.5 Tutorial / Manual - version 0.12" a few times now,
i got stuck at some peculiar problem. But see for yourselves:

Image

The window seems to reflect the ground, but this should be impossible -
I didn't activate any raymirroring in Blender before exporting to XML.

That's what I use:
Blender 3D 2.42a -> XML Script -> Indigo 0.6 Test 1


This file contains the blendfile (packed) and the xml file with the texture:
http://home.arcor.de/gottofdarkness/Bil ... cene10.rar

XML file only:
http://home.arcor.de/gottofdarkness/Bil ... sunsky.xml


I played with several settings in export and materials (all three available); for the ground mesh, the windows
and the world texture (which is or should be just white). But i never got rid of this strange mirror-bug?-thing.


Would be nice if anybody could help me with this, thanks :)

Posted: Sun Nov 19, 2006 11:09 am
by IanC
Are you using objects for the windows? If so, indigo automatically gives transparent objects reflection, as in reality.


Ian

Posted: Sun Nov 19, 2006 12:34 pm
by Marotzke
Yes, I use a 4-vertice plane for the windows... to give them some IOR in the materials.
And why shouldn't I? Real windows are from real glass (so I model them), and mine don't reflect that unusual way.

Hmm.. do you think I should remove them?
But somehow I can't think of that... :cry:

Posted: Sun Nov 19, 2006 12:44 pm
by BZ Win
I would use a thin cube as a window if I where you, makes it more "real"

Posted: Sun Nov 19, 2006 10:42 pm
by Marotzke
Hello!

Now that I used a thin cube; I must sadly admit - it didn't work the way I wanted to:

(Windows + Sunsky)
Image

More pictures:

(Windows + Background)
http://home.arcor.de/gottofdarkness/Bil ... ground.jpg

(No Windows + Sunsky)
http://home.arcor.de/gottofdarkness/Bil ... sunsky.jpg

(No Windows + Background)
http://home.arcor.de/gottofdarkness/Bil ... ground.jpg


Btw.: The bad ground comse from the bumpmap, I think. But that's not the problem.


Thanks for help in advance :cry:

Posted: Sun Nov 19, 2006 10:44 pm
by OnoSendai
Try inverting the normals on your dodgy window.

Posted: Mon Nov 20, 2006 6:30 am
by Marotzke
Ehmm... :roll: ...it worked fine :oops:

Thanks!
The normals had to point inside... hm.
I'll keep that normal-problem in mind.

Thanks twice... now my life has a meaning again :D


Edit
@IanC
Thx for the tip; I'll remember that too :-)

Posted: Mon Nov 20, 2006 6:38 am
by IanC
Always make sure it's a cube though, because if the window doesn't have thickness, indigo will assume it's glass from there out.

Ian