Hi Suddha,

Sorry for the slow answer. It seems that I am always travelling.

So option to turn on antialiasing is not displayed in the UI, but you can
do this programmatically. If 'f' is the current scene, or figure, which
you can retrieve using 'mlab.gcf()':
http://github.enthought.com/mayavi/mayavi/auto/mlab_figure.html#enthought.mayavi.mlab.gcf
you can do the following:

f.scene.render_window.aa_frames = 8

# And trigger a refresh:
mlab.draw()

Hope this helps,

Gael


On Thu, Apr 07, 2011 at 02:26:27AM +0600, suddha sourav wrote:
>    This is my first mail to this list. First I'd like to thank the MayaVi
>    team for making this astonishing piece of software possible. It's simply
>    brilliant!
>    At this point I'm just playing with MayaVi to learn its features and plan
>    to use it in classrooms.
>    I would like to know how I can set (and adjust, if possible) the
>    anti-aliasing feature in a MayaVi scene. I can already use the
>    anti-aliasing features while saving a scene - so no problem there - what I
>    want to know is how to enable anti-aliasing inside the scene (when in
>    interactive mode).
>    Thank you for your efforts.
>    Suddha Sourav

> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev

> _______________________________________________
> MayaVi-users mailing list
> MayaVi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mayavi-users


-- 
    Gael Varoquaux
    Research Fellow, INSERM
    Associate researcher, INRIA
    Laboratoire de Neuro-Imagerie Assistee par Ordinateur
    NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France
    Phone:  ++ 33-1-69-08-78-35
    Mobile: ++ 33-6-28-25-64-62
    http://gael-varoquaux.info

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to