This project serves OpenSSE, that gets line-drawing images for each model (support *.off and *.obj) using viewpoint matrix(under ../data/view/
).
In my demo, I used 102 viewpoints on globe to project line drawings.
mkdir release; cd release
qmake ../trianglemesh.pro -o Makefile
make
You will get your executable tool under bin
folder.
gen_view_image modelfile xfdir viewnum imagedir
example:
mkdir teddy_images
./gen_view_image ../../data/teddy.off ../../data/view/ 102 teddy_images
There is a tool ./linedrawing_project.sh
to prepare view images for OpenSSE, Use it to get 102 view images for each modal. After you compile code, and return root path to run:
./linedrawing_project.sh -d ~/Database/SHREC12 -p *.off
- Compile error on macOS like below:
.../clang_64/lib/QtCore.framework/Headers/qsystemdetection.h:197:12: fatal error: 'TargetConditionals.h' file not found
How to fix:
macx : QMAKE_MAC_SDK=macosx10.13 # Change this to your macOS version if you are using macOS
Code is under the Apache License, Version 2.0.
I accept tips through Alipay. Scan below qr code to donate:
If you have any question or idea, please email to me.