Corrupted Occlusion Geometry
Mephilles
Germany Join Date: 2013-08-07 Member: 186634Members, NS2 Map Tester, NS2 Community Developer
in Mapping
So I'm trying to get a new update for my map but somehow the occlusion geometry keeps spacing out every time. I had this before but I normally got an invalid triangle error which is not the case here.
So basically my whole map looks like this atm.
This might be connected to the way I set up my occlusion geometry. Basically I am copying every face in my map that in not transparent and set those copies to be occ geo. This has worked for almost a year now but now it seems to be not working anymore.
Does anyone know why this happens and is there a fix without changing my method of setting up occlusion geo?
So basically my whole map looks like this atm.
This might be connected to the way I set up my occlusion geometry. Basically I am copying every face in my map that in not transparent and set those copies to be occ geo. This has worked for almost a year now but now it seems to be not working anymore.
Does anyone know why this happens and is there a fix without changing my method of setting up occlusion geo?
Comments
The way I make occlusion geo is I simply make a big box for each room (with faces pointed inwards, of course), and do this for every room on the map. Then, I use the rectangle tool to drill holes in the boxes where the connections are, and start connecting the boxes up with simple extrusions.
So I'd say, try spacing out your geometry a little bit from the wall, see if that helps.
oh and @deathshroud the method I used normally took me 2 minutes so I liked that one. But I will try working on getting the new occlusion geo done
I may be the invalid triangle bug (actually ugly bug). It can hit any geometry. The fact that Occlusion geometry is in a group doesn't change the nature of it. Use the "load; move camera and save again" method. Then check again.
I also should mention that I need to set up my pathing AFTER I set up my occlusion geometry. otherwise my game crashes when it's trying to load the pathing
I removed the pathing completely, did occlusion geometry again, loaded up ns2 to see if if occlusion geometry and pathing somehow were connected and when the occ geo was fine I did the pathing again and it seems to work now
note that I did not just rebuilded the pathing. I had to delete it first and then generate new
I had that bad luck also.
So I added to the load/save something. I take any geometry i see and move it; then CTRL-Z; move camera blah blah... 100% success since that time.