[Ves] Setting Point Size

Aashish Chaudhary aashish.chaudhary at kitware.com
Tue Aug 27 12:19:10 EDT 2013


Candemir,

Can you change this code in *vesShader_vert.glsl*

gl_PointSize = float(pointSize);

to

gl_PointSize = 10.0 // Or something big

And see if that is working for you. You would have to compile your code
again (with VES). Can you verify if this actually does something. I am
assuming you are using the default shader (with no texture).

Thanks,




On Tue, Aug 27, 2013 at 12:04 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

> I am assuming that Candemir is seeing those points in the view but not of
> correct size. If he is not seeing anything then you might be right.
>
> - Aashish
>
>
>
> On Tue, Aug 27, 2013 at 11:43 AM, Casey Goodlett <
> casey.goodlett at kitware.com> wrote:
>
>> Hi guys,
>>
>> I dont see any cell data being added to the polydata in the snippet.  Do
>> you need to add vertex cells into the polydata in order for the point size
>> control to work?  I'm not sure whether or not thats required, but it might
>> help.
>>
>> Regards,
>>
>>
>> --
>> Casey B. Goodlett, Ph.D.
>> R&D Engineer
>> Kitware, Inc. - North Carolina Office
>> http://www.kitware.com
>> (919) 969-6990 x310
>>
>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130827/4f9abbc2/attachment-0001.html>


More information about the Ves mailing list