[vtkusers] Basic questions?

Francois Bertel francois.bertel at kitware.com
Thu Jan 28 17:10:11 EST 2010


Just preventing any surprise here: rendering with pointsize>1 may
differ with the actual OpenGL implementation in use.

For example, on a nVidia GeForce, it renders a square, on a nVidia
Quadro it renders a disk (I don't know about Intel, ATI or Mesa.)


On Thu, Jan 28, 2010 at 4:51 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Thu, Jan 28, 2010 at 3:55 PM, Francois Bertel
> <francois.bertel at kitware.com> wrote:
>> Hello,
>>
>> Play with PointSize, this is an ivar on the vtkProperty of a vtkActor.
>>
>> On Thu, Jan 28, 2010 at 3:53 PM, Anders Wallin
>> <anders.e.e.wallin at gmail.com> wrote:
>>>> Yes, by setting NumberOfPoints to 1, Radius to 0 and Center to your x,y,z
>>>> coordinates in vtkPointSource, you will generate a single point where you
>>>> want. I use it daily for seeding algorithms.
>>>
>>> Is there a way of adjusting how big (e.g. in pixels) the points are rendered?
>>> I will show my ignorance by also asking if this kind of an adjustment
>>> would usually made in the source, renderer, or actor object ??
>>>
>>> AW
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> François Bertel, PhD  | Kitware Inc. Suite 204
>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>                      | Clifton Park NY 12065, USA
>> _______________________________________________
>
> Anders,
>
> Here is a demo of what Francois said:
> http://www.vtk.org/Wiki/VTK/Examples/Visualization/PointSize
>
> Thanks,
>
> David
> _______________________________________________
> 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
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list