[vtkusers] vtkGlyph3D problem?

Jérôme jerome.velut at gmail.com
Tue Apr 13 04:45:37 EDT 2010


Hi,
The "not able to allocate..." message is the usual one when you don't have
enough memory.
Don't forget that your sphere will be copied at each input point. Thus the
final number of
points will be:
   number_of_sphere_points * number_of_input_points

eg. 20x20 spheres = 400 points * 75k = 30M

each input point data is copied over each sphere point. It multiplies the
amount of needed
memory as well (fo instance, a tensor multiplies by 9, if it's double data
it is 4 octets
more, etc.)

HTH
Jerome


2010/4/13 Sebastian Gatzka <sebastian.gatzka at stud.tu-darmstadt.de>

>  I'm experiencing the same problem!
> Any ideas? Lack of memory?
>
> Am 13.04.2010 10:27, schrieb Bill Chivas:
>
> Hi all,
>
> i use vtkGlyph3D with source a vtkSphereSource and input a
> vtkunstructuredgrid.
> Grids with small number of vertices (approximately <10K ) are glyphed ok.
> But large grids (e.g. vertices==75K) are not glyphed! A vtk message appears
> saying "not able to allocate...something" (i can't read the whole).
>
> What is the problem? Large grids with many vertices can't be glyphed?
>
> Bill
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100413/2fea317a/attachment.htm>


More information about the vtkusers mailing list