Poll
Quartz or OpenGL
Quartz 3
OpenGl 3
Neither there is a better option 0
Don’t give a crap I hate stupid polls 1
Total Votes: 7
You must be a logged-in member to vote
Quartz or OpenGL
Posted: 15 May 2008 10:58 AM   [ Ignore ]
New Member
Rank
Total Posts:  59
Joined  2007-07-09

I posted this in another thread but I think it deserves its own.

Im writing the drawing part of my app and Im trying to figure out wether to stick with opengl or to change direction and draw with quartz.  I am trying to figure out which is faster but speed could be compromised for ease and looks. I will need to use text and upload images and series of images in a loop to different parts of the view. Any thoughts.

Ding

Profile
 
 
Posted: 27 May 2008 10:08 AM   [ Ignore ]   [ # 1 ]
New Member
Avatar
Rank
Total Posts:  38
Joined  2008-01-31

I know this post is a little old, but it looks so lonely and in need of a friendly reply.

Honestly it all depends on what you are doing. Quartz is Apple’s solution for 2D drawing. You can do 2D drawing with OpenGL, but in my opinion that is like hitting a nail with a sledge hammer. Unless you want to do some over the top fancy stuff. However if you use OpenGl I suggest that you read over Apple’s programming guide, if you already haven’t, and make sure you use their frameworks works to get the OpenGL job done.  I am not much of an OpenGL programmer, but I have read enough to know that they are not to keen on you using GLUT or mixing Apple OpenGL and Non-Apple OpenGL. If the developer guides seem a little daunting, the dev list Apple provides is an awesome source of information. Here is a link to the OpenGL guide, so you can see how they structured OpenGL.
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_pg_concepts/chapter_2_section_3.html#//apple_ref/doc/uid/TP40001987-CH208-SW19

Profile