[vtkusers] Newbie user simple example

David Doria daviddoria at gmail.com
Tue Sep 21 19:33:26 EDT 2010


On Tue, Sep 21, 2010 at 7:31 PM, Enrico Scantamburlo
<scantamburlo at streamsim.com> wrote:
> I am developing a 3d application using VTK java bindings. I was used to use
> Java3D and I found VTK pretty different.
>
> I have written a small program that plot spheres with a a label next to
> them.
>
> The problem is that if I draw too many sphere (~/1000) the 3d becomes very
> slow.
>
> I though that all the speheres may share the same Mapper but I do not know
> if it is the right thing to do.
>
> Can anyone help me. I 've copy-pasted a very simple example

You should create all of the actors from a single source+mapper.

David



More information about the vtkusers mailing list