Degenerate Triangles Question

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
Post Reply
HMC Helljumper





Posts: 385
Joined: Wed Jun 16, 2004 2:02 pm

Degenerate Triangles Question

Post by HMC Helljumper »

I've spent about 3 hours working on a base im going to put into my level, and when I create the collision model for it, it says ###ERROR Degenerate Triangles. But it still creates the collision model, but in game, only half of the collision model works. Please let me know hwo to fix this, its a pretty nice base.
gamble





Posts: 378
Joined: Thu May 13, 2004 5:15 pm
Location: somewhere over the rainbow/not in kansas

Post by gamble »

Import your Debug error geomety. Get rid of the degen face by deleting all the faces in that area by hand, and then clicking and dragging over the same are. You should select a very skinny, edge like face. Delete that and redo the part you deleted.

Here's a Note- If you have a box with 6 vertices (4 corners and 2 in the middle) don't connect it all with 1 large polygon rather than making 2 smaller rectangles to fill the gap. If you don't, the polygon will create degenerate faces when it goes over the 3 in a row vertices.
HMC Helljumper





Posts: 385
Joined: Wed Jun 16, 2004 2:02 pm

Post by HMC Helljumper »

I feel like a total idiot now, they are degenerate triangles, and I was wondering why I couldnt find anyhting in the seatches when I typed in degenerate. They are "z buffered triangles" and I dont knwo wat to do with them, even though it still makes the collision-geometry, its like a half collision model in game.
HMC Helljumper





Posts: 385
Joined: Wed Jun 16, 2004 2:02 pm

Post by HMC Helljumper »

Well I just fixed it using hte debug.wrl, I found a tiny little edge that was somehow moved down and was overlapping another coplanar edge, by moving those vertices\edges up I managed to get too to compile it with no errors or warnings. Thanks anyway for the help. :D
HMC Helljumper





Posts: 385
Joined: Wed Jun 16, 2004 2:02 pm

Post by HMC Helljumper »

I just fixed the error, and I went into the game and the collision model is the exact same. Do I have to replace the scenery to get it to work? Or do I have to re build the cache file? Also, I think my bounding radius is off, because sometime when I look directly at or look slightly away from the scenery (my base) it disapears.... anyone know why htta happenes and\or how to fix it?
master_wolf





Posts: 202
Joined: Fri Mar 26, 2004 3:36 pm
Location: Hyper Super Killer Giant Ninja Space Zombie of Doom!!!
Contact:

Post by master_wolf »

i would have had this problem, but i went back and re-did all my polygons and found quite a few out of place and ovelapping polygons
gamble





Posts: 378
Joined: Thu May 13, 2004 5:15 pm
Location: somewhere over the rainbow/not in kansas

Post by gamble »

did you make sure every face was covered with the Collision Geometry material?
HMC Helljumper





Posts: 385
Joined: Wed Jun 16, 2004 2:02 pm

Post by HMC Helljumper »

I got it working now, I had to rebuild the map and fix the directory of the .scenery file thanks for all your help. Look out for A new map called Vertigo!
Post Reply