If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
specht8
Posts: 11 Joined: Mon Aug 09, 2010 2:07 pm
Post
by specht8 » Wed Aug 11, 2010 9:51 am
Hi, i'm creating an application where walls with windows should be created automatically. The algorithm for creating the holes works now, just a very simple one. I now have problems with the lighting, as a result i want that you don't see that the wall was build out of several boxes.
Heres a screenshot:
[img]
http://dl.dropbox.com/u/1562131/calcwall.jpg [/img]
Any suggestions?
thanks
huoda
Posts: 12 Joined: Sun Aug 08, 2010 5:06 pm
Location: Canelones, Uruguay
Post
by huoda » Wed Aug 11, 2010 10:10 am
I guess, you make the wall per faces, and to make the windows you delete a face, right? Now I can say that the material is the possible problem...
specht8
Posts: 11 Joined: Mon Aug 09, 2010 2:07 pm
Post
by specht8 » Wed Aug 11, 2010 10:17 am
yeah i calculate the amount of boxes an just draw those which aren't windows.
Well i already figured that the problem has something got to do with my materials, but i wasn't able to solve it that way.
Material Type is Solid
Lighting is on
and colors are all the default values, so white
Acki
Posts: 3496 Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:
Post
by Acki » Wed Aug 11, 2010 10:24 am
for me it seems that the lower left vertext of each face has a black collor !?!?!
when creating the faces be sure to set all vertices to white collor !!!
specht8
Posts: 11 Joined: Mon Aug 09, 2010 2:07 pm
Post
by specht8 » Wed Aug 11, 2010 10:26 am
Those are cubesceneNodes so i am 100% shure that they are all white.
But thanks
specht8
Posts: 11 Joined: Mon Aug 09, 2010 2:07 pm
Post
by specht8 » Wed Aug 11, 2010 2:37 pm
any other ideas? it's urgent