All Projects → JuliaGeometry → MeshViz.jl

JuliaGeometry / MeshViz.jl

Licence: MIT license
Makie.jl recipes for visualization of Meshes.jl

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to MeshViz.jl

flowers
Program to generate 3D models of abstract flowers.
Stars: ✭ 16 (-68.63%)
Mutual labels:  meshes
skeletor
3D skeleton extraction from meshes.
Stars: ✭ 115 (+125.49%)
Mutual labels:  meshes
Cgal
The public CGAL repository, see the README below
Stars: ✭ 2,825 (+5439.22%)
Mutual labels:  meshes
MeshCore.jl
Curation and manipulation of general unstructured meshes for the Finite Element Methods (FEM).
Stars: ✭ 14 (-72.55%)
Mutual labels:  meshes
bitpit
Open source library for scientific HPC
Stars: ✭ 80 (+56.86%)
Mutual labels:  meshes
vtkbool
A new boolean operations filter for VTK
Stars: ✭ 77 (+50.98%)
Mutual labels:  meshes
unity-plumber
A component to procedurally generate pipe-like meshes in Unity
Stars: ✭ 55 (+7.84%)
Mutual labels:  meshes
roadifier
Open Source road mesh generator script for Unity
Stars: ✭ 30 (-41.18%)
Mutual labels:  meshes
stripy
2D spherical and Cartesian triangulation toolkit using tripack, stripack, srfpack and ssrfpack
Stars: ✭ 33 (-35.29%)
Mutual labels:  meshes
ameshref
Efficient Matlab Implementation of Adaptive Mesh Refinement in 2D
Stars: ✭ 28 (-45.1%)
Mutual labels:  meshes
ConstructiveGeometry.jl
Algorithms and syntax for building CSG objects within Julia.
Stars: ✭ 27 (-47.06%)
Mutual labels:  meshes
CGoGN 2
n-dimensional Meshes with Combinatorial Maps
Stars: ✭ 19 (-62.75%)
Mutual labels:  meshes
BodyParts3D
Clone of the BodyParts3D/Anatomography 3D model files
Stars: ✭ 32 (-37.25%)
Mutual labels:  meshes
PolyDraw
✳️ PTSource PolyDraw is a free 3D polygonal modeller for Windows x86 and x64, for creating or modifying 3D objects using a mesh of 3D points and parametric NURBS Curves .Exports and imports to over 40 formats including WebVR and 3D Printing.
Stars: ✭ 17 (-66.67%)
Mutual labels:  meshes
IsoMesh
IsoMesh is a group of related tools for Unity for converting meshes into signed distance field data, raymarching signed distance fields, and extracting signed distance field data back to meshes via surface nets or dual contouring.
Stars: ✭ 178 (+249.02%)
Mutual labels:  meshes
navis
Python 3 library for analysis of neuroanatomical data
Stars: ✭ 68 (+33.33%)
Mutual labels:  meshes
intersection-wasm
Mesh-Mesh and Triangle-Triangle Intersection tests based on the algorithm by Tomas Akenine-Möller
Stars: ✭ 17 (-66.67%)
Mutual labels:  meshes
mesher-example
An example to illustrate the functionalities of Mesher
Stars: ✭ 16 (-68.63%)
Mutual labels:  meshes
ParallelQSlim
Shape Aware Parallel Mesh Simplification Algorithm
Stars: ✭ 84 (+64.71%)
Mutual labels:  meshes

MeshViz.jl

Makie.jl recipes for visualization of Meshes.jl.

Installation

Get the latest stable release with Julia's package manager:

] add MeshViz

Usage

using Meshes, MeshViz

# choose a Makie backend
import GLMakie as Mke

using PlyIO: load_ply

function loadply(fname)
  ply = load_ply(fname)
  x = ply["vertex"]["x"]
  y = ply["vertex"]["y"]
  z = ply["vertex"]["z"]
  points = Point.(x, y, z)
  connec = [connect(Tuple(c.+1)) for c in ply["face"]["vertex_indices"]]
  SimpleMesh(points, connec)
end

mesh = loadply("beethoven.ply")

viz(mesh, showfacets = true)

beethoven

mesh = loadply("dragon.ply")

# for vertex coloring pass a vector of colors
# with the same length of the number of vertices
viz(mesh, color = 1:nvertices(mesh), colorscheme = :Spectral)

dragon

grid = CartesianGrid(10,10)

viz(grid, showfacets = true)

grid2d

# for element coloring pass a vector of colors
# with the same length of the number of elements
viz(grid, color = 1:nelements(grid))

grid2d-color

grid = CartesianGrid(10,10,10)

viz(grid, showfacets = true)

grid3d

viz(grid, color = 1:nelements(grid))

grid3d-color

using GeoTables

# Brazil states as Meshes.jl polygons
BRA = GeoTables.gadm("BRA", depth = 1)

viz(BRA.geometry, decimation = 0.02)

brazil

RIO = GeoTables.gadm("BRA", "Rio de Janeiro", depth = 1)

viz(RIO.geometry, decimation = 0.001)

rio

viz(BRA.geometry, color = 1:length(BRA.geometry))

brazil-color

Please check the docstring ?viz for available attributes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].