GNU bug report logs -
#47463
Blender: Voxel remesher failed to create mesh
Previous Next
Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Date: Mon, 29 Mar 2021 09:56:02 UTC
Severity: normal
Done: Ekaitz Zarraga <ekaitz <at> elenq.tech>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47463 in the body.
You can then email your comments to 47463 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#47463
; Package
guix
.
(Mon, 29 Mar 2021 09:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ekaitz Zarraga <ekaitz <at> elenq.tech>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 29 Mar 2021 09:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I found an issue with blender. Our packaged version it's not able to run the
Voxel Remesher, I think because OpenVBD[^1] is not included in our package.
Every time I use the Voxel Remesh tool it says:
"Voxel remesher failed to create mesh"
But the Quadriflow remesher works fine.
I searched a little bit in the code and I found the following:
Here is where the error message appears (object_remesh.c:147):
``` c
new_mesh = BKE_mesh_remesh_voxel_to_mesh_nomain(
mesh, mesh->remesh_voxel_size, mesh->remesh_voxel_adaptivity, isovalue);
if (!new_mesh) {
BKE_report(op->reports, RPT_ERROR, "Voxel remesher failed to create mesh");
return OPERATOR_CANCELLED;
}
```
So it means the `new_mesh` is not created. Checking the definition of the
`BKE_mesh_remesh_voxel_to_mesh_nomain` function we get this
(mesh_remesh_voxel.c:296):
``` c
Mesh *BKE_mesh_remesh_voxel_to_mesh_nomain(Mesh *mesh,
float voxel_size,
float adaptivity,
float isovalue)
{
Mesh *new_mesh = NULL;
#ifdef WITH_OPENVDB
struct OpenVDBLevelSet *level_set;
struct OpenVDBTransform *xform = OpenVDBTransform_create();
OpenVDBTransform_create_linear_transform(xform, (double)voxel_size);
level_set = BKE_mesh_remesh_voxel_ovdb_mesh_to_level_set_create(mesh, xform);
new_mesh = BKE_mesh_remesh_voxel_ovdb_volume_to_mesh_nomain(
level_set, (double)isovalue, (double)adaptivity, false);
OpenVDBLevelSet_free(level_set);
OpenVDBTransform_free(xform);
#else
UNUSED_VARS(mesh, voxel_size, adaptivity, isovalue);
#endif
return new_mesh;
}
```
I also checked blender package and I doesn't look like it includes OpenVDB, so
this makes sense.
As this is a powerful tool and enables much better workflows for sculpting I
think we should add it.
I'll try to add it myself, if you are ok with that.
Best,
Ekaitz
[^1]: https://www.openvdb.org/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47463
; Package
guix
.
(Wed, 21 Apr 2021 16:25:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 47463 <at> debbugs.gnu.org (full text, mbox):
This issue can be closed since: 47467 is merged
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47463
; Package
guix
.
(Wed, 21 Apr 2021 16:33:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 47463 <at> debbugs.gnu.org (full text, mbox):
On Wed, Apr 21, 2021 at 04:24:18PM +0000, Ekaitz Zarraga wrote:
> This issue can be closed since: 47467 is merged
Feel free to close it.
Bugs are closed by sending mail to <BUGNUMBER-done <at> debbugs.gnu.org>
Reply sent
to
Ekaitz Zarraga <ekaitz <at> elenq.tech>
:
You have taken responsibility.
(Wed, 21 Apr 2021 17:31:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ekaitz Zarraga <ekaitz <at> elenq.tech>
:
bug acknowledged by developer.
(Wed, 21 Apr 2021 17:31:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 47463-done <at> debbugs.gnu.org (full text, mbox):
Empty Message
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 20 May 2021 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.