• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quickly drawing non-antialiased, discrete, pixels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quickly drawing non-antialiased, discrete, pixels


  • Subject: Re: Quickly drawing non-antialiased, discrete, pixels
  • From: Brent Gulanowski <email@hidden>
  • Date: Thu, 9 Jan 2003 11:30:54 -0500

On Tuesday, January 7, 2003, at 08:53 AM, Bill Bumgarner wrote:

On Monday, Jan 6, 2003, at 19:52 US/Eastern, email@hidden wrote:
You could use OpenGL, of course.
.... excellent example excised ....

I assume you have to do something to set up the view appropriately? How is that done?

(I know virtually nothing about OpenGL except that I should learn)

b.bum

Bill,

The best intro to OpenGL for most beginners is nehe.gamedev.net, but use the Cocoa examples available at www.withay.com. There is a starter project which just opens an OpenGL view, and a follow-up which draws a triangle. The basics of OpenGL are really simple and easy to pick up, and for 2D the rest is just a bunch of drawing commands and state set calls. The trick is that your drawing commands aren't retained between screen redraws -- you have to do that yourself in your view or your own drawing classes.

The Red Book (OpenGL Programming Guide) is available online here:http://fly.cc.fer.hr/~unreal/theredbook/

Brent Gulanowski
--
Mac game development news and discussion
http://www.idevgames.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: Quickly drawing non-antialiased, discrete, pixels
      • From: Bill Bumgarner <email@hidden>
References: 
 >Re: Quickly drawing non-antialiased, discrete, pixels (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: NSWindowController and IBOutlets
  • Next by Date: Re: Configuring network prefs programmically
  • Previous by thread: Re: Quickly drawing non-antialiased, discrete, pixels
  • Next by thread: Re: Quickly drawing non-antialiased, discrete, pixels
  • Index(es):
    • Date
    • Thread