-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example 22 : Core dump #21
Comments
Can I get a copy of ~/Disk/DataSets/Chair.off? |
Hello Marco,
I tried the example given in your data folder. The remesher failed for me.
csverma@blackhole:$ ./remesher ../data/bamboo_pen.obj
new mesh 1146V / 2320E / 1160P
remesher: ../../include/cinolib/meshes/abstract_polygonmesh.cpp:1143: uint
cinolib::AbstractPolygonMesh<M, V, E, P>::poly_vert_offset(uint, uint)
const [with M = cinolib::Mesh_std_attributes; V =
cinolib::Vert_std_attributes; E = cinolib::Edge_std_attributes; P =
cinolib::Polygon_std_attributes; uint = unsigned int]: Assertion `false &&
"Something is off here..."' failed.
Aborted (core dumped)
|
Hi, |
Hello Marco,
Thank you very much. I was able to remesh some models.
I am curious to know how "Surface Painter" works. My guess is that we need
to freeze the model transformation while
in the painting mode. which button would do that?
Regards
…On Mon, May 13, 2019 at 2:28 PM Marco Livesu ***@***.***> wrote:
Hi,
the model you tried (bamboo_pen.obj) is a quad mesh. The algorithm
implemented in the remesher is expected to receive in input a triangle
mesh. From a visual point of view, you may immediately notice this when you
load the mesh, as only a triangular face for each quad is rendered. This is
what is making the algorithm fail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AA2TTM36PMFY2L45IXFWDCTPVHMP3A5CNFSM4HMHCN2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVJTVOA#issuecomment-491993784>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2TTM2ZS3AEJHLRONOE4IDPVHMP3ANCNFSM4HMHCN2A>
.
|
Not sure what you mean by "freeze the model transformation", but if it's a matter of keeping always the same point of view, you can simply use the cut and paste shortcuts when the focus is on the canvas. This will allow you to copy/paste a camera setting, enabling an easy replication of any point of view whenever you need it |
Hello,
The most important example (remesher) fails:
22_remesher.pro main.cpp main.o Makefile remesher
csverma@blackhole:$ ./remesher ~/Disk/DataSets/Chair.off
new mesh 147428V / 444576E / 296384P
388249 edges longer than 0.0430667 were split.
142714 edges shorter than 0.02584 were collapsed.
250670 edge flip were performed to normalize vertex valence to 6
tangential smoothing
Remesh iteration [10.939885s]
1122279 edges longer than 0.0430667 were split.
231838 edges shorter than 0.02584 were collapsed.
remesher: ../../include/cinolib/meshes/abstract_polygonmesh.cpp:1347: uint cinolib::AbstractPolygonMesh<M, V, E, P>::poly_add(const std::vector<unsigned int, std::allocator >&) [with M = cinolib::Mesh_std_attributes; V = cinolib::Vert_std_attributes; E = cinolib::Edge_std_attributes; P = cinolib::Polygon_std_attributes; uint = unsigned int]: Assertion `poly_id(vlist)==-1' failed.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: