# Multiple colorized sphere objects mapping

**URL:** https://discourse.vtk.org/t/multiple-colorized-sphere-objects-mapping/252
**Category:** Support
**Created:** [February 11, 2019, 2:32am UTC](https://discourse.vtk.org/t/multiple-colorized-sphere-objects-mapping/252 "2019-02-11T02:32:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![marcomusy](https://discourse.vtk.org/user_avatar/discourse.vtk.org/marcomusy/32/95_2.png) [@marcomusy](https://discourse.vtk.org/u/marcomusy)
#### Post date: [February 11, 2019, 1:08pm UTC](https://discourse.vtk.org/t/multiple-colorized-sphere-objects-mapping/252/2 "2019-02-11T13:08:39Z")

</div>

Sorry, I answered here:

> [@Python VTK -- Can we get the mesh rendered from the colorized point cloud](https://discourse.vtk.org/t/python-vtk-can-we-get-the-mesh-rendered-from-the-colorized-point-cloud/200/6):
>
> I see 3 possibilities: use actor.GetProperty().RenderPointsAsSpheresOn() somewhere in your code. this works for me, using vtkVertexGlyphFilter : import vtk # Load the data for point cloud and colorized vectors # nc = vtk.vtkNamedColors() # test = BTL\_GL.BTL\_GL() # pcd, pc, pc\_color, MeshGrid, img\_color = test.GL\_NonFlat() n = 10 src = vtk.vtkPointSource() src.SetNumberOfPoints(n) src.Update() vgf = vtk.vtkVertexGlyphFilter() vgf.SetInputData(src.GetOutput()) vgf.Update() pcd = vgf.GetOutput…

---

_[View the full topic](https://discourse.vtk.org/t/multiple-colorized-sphere-objects-mapping/252)._
