Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
3D-query-replace
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Damiand
3D-query-replace
Commits
b37d3c0b
Commit
b37d3c0b
authored
3 years ago
by
Guillaume Damiand
Browse files
Options
Downloads
Patches
Plain Diff
Add scripts
parent
97d10008
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
INSTALLATION.md
+31
-0
31 additions, 0 deletions
INSTALLATION.md
RUN.md
+35
-0
35 additions, 0 deletions
RUN.md
with
66 additions
and
0 deletions
INSTALLATION.md
0 → 100644
+
31
−
0
View file @
b37d3c0b
#!/bin/bash
# Installation script for Ubuntu 22.04
# Install packages
sudo apt-get update
sudo apt-get install g++ cmake git
sudo apt-get install libqt5opengl5-dev libqt5svg5-dev qtbase5-dev qtscript5-dev
sudo apt-get install libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev
sudo apt-get install libgmp-dev libmpfr-dev zlib1g-dev libtet1.5-dev libassimp-dev
# Download code
cd
git clone https://github.com/CGAL/cgal.git
cd cgal
git checkout 2b547ec58a9e34458792cb3f09ead399bb6dd075
cd ..
git clone https://gitlab.liris.cnrs.fr/gdamiand/3d-query-replace.git
cd 3d-query-replace/
# Compile the two programs ```hexa-subdivision``` and ```tetra-to-hexa```
cd
cd 3d-query-replace/
mkdir builds
cd builds
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=Release -DCGAL_DIR=../../../cgal/ ../../src
make
This diff is collapsed.
Click to expand it.
RUN.md
0 → 100644
+
35
−
0
View file @
b37d3c0b
#!/bin/bash
# Run experimentations
cd
cd 3d-query-replace/builds/release
# 5.1 Hexahedral subdivision
./hexa-subdivision ../../data/mesh1.off -lmax 7
./hexa-subdivision ../../data/mesh2.off -lmax 7
./hexa-subdivision ../../data/mesh3.off -lmax 7
# 5.2 Marching-cube
./hexa-subdivision ../../data/mesh1.off -lmax 7 -marching-cubes
./hexa-subdivision ../../data/mesh2.off -lmax 7 -marching-cubes
./hexa-subdivision ../../data/mesh3.off -lmax 7 -marching-cubes
# 5.3 Conformal Mesh
./hexa-subdivision ../../data/mesh1.off -lmax 7 -create-transitions
./hexa-subdivision ../../data/mesh2.off -lmax 7 -create-transitions
./hexa-subdivision ../../data/mesh3.off -lmax 7 -create-transitions
# Comparison with version WITHOUT signature:
./hexa-subdivision ../../data/mesh1.off -lmax 7 -create-transitions -no-signature
./hexa-subdivision ../../data/mesh2.off -lmax 7 -create-transitions -no-signature
./hexa-subdivision ../../data/mesh3.off -lmax 7 -create-transitions -no-signature
# 5.4 Mesh Transformation
./tetra-to-hexa ../../data/mesh1.off
./tetra-to-hexa ../../data/mesh2.off
./tetra-to-hexa ../../data/mesh3.off
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment