NeHe iOS Lesson 01 Q&A

Started by
6 comments, last by skyfancy 11 years, 8 months ago
Hi guys!

I've just finished and published the first iOS NeHe Lesson!!

http://nehe.gamedev....up_gl_es/44001/

Would be great to get some feedback, no matter how destructive :) !

This is to place to ask any questions about it as well, so feel free to do so.

Cheers
Carsten
Advertisement

Hi guys!

I've just finished and published the first iOS NeHe Lesson!!

http://nehe.gamedev....up_gl_es/44001/

Would be great to get some feedback, no matter how destructive :) !

This is to place to ask any questions about it as well, so feel free to do so.

Cheers
Carsten


looks good. You are also the first tutorial which doesnt delete the main window.xib which is very good because deleting it will cause a crash when running the app on a device :-)

so, good work!!! greets to darmstadt, i lived near frankfurt a couple of years.. beautiful city


I open sourced my C++/iOS OpenGL 2D RPG engine :-)



See my blog: (Tutorials and GameDev)


[size=2]http://howtomakeitin....wordpress.com/

Hey! Thanks for making these. I look forward to going through the rest.

I'm trying to set up the downloadable project in lesson 1 and get it set up from scratch myself (learning purposes), and I can't seem to add the EAGLView onto the window in interface builder. Can you go over it really quick? A sentence or two would probably get me in the right direction since I think I'm just missing an option somewhere.
I'm always struggling with Interface Builder as well, I know how you feel :)

Adding the view works by adding a standard UIView to your window, and when you select it and look at the properties pane to the right, in the 3rd tab under "custom class" you can choose which class derived from UIView you wish you use. That's where you select EAGLView.
What happend to the class diagram? Maybe it's my computer but all the characters are in one spot and it's unreadable. Attached is what I see. Could you upload a new diagram?

Great tutorial otherwise though!
Hello,

One month ago I started programming in OpenGL environnement. First in VBA, I made a little Glut based Application to see .obj model. It was my first dive and after some results, I decided to move forward to a full language (VB.net)
The approach was different. So I took the CSGL library to give it a try in Visual Studio Express.
Then I made some search on internet to see how people were calling the CSGL library in VB.net.
I saw a lot of sample. Most of them were not for the latest version of VB.net so I had to drop them.
Then I came to C++ sample and tried to parse them in VB.net.
On this site I found a very good tutorial explaining the first thing to achief in order to get a working OpenGL environnement. I found some other samples at Chintaka Rukshan's website and some other at O'Reily's website.
And then I tried to get a good OpenGL environnement.

I first translated the sample of Chintaka (from c) then O'Reily (from old VB.net (no Marshalling))
Then I tried the VB.net sample zip given on the NeHe Tutorial Website.

None of them are good.
Sure you can draw some OpenGL stuff with these sample but when you begin to get information about your rendering context or if you try to swap buffers or if you want some other special opengl features, then you're just going nowhere.

Then I started from scratch. I took some info at Msdn's website and saw that the tutorial of Nehe was almost the same as explained by Microsoft. Thus why the VB.net sample compiled by X is not following these rules. ???
Sure it was hard to get it with the new Marshalling system. The imports in VB.net are not like just adding the .h header file. We have to tell VB.net how to manage these libraries.
Now I've finally My hWnd, My hDC and my hRC. WndProc is receiving the message. My code is the correct mirror of the C++ lesson.
Next Week I'll try to make my sample available so that VB.net developers can start with the same context as the one explained in NeHe tutorial.
Hi,
I like Nehe,where is lesson3?

This topic is closed to new replies.

Advertisement