PyObjC / Quartz Composer / OpenGL

Discussion in 'Mac Programming' started by psonice, Nov 15, 2007.

  1. psonice macrumors 6502a

    Jul 22, 2005

    I'm thinking of starting a bit of a project (well, moving an existing one from a platform that isn't working out) over to osx. The current code is in python, and it's a 3d app. I'd prefer to keep the current code and use python rather than learn obj c from scratch, and I see there's the pyobjc bridge for using python in cocoa apps. Anyone using it or can answer these questions?

    - Can python be used with open gl? (I'll need it for doing some 3d)
    - Can it be used with quartz compositions? (I'll need to pass parameters etc., and I guess create custom patches)

    Failing that.. any suggestions for a good obj c book for beginners? (2 I guess as I'm on leopard)
  2. Sijmen macrumors 6502a

    Sep 7, 2005
    - yes
    - yes

    (Sorry, don't have any links handy.)
  3. psonice thread starter macrumors 6502a

    Jul 22, 2005

    Thanks, I'll dig up the documentation as I go along. So long as I know it's feasible, and I'm not going to find some kind of major roadblock half-way through.
  4. WeeBull macrumors newbie

    Aug 18, 2004
    Python: Do it on Leopard as it's far better integrated with the system, but yes, it should all be possible.

    Book: Aaron Hillegas, Cocoa for Mac OSX (something like that). Apparently he's working on a third edition for Leopard / Obj-C 2.0. Think it's meant to be out early next year.

    No books around for Obj-C 2.0 at the moment. It's too new.
  5. psonice thread starter macrumors 6502a

    Jul 22, 2005
    Thanks again. I have leopard already, so things are looking good. I'll hold off from getting the book until the new one comes out, as I'll hopefully need very little cocoa for now. I'll just have to see if python is fast enough, and switch later if it isn't.

Share This Page