Using ThreeCPP from outside #152
Replies: 3 comments 2 replies
-
You can use vcpkg with a custom registry. See: https://github.com/markaren/threepp/tree/master/tests/threepp_vcpkg_test That folder is a standalone project with access to some version of threepp (retreived using vcpkg). The custom registry is located at https://github.com/Ecos-platform/vcpkg-registry and is maintaned by myself. Otherwise, using threepp as a CMake subproject (e.g. git submodule) should be possible. |
Beta Was this translation helpful? Give feedback.
-
I added a README to the demo project, which should make things clearer (dev branch). |
Beta Was this translation helpful? Give feedback.
-
I also just submodule threepp in git then in my CMakeLists.txt in the parent directory of where the submodule is located:
That will add a
|
Beta Was this translation helpful? Give feedback.
-
Hello,
This is a super great project as three.js is so popular and widely known.
I'd like to use it as a high level library over opengl in my own projects.
I can see the test folder with the example of building a simple executable from within the threepp project.
However am struggling to understand how to build a separate CMake project which depends on or accesses threepp but us unrelated. Do you have any advice (on ubuntu)?
Thanks,
Sean
Beta Was this translation helpful? Give feedback.
All reactions