Code Monkey home page Code Monkey logo

b-surf's Introduction

b/Surf: Interactive Bézier Splines on Surface Meshes

This repository contains the implementation of the algorithms described in "b/Surf: Interactive Bézier Splines on Surface Meshes", C. Mancinelli, G.Nazzaro, F. Pellacini and E. Puppo. The code consists of one GUI (splinegui) supporting all the algorithms for curve tracing described in the paper.

Compilation

You can compile the project using the standard CMake routine

mkdir build
cd build
cmake ../
make

Dependencies

Mac users only need to have C++ 17 or later installed. Linux users may have to install some additional packages, as

libxrandr-dev
libxinerama-dev
libxcursor-dev
libxi-dev.

Similarly, Windows users may need to install some OS-related packages, but there are no dependencies that prevent the use of the code on such operating system.

Run

Once the projects are built, you can run the app from within the project repository by issuing

./bin/splinegui <path_to_a_model>

Using the GUI

                             ---Basics---

Rotate: SHIFT + dragging. Panning: ALT + dragging.
---Control Points Selection/Editing--- Control points can be picked with left click and moved on the mesh by left-clicking on them + dragging

                            ---Curve Tracing---

Once the third control point P3 is picked, a cubic Bézier curve is automatically traced by putting the last control point P3 equal to P4. You can edit it in real time by dragging P3 as described above.

The GUI allows you to select the methods and the possible parameters described in the paper. Every time a parameter changes, the curve is updated.

b-surf's People

Contributors

claudiomancinelli90 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.