Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Delete hidden faces in exported meshes

A topic by Matt Rix created Apr 06, 2020 Views: 374 Replies: 4
Viewing posts 1 to 4

I know doing a full boolean merge would be too difficult, but why not just delete any faces that are completely hidden (ie. contained inside other meshes)? This could be an export toggle, and would greatly reduce the amount of geometry on many creations with minimal processing overhead. 

We've tried tackling this issue but so far haven't found a method that would produce satisfying results regarding quality and processing time.

Hmm, not sure I see why this approach wouldn't work? It's just deleting fully hidden polygons. It wouldn't change the quality at all, and the processing time should be quite quick since you're just checking whether the polygons are exposed or not?

(1 edit)

What if there's thousands of polygons however? And how would you check if they're exposed? This requires pretty advanced techniques to stay manageable. We've had 4 or 5 programmers bend over this so far, to no avail.

(1 edit)

OR !

Create your templates so that there are no hidden faces

this is difficult as it requires you to modularize very carefully from a finished template, I used google sketchup for this.

like this for 1920's style cars (sedan - 5 models / sport car - 1 model / truck - 1 model with 3 different cargos):

- base 1 model

- motor 4 models

-cabin 3 models

-trunk 2 models

-wheel 2 models

-stering 1 model

-hood 4 models

-bench 1 model

-doors 2 models

- floor 1 model

-barrel 1 model

boxes 2 models