OpenGL performance (Cocoa)
OpenGL performance (Cocoa)
- Subject: OpenGL performance (Cocoa)
- From: Jean Bovet <email@hidden>
- Date: Wed, 17 Sep 2003 16:44:41 +0200
We have developed a simulation application for our robotic cells
running currently under Windows. I'm in charge to port this application
to MacOS X and I have some OpenGL performance issue (I don't know if
it's specific to OpenGL or Cocoa): the 3D simulation works at 60 fps on
the PC (a CAD PC with a NVidia Quadro2 Pro video card) but it runs only
at 10 fps on my mac (bi-800 and NVidia GeForce 2). I have tried to run
the app on my PB G4 (Rage 128 card) and it runs at 5-6 fps.
The 3D simulation is composed by around 22'000 polygons without texture
(only simple color, and using OpenGL list). The OpenGL context is
rendering inside an NSOpenGLView with the following pixel formats:
NSOpenGLPixelFormatAttribute attrs[] =
{
NSOpenGLPFANoRecovery,
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAccelerated,
NSOpenGLPFAColorSize, 32,
NSOpenGLPFADepthSize, 32,
nil
};
Is the graphic cards inside the Mac too slow ? Does any OpenGL affects
performance on the Mac and not on the PC ? Any hints to optimize the
application ?
Thanks a lots
Jean Bovet
------------------------------------------------------------------
Jean Bovet
Software Engineer
Automation, Production Engineering and Robotics Laboratory (LPR)
E-mail : email@hidden - Voice : ++41 (0)32 930 38 43
EIAJ, Le Locle Site
7, avenue de l'Httel-de-Ville, 2400 Le Locle, Switzerland
------------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.