Closed remino closed 1 year ago
This fork seems to be taking care of that problem.
Although sometimes I still have some issues with opacity:
Python: Traceback (most recent call last):
File “[redacted]/gaussian-splatting-blender-addon-master/__init__.py", line 1076, in execute
opacities[i] = log_opacity_attr.data[i].value
IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
This happens after I select any splat and delete it (“Delete Vertices”) in Edit mode.
Okay, figured that out. I know some Python, still a rookie in Blender. So I dug in Scripting:
>>> # Selected object than ran this:
>>> len(bpy.context.view_layer.objects.active.data.vertices)
776787
>>> # Went into edit mode, deleted a few vertices, but then no change?
>>> len(bpy.context.view_layer.objects.active.data.vertices)
776787
>>> # Deselected the object, reselected it, then the change showed:
>>> len(bpy.context.view_layer.objects.active.data.vertices)
776629
So all I had to do was to delete the points, but then deselect the object then reselect it. Then I was able to export the object.
Think I’ll just close this issue now. Thanks!
Using Blender 3.4 on macOS. I installed and enabled the plugin.
I can import a splat .ply file just fine and see it in the scene. But exporting it, even if I’ve made no changes, outputs this error instead:
I tried ignoring the
NoneType
objects:That kinda goes around the problem, but that just outputs a big empty files with mostly empty bytes (
0x00
).Any idea? How do you export splats?