trimesh2 | basic manipulation of 3D triangle meshes | Graphics library
kandi X-RAY | trimesh2 Summary
kandi X-RAY | trimesh2 Summary
trimesh2 is a C library typically used in User Interface, Graphics applications. trimesh2 has no bugs, it has no vulnerabilities and it has low support. However trimesh2 has a Non-SPDX License. You can download it from GitHub.
A C++ library and set of utilities for input, output, and basic manipulation of 3D triangle meshes. This is a fork of the TriMesh2 library (originally by Szymon Rusinkiewicz), which I use a lot in my other graphics projects. I like TriMesh2 because of the low setup costs required to do model loading, as well as the robust and powerful implementation of various model manipulation techniques. The original TriMesh2 project is quite Linux/GCC-oriented, and only has limited Win32 support (through MinGW compilation targets). The primary aim of this fork is to add a stable Visual Studio solution, for both x86 and x64 targets, whilst staying as close as possible to the original codebase (and subsequent updates).
A C++ library and set of utilities for input, output, and basic manipulation of 3D triangle meshes. This is a fork of the TriMesh2 library (originally by Szymon Rusinkiewicz), which I use a lot in my other graphics projects. I like TriMesh2 because of the low setup costs required to do model loading, as well as the robust and powerful implementation of various model manipulation techniques. The original TriMesh2 project is quite Linux/GCC-oriented, and only has limited Win32 support (through MinGW compilation targets). The primary aim of this fork is to add a stable Visual Studio solution, for both x86 and x64 targets, whilst staying as close as possible to the original codebase (and subsequent updates).
Support
Quality
Security
License
Reuse
Support
trimesh2 has a low active ecosystem.
It has 232 star(s) with 56 fork(s). There are 22 watchers for this library.
It had no major release in the last 12 months.
There are 3 open issues and 9 have been closed. On average issues are closed in 122 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of trimesh2 is 2022.03.04
Quality
trimesh2 has 0 bugs and 0 code smells.
Security
trimesh2 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
trimesh2 code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
trimesh2 has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
trimesh2 releases are available to install and integrate.
Installation instructions are available. Examples and code snippets are not available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of trimesh2
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of trimesh2
trimesh2 Key Features
No Key Features are available at this moment for trimesh2.
trimesh2 Examples and Code Snippets
No Code Snippets are available at this moment for trimesh2.
Community Discussions
Trending Discussions on trimesh2
QUESTION
R Triangular Mesh
Asked 2018-Jan-18 at 15:06
I'm in the process of doing some development for the ggtern package, and I am trying to produce an efficient algorithm to do with ternary heatmaps. Specifically, I am using the following post (Ternary Heatmap) as a startingpoint.
Consider the function below, which is based off (part of) the above link:
...ANSWER
Answered 2018-Jan-18 at 15:06Usually it is mush faster to simply use vectors :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install trimesh2
Download a prebuilt release of trimesh2 or build the library yourself (see further below) The static library will be called trimesh.lib, the debug version is trimeshd.lib.
Include the header include/TriMesh.h, and make sure the static library is in your build path. All Trimesh2 functions will be in the TriMesh namespace.
Typical ways to get started: Loading a model : TriMesh* themesh = TriMesh::read(filename);. This mesh class contains a data member vertices which will be filled with all the vertices of your model, and a data member faces, which will tell you which vertices make up a face. If your model contains vertex normals, they will be in normals. You can (re)compute them by calling need_normals on the mesh. There's also need_bbox for a bounding box, need_dcurv for curvature, etc. For inspiration on how to use the library and its various features, check out include/TriMesh.h and the utilities in the utilsrc folder.
For Windows, build solutions for VS2017 and VS2019 are provided in the mscvfolder, verified working with the free Community Editions of Visual Studio. The solutions contain both Debug and Release profiles for 32-bit and 64-bit builds. The built libraries will be placed in a folder named lib.(architecture).(visual studio version) in the trimesh2 root folder. For example, for a 64-bit Visual Studio 2017 build, it will be lib.win64.vs141. The utilities will be placed in util.(architecture).(visual studio version). This naming scheme is in place to avoid clashing trimesh2 versions. For Linux, a makefile is provided. You might need additional packages before you can build the utilities on your system. On Ubuntu these are: mesa-common-dev libglu1-mesa-dev libxi-dev.
For OSX, I'm being told it builds using the makefile, but I have no way to check. If you encounter problems, please, file an issue report :)
Include the header include/TriMesh.h, and make sure the static library is in your build path. All Trimesh2 functions will be in the TriMesh namespace.
Typical ways to get started: Loading a model : TriMesh* themesh = TriMesh::read(filename);. This mesh class contains a data member vertices which will be filled with all the vertices of your model, and a data member faces, which will tell you which vertices make up a face. If your model contains vertex normals, they will be in normals. You can (re)compute them by calling need_normals on the mesh. There's also need_bbox for a bounding box, need_dcurv for curvature, etc. For inspiration on how to use the library and its various features, check out include/TriMesh.h and the utilities in the utilsrc folder.
For Windows, build solutions for VS2017 and VS2019 are provided in the mscvfolder, verified working with the free Community Editions of Visual Studio. The solutions contain both Debug and Release profiles for 32-bit and 64-bit builds. The built libraries will be placed in a folder named lib.(architecture).(visual studio version) in the trimesh2 root folder. For example, for a 64-bit Visual Studio 2017 build, it will be lib.win64.vs141. The utilities will be placed in util.(architecture).(visual studio version). This naming scheme is in place to avoid clashing trimesh2 versions. For Linux, a makefile is provided. You might need additional packages before you can build the utilities on your system. On Ubuntu these are: mesa-common-dev libglu1-mesa-dev libxi-dev.
For OSX, I'm being told it builds using the makefile, but I have no way to check. If you encounter problems, please, file an issue report :)
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page