0ceal0t / Dalamud-VFXEditor

VFX, animation, sound, and physics editing plugin for FFXIV
MIT License
79 stars 24 forks source link

Exported models are missing data #143

Open justauser95 opened 1 year ago

justauser95 commented 1 year ago

Exporting the GLTF of this model and immediately reimporting it with zero edits (I didn't touch it at all, didn't open it in any other program, nothing) causes some type of data loss. I don't know the terminology (maybe vertex data?) but I can see a difference in the preview window of VFX Editor, as well as it breaks the placement of a particle (the dark blue background behind the leaves). I'm adding before and after images where you can see a "shadow" vanishes (when not in wireframe view) or, in wireframe view, the outer edge changes from black to white.

before export 2 after reimport 2 before export after reimport

and this is the particle that's getting warped when this happens particle

If at the very least I could learn what the data was so I could recreate it that would be very helpful, because trying to blindly readjust the UV of this particle was a nightmare and I can't do it.

But at the very least if someone could tell me what this data is so I could maybe recreate it, I'd super appreciate it. It's gotta be some marker for the edge or something bc it's controlling how this LightModel texture is placed. But if I could just export it and not lose the data that would be even better

justauser95 commented 11 months ago

I did attempt coloring the verts along that edge black but it didn't help

justauser95 commented 7 months ago

I thought maybe one of the updates fixed this, cus the model previewer no longer looked different when importing the gtlf back in, but it still screws up the placement of the texture.

Again, this is me exporting the gtlf file and immediately reimporting it, not opening it in blender or doing anything to it

image image

I can't figure out what's changing. Thought it had to do with the vertex colors maybe but apparently not since that looks fixed

0ceal0t commented 7 months ago

looks like something weird going on with UV coordinates. I'll take a look