Skip to content

Render or Load .vtr file using VEDO #303

Answered by marcomusy
prithishh3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Prithish,

  1. yes but it's very much limited to visualization as load() only creates the polygonal mesh of the geometry of the volume, e.g.:
from vedo import *
rg = load('https://www.dropbox.com/s/ib96jr4kknvvrcl/RectilinearGrid.vtr')
rg.lineWidth(0.1)
rg.printInfo()
show(rg, axes=1)


if you need to do more complicated analysis I suggest to have a look at pyvista which naturally supports this type of data set.

  1. Yes - there is an example on how to reconstruct a polygonal mesh from a point cloud: https://vedo.embl.es/#gallery (search "reco")
    You can load() a point cloud from a .xyz ascii file and/or from command line, eg.
    vedo https://vedo.embl.es/examples/data/teapot.xyz

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@prithishh3
Comment options

@marcomusy
Comment options

Answer selected by marcomusy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants