BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
167 stars 15 forks source link

For some reason exporting is deleting vertex colors from some TriShapes. #229

Open robertgk2017 opened 2 months ago

robertgk2017 commented 2 months ago

Just updated to V15. I'm trying to load up a pretty large .nif so I can Apply Transforms to it. However on export a good 40-50 TriShapes have their Vertex Colors deleted. Upon further testing just straight importing and then immediately exporting it repeats this. Can't figure out why. The colors in question are not all FFFFFF and thus are not blank/useless. They should not be being deleted on export.

Edit: https://file.io/fLyDab52O3fJ

This is the nif prior to importing.

robertgk2017 commented 2 months ago

Upon further experimentation it appears as though theres some kind of limitation of sorts with how much Vertex Colors .nif wide that PyNifly can handle. If i export a specific shape that loses its Vertex Colors when i export the whole nif, the specific shape export does NOT remove the vcs.

BadDogSkyrim commented 1 month ago

Holy giant nif files, Batman. There's not any hard limit that I'm aware of but with a nif like that, who knows. I'll see what I can see.

robertgk2017 commented 1 month ago

heh that nif used to be 250MB ive been cleaning it and others up.

robertgk2017 commented 1 month ago

Am curious if any insight has been had on this. Ive noticed it does so on nifs as well, usually the larger ones. So i dont think its a problem with This nif specifically.