Performance issues

View: New views
1 Messages — Rating Filter:   Alert me  

Performance issues

by sinosoidal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have an application using Tao using as a Windows Control (using
SimpleOpenGLControl).

When i put it running in fullscreen it has a not smooth performance.

Basicly the application emulates that concept of rotating cube, to show
images, so it is simply two quads, one being displayed and another that
will be displays after rotating.

The not cool thing is that i can see a brute frame skiping which turns
the ilusion very bad.

How can i tune the performance?

There are my OpenGL options:

Gl.glEnable(Gl.GL_TEXTURE_2D);
            Gl.glEnable(Gl.GL_DEPTH_TEST);
            Gl.glEnable(Gl.GL_CULL_FACE);
            Gl.glPolygonMode(Gl.GL_FRONT_AND_BACK, Gl.GL_FILL);

            Il.ilInit();
            Il.ilEnable(Il.IL_CONV_PAL);
            Il.ilEnable(Il.IL_ORIGIN_SET);

            Ilu.iluInit();
            Ilut.ilutEnable(Ilut.ILUT_OPENGL_CONV);
            Ilut.ilutRenderer(Ilut.ILUT_OPENGL);

And for giving the idle func i'm still using a form timer with an
interval of 1.

Any tips?,

Thx,

Nuno


_______________________________________________
Tao-list mailing list
Tao-list@...
http://galactus.ximian.com/mailman/listinfo/tao-list