[vtkusers] Cylinder Anti-Aliasing

Thiago Macedo tmacedo29 at gmail.com
Mon May 30 08:21:08 EDT 2011


Hi All,

I'm still having problems with vtkCylinderSource anti-aliasing (attached image).
As you can check the lines are anti-aliased, but cylinder is not
Could someone help me, please?

Att.

On Thu, May 26, 2011 at 4:26 PM, Thiago Macedo <tmacedo29 at gmail.com> wrote:
> Hi Jon,
>
> I'v tried to use OpenGL function directly with no sucess.
> Do you or someone know how to make this anti-aliasing over vtkCylinderSource?
>
> Regards
>
> On Tue, May 24, 2011 at 11:24 AM, Thiago Macedo <tmacedo29 at gmail.com> wrote:
>> Hi Jon,
>>
>> firstly, thank you for your prompt answer.
>> Actually, I'm already using all the *SmoothingOn() funcions. The
>> attached image, in my last e-mail, already has the 3 Smoothing algo.
>> as ON.
>> Anyway, I'll try the OpenGL command too.
>>
>> Regards,
>>
>> On Tue, May 24, 2011 at 11:13 AM, Jon Payne <jpayne at hgl-dynamics.com> wrote:
>>> On 24/05/2011 14:12, Thiago Macedo wrote:
>>>>
>>>> HI All,
>>>>
>>>> I've tried to find a way to make a cylinder as smooth as lines when
>>>> LineSmoothingOn(), but it seems nothing is really working.
>>>> Attached I'm sending a screenshot.
>>>> Could someone help me?
>>>>
>>>> Regards
>>>
>>> Hi Thiago ,
>>>
>>> I think you'll need the following for a cylinder if not a wire-frame:
>>> PolygonSmoothingOn();
>>>
>>> I generally do:
>>>
>>>    renderWindow->LineSmoothingOn();
>>>    renderWindow->PointSmoothingOn();
>>>    renderWindow->PolygonSmoothingOn();
>>>    glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
>>>
>>> Cheers,
>>> Jon
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> Thiago B. Macedo
>>
>> Esta mensagem pode conter informação confidencial e/ou privilegiada.
>> Se você não for o destinatário ou a pessoa autorizada a receber
>> esta mensagem, não pode usar, copiar ou divulgar as informações nela
>> contidas ou tomar qualquer ação baseada nessas informações.
>> Se você recebeu esta mensagem por engano, por favor, avise
>> imediatamente o remetente, respondendo o e-mail e em seguida apague-a.
>> Agradeço a sua cooperação.
>>
>> This message may contain confidential and/or privileged information.
>> If you are not the addressee or authorized to receive this for
>> the addressee, you must not use, copy, disclose or take any action
>> based on this message or any information herein. If you have
>> received this message in error, please advise the sender immediately
>> by reply e-mail and delete this message. Thank you for your
>> cooperation.
>>
>
>
>
> --
> Thiago B. Macedo
>



-- 
Thiago B. Macedo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScreenShot02.PNG
Type: image/png
Size: 4487 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110530/32111c27/attachment.png>


More information about the vtkusers mailing list