[vtkusers] "Instancing" geometry

Gerrick Bivins gbivins at objectreservoir.com
Fri Oct 10 15:43:35 EDT 2008


Hi Dave,
Thanks for the quick reply.
It looks like I can use this if I created a dataset of points to set as my
source, am I reading that correctly? Then it would just being a matter of
supplying a pointdata field(vector for x,y,z scale) that contained my
desired scaling, correct?
Gerrick


On 10/10/08 2:06 PM, "David E DeMarle" <dave.demarle at kitware.com> wrote:

> Glyph filters can do it quite a bit more efficiently than can be done
> with individual sources. But your usage may be incompatible.
> 
> See vtkGenericGlyph3DFilter for example.
> 
> cheers,
> Dave
> 
> On Fri, Oct 10, 2008 at 2:54 PM, Gerrick Bivins
> <gbivins at objectreservoir.com> wrote:
>> Hi all,
>> Does vtk have the concept of "instancing" of geometry?
>> I'd like to create markers in my scene represented by a cone  where each
>>  cone can differ in radius and height. I'm currently creating a
>> vtkConeSource for each marker.
>> Right now there aren't many markers (less than 30) and I'm seeing a
>> performance hit if I increase the resolution of the cones to more than 10.
>> Ideally, I could create a single cone geometry and then instance the other
>> markers and size them accordingly. Is this type of functionality available
>> in vtk?
>> Gerrick
>> 
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>> 
>> 




More information about the vtkusers mailing list