Duke Nukem, the politically incorrect celebrity and ultimate alien ass kicker, defends Earth and its babes from alien invasion. Take the fight to the aliens in Hollywood, Los Angeles, a moon base and alien spacecraft. Defeat the aliens, so Duke can get back to some R&R with a stogie, a warm belly and a bottle of Jack.

Post tutorial Report RSS Pizza Vector Slicing

I'm going to explain how to fix a common rendering glitch in the Build Engine. Related to over lapping sectors being seen at the same time.

Posted by on - Basic Mapping/Technical

Ever made over lapping sectors that where visible at the same time and created this glitch?

capt0005

So, what what if I told you? There is a simple solution to this Build Engine rendering issue.

It's because the Engine, doesn't know what to render first. Now, let's look at those sectors.

capt0008

See, here's the problem. The sectors are in the same area. Being seen, at the same time.

To fix it, turn those sectors into pizza slices. Well, it's more like cutting the sectors based on the angle you'd be looking at. But we like pizza. Now let's look at those newly divided sectors in this picture.

capt0007

By doing this you're giving the Build Engine the ability to show both sectors at the same time. Remember this is based on the angle you would looking at it from. So some slices, might be thinner if need.

Here's an example of how it looks during rendering. You should noticed it rendering properly.

capt0006

See, no more glitches. This also fixes a clipping issue when you shoot into the render glitch. Something that polymer can not resolve. Even though it renders properly. The clipping issue will still be there.

Thank you for reading this. If you'd like to see the map to gain better understanding of this?

Here's a link to the map in all these pictures.
Pizza Vector Slicing file - Duke Nukem 3D - Mod DB

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: