Polygon winding order flips on ever other triangle

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
magnumpc

Polygon winding order flips on ever other triangle

Post by magnumpc »

Hi all!

I'm just getting up to speed on Irrlicht and am having a problem loading my simple box level that I exported from gtkRadiant. The 20kdm2.bsp loads fine, but when I load my hollowed out cube, the winding order of every other polygon is pointing the wrong way.

Is there some switch you need to specify during bsp compilation in gtkRadiant? I figure it's a data problem and not an Irrlicht problem because the demo map loads just fine.

I'm compiling with:
bsp_Q3Map2: (final) BSP -meta, -vis, -light -fast -filter -super 2 -bounce 8

I'm using Irrlicht 0.4.2.

When I do a test run, all of the textures are loaded correctly. It's just that every other triangle is flipped the wrong way.
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

This was already posted in the How-to forums. Just search, and you'll find it.

P.S. Everyone should search for there topic before posting it, as we have had several repeat questions.
The Robomaniac
Project Head / Lead Programmer
Centaur Force
Post Reply