Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: OpenGL or Quartz2D

  1. #1
    Guest

    OpenGL or Quartz2D

    Hello,
    I want to antialias basic shapes like polygons,lines etc. Should I use OpenGL or quartz2D API ? I need to do this on windows platform too and I have been recommended to use GDI+ which ofcourse is not available on MAC. I have read somewhere that OpenGL is good only for working on 3D objects :-(. So should I use Quartz2D because my obejcts are 2D ? Also I need to antialias pictures having clipping paths.

    regards
    Kapil

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    548

    Re: OpenGL or Quartz2D

    OpenGL is very good for 2D as well as 3D.

    However, antialiasing is not GL's forte. Speed is not Quartz's forte. You're going to have to make a tradeoff there.

    If speed is not an issue, then I'm sure Quartz will be easier. If speed is a requirement, then you'll have to have a go at implementing your own antialiasing with OpenGL.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •