Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting NiTriStrips creates excess triangles #630

Open
pacific-breeze opened this issue Feb 8, 2024 · 0 comments
Open

Exporting NiTriStrips creates excess triangles #630

pacific-breeze opened this issue Feb 8, 2024 · 0 comments
Assignees
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.

Comments

@pacific-breeze
Copy link

pacific-breeze commented Feb 8, 2024

I'm using displacement to add detail to rock meshes in FNV in Blender, with 0.1.1 version of the plugin. I subdivide the mesh and then decimate it, exporting to NiTriStrips.
The exported mesh has a very high number of triangles: 7k vertices with 45k triangles. Whereas a 7k vertices mesh would normally have around 20k triangles.
It seems that the changed topology in some way leads to the creation of the excess triangles.

What I did to reproduce:
Open a mesh with 7k vertices, 20k triangles, displace and subdivide, then decimate back to 7k vertices. General shape remains, the displace only adds finer detail. Export using stripify creates a mesh with 45k triangles

Found an easier way:
Import nvn_cliffcanyonl01_frosted.nif and export without any change. Doubles the number of triangles from 6000 to 12000

@pacific-breeze pacific-breeze added the Bug Issue with specific functionality not working as intended but overall plugin is working. label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.
Projects
None yet
Development

No branches or pull requests

2 participants