iDevGames Forums
NeHe revival? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: NeHe revival? (/thread-3193.html)

Pages: 1 2


NeHe revival? - Duane - Jul 8, 2007 01:19 PM

Anyone up for a true osx port of all of NeHe's lessons? I feel as if osx should be represented well... right now the ports are pieces of crap. Rasp Perhaps a weird revival of the long-dead incubator project? Anyways, this is an area that I feel can help the community members AND involve everybody.


NeHe revival? - unknown - Jul 8, 2007 01:45 PM

It might be better write to some real good tutorials and do it in a mac oriented way.
I guess some of the most important things would be

1) Various different ways to get an OpenGL context, with the good and bad points
2) Loading textures and troubleshooting the problems
3) The different ways to optimize drawing e.g. how to not use immediate mode

I'd be happy to help write some stuff but I think someone should set a list better and it might work well to divide it between a few people. What do you think?


NeHe revival? - Duane - Jul 8, 2007 02:23 PM

I think there's something to be said for NeHe's essential opengl knowledge... plus, I don't want to point them there and have them learn how to make a context badly... Still, that'd be great too. I'm realearning opengl after my hiatus for other graphics projects; those would be great resources in addition to NeHe's basic opengl skills.


NeHe revival? - Willem - Jul 8, 2007 02:26 PM

Yes, but someone who has no idea how to use OpenGL (which would be someone searching for the NeHe tutorials) shouldn't have to be concerned about the "best" way to create a context. They need to poke around the API some before worrying about optimizing their usage of it.

Don't bog them down with vertex/index buffers and all that jazz. Immediate mode and a basic context is all they need to start learning.


NeHe revival? - Duane - Jul 8, 2007 02:51 PM

exactly-but if the example code doesn't work, then they're already at a disadvantage, before they write ANY code.


NeHe revival? - OneSadCookie - Jul 8, 2007 02:57 PM

The Cocoa ports aren't that fantastic, but the GLUT ports generally work fine... or at least, did when I last needed one...


NeHe revival? - unknown - Jul 8, 2007 03:20 PM

Nayr Wrote:I think there's something to be said for NeHe's essential opengl knowledge... plus, I don't want to point them there and have them learn how to make a context badly... Still, that'd be great too. I'm realearning opengl after my hiatus for other graphics projects; those would be great resources in addition to NeHe's basic opengl skills.

yes. which is why I suggest writing new tutorials.


NeHe revival? - bronxbomber92 - Jul 8, 2007 03:47 PM

I do know GameDev is rewriting all the Nehe tutorials (or maybe just the code) to fit into an OO cross-platform design using SDL. I don't know if this affects anything, but it might be taking a look at the first 4 lessons they released.
http://www.gamedev.net/community/forums/topic.asp?whichpage=1&pagesize=25&topic_id=437836


NeHe revival? - PowerMacX - Jul 10, 2007 07:11 AM

OneSadCookie Wrote:The Cocoa ports aren't that fantastic, but the GLUT ports generally work fine... or at least, did when I last needed one...

Yes, that's how I got started with OpenGL on my Mac several years ago.


NeHe revival? - Duane - Jul 10, 2007 08:42 AM

same, but, again, you wouldn't want to teach them to use GLUT... that's one of the worst ways to get a gl context on the mac. Plus, isn't it kinda broken? I thought fullscreen didn't work or something...

The point I'm trying to make is: it's best to teach them properly the first time.


NeHe revival? - unknown - Jul 10, 2007 10:06 AM

Thats why I said
1) Various different ways to get an OpenGL context, with the good and bad points

GLUT is very useful for some things, but certainly not what you would use for releasing a game.


NeHe revival? - OneSadCookie - Jul 10, 2007 01:46 PM

GLUT is a very good way to *learn* OpenGL, because it's simple. There's no need to force people to deal with the wackiness of Cocoa up-front like that.

Once you've got a good handle on OpenGL and GLUT, then an advanced tutorial on how to switch properly to Cocoa is reasonable.


NeHe revival? - TomorrowPlusX - Jul 10, 2007 02:11 PM

Agreed. If I'd had to grok Cocoa's NSOpenGLContext stuff when I was learning GL I'd have probably given up.

GLUT was absolutely perfect for me when learning GL. I had a simple Xcode project with dozens of single-file targets ( lots of lesson-<xyz>.c files ) with no need to .app bundle stuff.


NeHe revival? - AnotherJake - Jul 10, 2007 07:15 PM

Me three. GLUT is a good tool for learning OpenGL on the Mac (or any other system for that matter).

There are varying degrees of support one can squeeze out of Cocoa for any given OpenGL context, so in practice it is kind of hard to make a one-size-fits-all tutorial for it I think.

Waaaaay OT: Hey, PowerMacX, I just read in my local newspaper over dinner that you guys got your first snow yesterday since 1918. If you got any good pics, it might be kinda cool if you posted a thread on that!


NeHe revival? - PowerMacX - Jul 10, 2007 07:26 PM

AnotherJake Wrote:Waaaaay OT: Hey, PowerMacX, I just read in my local newspaper over dinner that you guys got your first snow yesterday since 1918

Pics? Nah... I got videos! Rasp (as in, I actually took the MacBook out the window to film stuff! LOL ) I'll upload something to YouTube and post a link later on an Assembly Room thread. </offtopic>