Marco Musy
Marco Musy
I don't quite understand why that happens... maybe the pieces are slightly overlapping so that they cannot be split (?) The thresholding works though: ```python import vedo as vd path...
It is multicolored because `vedo` tries to colorize the texture coords of each piece (try press `4` to cycle through the existing point arrays). I dont have a good explanation...
I still think that the meshes might be overlapping .. > Also any idea why the texture was not loaded correctly? why do you say that?
It looks normal. A `Mesh` has vertices whose coordinates can have any arbitrary offset! If you wish to center the mesh so that its center of mass coincides with the...
yes! `grid.cellCenters()`
Please whenever possible post the full working code. This seems to work ok: ```python from vedo import * from vedo.applications import Animation mesh_models = load("tombstone/Tombstone*_low.obj") grid = Grid(sx=1500, sy=2000, resx=3,...
either you specify `viewup` or the `camera` ... what I would do is to choose one orientation that you like manually in a scene then press C and copy-paste the...
yes. try: ```python from vedo import * import numpy as np np.random.seed(0) s = Sphere(quads=True, res=15).clean() res = 0.02 #control the tetras resolution # fill the space w/ points pts...
PS: because it relies in `delauney3D()` the above example only works for convex shapes, otherwise you need to provide a tetrahedral mesh (vtk doesn't do that).
1. that makes a copy then extracts all (and only) tets that have scalar between i-0.1 and i+0.1, so it picks the individual pieces. 2. if you subset more you...