Skip to content

Simulation and visualization of lichens growth in cultural heritage 3D models

Notifications You must be signed in to change notification settings

rocsalvador/Tesi

Repository files navigation

Simulation and visualization of lichens growth in cultural heritage 3D models

I use stb single-file public domain libraries for C/C++ to read/write images.

How to run

# Get the repo
git clone --recurse-submodules  https://github.com/rocsalvador/Tesi.git
cd Tesi

Compile

make -j

Run

./lichens config.conf

Configure

To configure the DLA, KMeans and parametrization modify the contents of the config.conf file:

img_dir: img

#DLA_config
# centers_file: examples/large_lichen_centers.txt
centers_file: -
points: 2000
alpha: 0.01
tau: 5
sigma: 0.3
p: 2
radius: 6

#KMeans_config
max_it: 40
k: 40
min_cluster_size: 400
min_circularity: 0.9

#Parametrization config
texture_name_prefix: img/param/original_lichen_texture/lichen_
scale_ratio: 5

About

Simulation and visualization of lichens growth in cultural heritage 3D models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published