Closed Yonnji closed 1 year ago
panda3d-gltf should probably avoid strides higher than 2048, which is the most typical limit: https://opengl.gpuinfo.org/displaycapability.php?name=GL_MAX_VERTEX_ATTRIB_STRIDE
Disregard my previous (deleted) comment, I had missed the part where panda3d-gltf is repacking the array.
This is now fixed, it's now putting the morphs on a separate array. It should be a lot more efficient like this, because the morphs are never uploaded now, and it is no problem for the stride of the morphs array to exceed 2048 now.
You need to clear your model-cache after picking up the fix.
Got "Segmentation fault" after loading glTF file, skipping "write_bam_file" step and trying to render the actual "converter.active_scene". If I load the model using recommended way (glTF parse->BAM export->BAM import) then it renders fine.
The output:
Minimal example:
The model file (zipped): 9049971711724066034.zip