wfowler1 / Unity3D-BSP-Importer

A lightweight plugin for importing BSP maps into Unity3D as meshes.
Other
112 stars 17 forks source link

Missing polygons in the geometry #8

Closed gleblebedev closed 3 years ago

gleblebedev commented 3 years ago

I've tried the importer on Quake DM3 level and some polygons seems to be missing:

image

gleblebedev commented 3 years ago

My old code import results for comparison: image

wfowler1 commented 3 years ago

Sorry, I've been buried in work the past few days.

When you say "old code" what exactly do you mean? It's hard to see the problem with the wireframe, can you clarify a bit more what's missing?

gleblebedev commented 3 years ago

"Old code" - my own code to read BSP files. I ended up using it instead of your plugin.

It's hard to see the problem with the wireframe, can you clarify a bit more what's missing?

Yes, it is hard to see :) This is how unity renders import result. Maybe it's another issue?

There are couple polygons missing. Do you have Quake1 available? Just try to import DM3 into Unity and you'll see the issue.

wfowler1 commented 3 years ago

That wireframe material is what it uses if the texture could not be found. I think it's better than leaving everything blank or magenta.

As for the missing things, I'll have to look into it!

I'm curious about the code you have. I love hearing about other people's projects in things like this!

bordaadam commented 3 years ago

Could it be the same issue that I raised here?

wfowler1 commented 3 years ago

Yep, this was the same issue as #14. Closed by 173d0c439a7bb3a305be4c755ad8c3977da6e918