lighting problem

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.
Post Reply
specht8
Posts: 11
Joined: Mon Aug 09, 2010 2:07 pm

lighting problem

Post by specht8 »

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 »

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 »

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 »

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 !!! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
specht8
Posts: 11
Joined: Mon Aug 09, 2010 2:07 pm

Post by specht8 »

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 »

any other ideas? it's urgent
Post Reply