Giter Site home page Giter Site logo

paperarium / paperarium-designer Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 1.0 905 KB

An open source Qt and Vulkan-based desktop application for unfolding 3D models into papercrafts.

License: GNU Lesser General Public License v2.1

CMake 3.52% C++ 93.86% C 0.18% GLSL 2.14% Shell 0.30%
cpp cross-platform desktop opensource opensourceforgood papercraft qt moltenvk vulkan

paperarium-designer's Introduction


Paperarium Designer
Paperarium Designer

An open source, cross-platform desktop app for unfolding 3D models into papercrafts.

Key FeaturesHow To DevelopDownloadCreditsRelatedLicense

Note This is a work in progress. Below is a screenshot of the latest state of development.

Screenshot 2022-12-14 at 5 41 18 AM

Key Features

  • Open source and free to use
  • Cross platform
    • Windows, macOS and Linux ready.
  • Vulkan-backed rendering engine

How To Develop

To be able to build this application from source, you'll need Git, Qt, Qt Creator, and the Vulkan SDK. Also make sure you have pkg-config for VCPKG, installable from Homebrew. Then, from your command line:

# Clone this repository and the VCPKG submodule
$ git clone --recurse-submodules https://github.com/paperarium/paperarium-designer

# Go into the repository
$ cd paperarium-designer

# Set up VCPKG and install the ASSIMP, GLM, OpenMP, and Vulkan dependencies
$ ./lib/vcpkg/bootstrap-vcpkg.sh
$ ./lib/vcpkg/vcpkg install assimp glm openmp vulkan

Note I develop on MacOS 10.15, so YMMV on other platforms. Please contribute!

Now start QT Creator and open up the project by going to File > Open File or Project and selecting the CMakeLists.txt file. You'll need to make the VCPKG toolchain available to your CMake to be able to automatically link ASSIMP.

This can be done by changing your Kit configuration in Qt Creator to add the -DCMAKE_TOOLCHAIN_FILE cmake flag. Go to Projects and add the following key-value pair to your kit's Initial Configuration:

# Key, Value
CMAKE_TOOLCHAIN_FILE, <path-to-your-clone>/lib/vcpkg/scripts/buildsystems/vcpkg.cmake

This should enable you to now build and run Paperarium Designer from with Qt Creator. I often do code work in VSCode as well, which necessitates installing the Qt Tools VSCode extension. Happy developing!

Download

Paperarium does not yet have a release package, or even a beta version. Hopefully I will be able to put something out soon.

Credits

The early code for this software would not have been possible without the fantastic work of Sascha Willems and engineer1109 in setting up their own basic cross-platform Vulkan applications. Other packages / frameworks used:

Related

Paperarium Place - An online compendium for papercrafts

License

LGPL


evankirkiles.com  ·  GitHub @evankirkiles

paperarium-designer's People

Contributors

evankirkiles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

springtiger

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.