Comments (3)
Temporary workaround was committed in
https://sourceforge.net/p/iso2mesh/code/493/
still, the tet number may change because of the node ordering
from iso2mesh.
Issue appears to be un-fixed in the latest CGAL release (4.6). Steps to reproduce this issue:
- download and compile CGAL 4.6
- cd example/Mesh_3, run "make mesh_3D_image"
- when complete, run
./mesh_3D_image
mv out.mesh out.mesh_1
./mesh_3D_image
diff out.mesh out.mesh_1
the files are different, both the node list, and element list.
- apply the following patch to set the RNG seed
--- mesh_3D_image.cpp_old 2015-06-12 16:34:46.000000000 -0400
+++ mesh_3D_image.cpp 2015-06-12 16:34:29.000000000 -0400
@@ -36,6 +36,11 @@
CGAL::Image_3 image;
image.read("data/liver.inr.gz");
+ CGAL::Random rd(1234567);
+ CGAL::Random::State st;
+ rd.save_state(st);
+ CGAL::default_random.restore_state(st);
+
// Domain
Mesh_domain domain(image);
- rerun the above test, the output files remain different - the mesh could not be reproduced.
from iso2mesh.
issue closed. with the above patch for RNG seeding, I was able to produce deterministic meshes when using the latest CGAL release v4.8.1. looks like some recent upstream updates fixed the problem.
from iso2mesh.
Related Issues (20)
- Recompile for Apple M1 Macs HOT 1
- smoothsurf works incorrectly HOT 1
- The work of the meshing algorithm is ustable for big meshes HOT 3
- Submodule tools/meshfix points to non existent commit
- Issue when Installing Iso2mesh in cluster (remote computation resources) HOT 1
- Warning about shadowed core library HOT 3
- Merge tetra mesh with multiple elemID within enclosed surface HOT 2
- Iso2mesh ERROR using cgalv2m HOT 5
- cgalv2m does not create flat boundaries HOT 3
- cgalsimp2 command failed HOT 3
- Compiling issue HOT 1
- problem in installing and running iso2mesh in MATLAB HOT 1
- jmeshlib command failed: ERROR- Can't open file. HOT 1
- saveinr() not working for single (float) volumes
- Using qmeshcut to compute an isosurface from an arbitrary grid of points HOT 10
- Binaries for M1/M2 Mac? HOT 3
- Fail to clone submodules. HOT 2
- Compile iso2mesh for ARM Mac HOT 12
- Iso2Mesh Coordinate system origin
- Error using surf2mesh - Error using fscanf Invalid file identifier. Use fopen to generate a valid file identifier.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iso2mesh.