Giter VIP home page Giter VIP logo

meshcartographylib-rs's Introduction

MeshCartographyLib

MeshCartographyLib is a comprehensive geometry processing library designed to seamlessly bridge the realms of 2D and 3D spaces. Rooted in the principles of cartography, it offers tools to transform 3D meshes into 2D representations, akin to creating maps. Whether you're aiming to generate Escher-like tessellations or free-border 2D meshes from closed 3D structures, or harness the power of particle interactions on these meshes, this library facilitates it all.

How to use

Unfold your closed surface mesh OBJ file over the terminal by passing its file path to the program:
make run FILE_PATH=./meshes/ellipsoid_x4.obj

Profiling on macOS using Instruments

To profile the mesh_cartography executable using Instruments from XCode on macOS:

  1. Build the Executable: Compile your project in release mode with make. Ensure debug symbols are enabled in Cargo.toml with [profile.release] debug = true.

  2. Open Instruments: Launch Instruments from Xcode (Xcode -> Open Developer Tool -> Instruments).

  3. Choose Profiling Template: Select the "Time Profiler" template.

  4. Select Your Executable: In Instruments, click on "All Processes," then "Choose Target," and navigate to your executable (target/release/mesh_cartography).

  5. Set Command-Line Arguments: If your executable requires arguments (e.g., a file path), set them in the "Arguments" field.

  6. Enable Viewing Log Lines: Click on the plus sign in the upper right corner and add "os_log".

  7. Start Profiling: Click the record button. Perform the necessary actions in your application or wait for it to complete.

  8. Analyze Results: After completion, use Instruments' analysis tools to review the performance data.

meshcartographylib-rs's People

Contributors

jan-piotraschke avatar

Watchers

 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.