Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

psonice

macrumors 6502a
Original poster
Jul 22, 2005
968
0
Morning!

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)
 

psonice

macrumors 6502a
Original poster
Jul 22, 2005
968
0
\o/

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.
 

WeeBull

macrumors newbie
Aug 18, 2004
9
0
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.
 

psonice

macrumors 6502a
Original poster
Jul 22, 2005
968
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.