Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
We need your help!
We need 7 developers from Canada and 17 more from Australia to help us complete a research survey.
Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!
Make caves even with something like this. Congratz.
Cool stuff. Are you worried about the complexity of the mesh after it gets chunks torn out several times? It looks like the poly count is increasing pretty rapidly.
Yeah, that might be a problem. I use BSP brushes, so every time there's a crater taken out, the brush gets split into smaller convex polyhedra. Each side has a polygon. A possible optimization might be to keep track of divisions within a brush and not mesh the hidden, internal brush sides.
Is there a way to cap the polygons created each time and the total number for a section of material?
No, there's no choice involved. Maybe you can choose to remove some sides of a polyhedron if there's more than, say, 10. But I don't know how to decide which side will result in the least volume expansion.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC