Coder Social home page Coder Social logo

trianglemesh's Introduction

Line Drawings View Tool Build Status

This project serves OpenSSE, that gets line-drawing images for each model (support *.off and *.obj) using viewpoint matrix(under ../data/view/).

line drawings

Demo

In my demo, I used 102 viewpoints on globe to project line drawings.

View points(red points)

view points

Model

teddy

Line drawings images

line drawings

Compile

mkdir release; cd release
qmake ../trianglemesh.pro -o Makefile
make

You will get your executable tool under bin folder.

Usage

gen_view_image modelfile xfdir viewnum imagedir

example:

mkdir teddy_images
./gen_view_image ../../data/teddy.off ../../data/view/ 102 teddy_images

Support for OpenSSE

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

Troubleshooting

  • 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

Thanks

License

Code is under the Apache License, Version 2.0.

Donate

I accept tips through Alipay. Scan below qr code to donate:

Alipay.

Contact me

If you have any question or idea, please email to me.

trianglemesh's People

Contributors

zddhub avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.