Dylancyclone / VMF2OBJ

Convert source-engine VMF files into OBJ files with materials (including brushes, displacements, entities, and models)
MIT License
109 stars 6 forks source link

Missing faces, misaligned terrain, flipped normals #16

Closed Auburn closed 2 years ago

Auburn commented 3 years ago

Hi, I've been trying to convert de_dust2 from CS:GO and have run into a few issues. (Converted using -t)

image

image

Dark areas show backfaces in the mesh

Thanks for this great tool!

Dylancyclone commented 3 years ago

Hello! Sorry about the delay, and thank you, think helped me track down the issue with the brushes. I've pushed a fix (the commit above) that'll be a part of the next release, and I'll start looking into the displacements. Unfortunately, I thought I fixed those already, but it seems like the fix doesn't work everywhere.