-
Hi! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
E.g.: import vedo
import numpy as np
pts = vedo.Points(np.random.randn(1000000,3))
pts.pointdata['Curvature'] = pts.points() # whatever, i'm making this up!
# add an array which corresponds to the z component
pts.pointdata['ZCurvature'] = pts.pointdata['Curvature'][:,2] # numpy array
pts.cmap('jet', "ZCurvature").addScalarBar()
vedo.show(pts, axes=1) |
Beta Was this translation helpful? Give feedback.
-
HI, just use your numpy vectors of normals and add them to the point positions, then use |
Beta Was this translation helpful? Give feedback.
HI, just use your numpy vectors of normals and add them to the point positions, then use
Lines()
.let me know if you need help,
marco