Foundation
Foundation
I am wondering, should I go learn OpenGL and SDL? Should I go to the foundations and build my skills from there?
Programming Blog: http://www.uberwolf.com
OpenGL yes, use it with GLUT or GLFW toolkit. Don't bother with SDL, everyone I know that uses or used SDL wants to ditch it, or hate it, personally I just don't like it because of the GPL licensing. I really recommend using GLFW over it, its much leaner and less bloated, and its probably easier to use, I've never used SDL myself, but this thing is so piss easy that I doubt SDL is any easier, and it doesn't intrude on you're OpenGL code, all it handles is the window rendering, key input, timers, threads etc. Stuff that you need to build a decent OpenGL application but OpenGL doesn't provide pretty much.
Oh yeah, before I forget to mention, nehe
Cheers
Oh yeah, before I forget to mention, nehe
Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Yes, Nehe's tutorials is where i learned OpenGL, they're pretty damned good!
Whether it's necessary to learn OGL kinda depends on your goals though... What are you aiming for? Job in the industry? Then yes, go learn it. If you're just happy being a hobbyist developer then there's not really any need and you can just be happy with Irrlicht, though learning OGL will certainly open your eyes a lot and help you with using Irrlicht and computer graphics in general so if you do have the time then it's certainly a good thing.
Whether it's necessary to learn OGL kinda depends on your goals though... What are you aiming for? Job in the industry? Then yes, go learn it. If you're just happy being a hobbyist developer then there's not really any need and you can just be happy with Irrlicht, though learning OGL will certainly open your eyes a lot and help you with using Irrlicht and computer graphics in general so if you do have the time then it's certainly a good thing.
I agree SDL is quite overrated, after you pass the few simple demos, it is a mediocre library.BlindSide wrote:OpenGL yes, use it with GLUT or GLFW toolkit. Don't bother with SDL, everyone I know that uses or used SDL wants to ditch it, or hate it
GLUT is more reliable, the problem is that GLUT last release was 3.7 in 2000 and it has become obsoleted.
may I suggest http://freeglut.sourceforge.net/
Is the same as GLUT and it keeps with the new Opengl updates
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I'd suggest learning the basics; primitives, lights, cameras, render states, perhaps a simple object loader. That'll give you an understanding of how and why engines abstract those operations. Anything beyond that is probable re-inventing the wheel to no good effect, unless you intend to write your own render engine from scratch.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 277
- Joined: Thu Dec 15, 2005 6:11 pm
I think more important than choosing between SDL and GLFW is to learn the maths behind 3D Graphics, it will help you alot.
I used both, SDL and GLFW. Nowadays i prefer GLFW. The reason? It hasn't got so much overhead(audio, net, etc) i am using other Libs to take care off audio and networking, but the inputhandling is not always working correctly, at least in the C# version.
I used both, SDL and GLFW. Nowadays i prefer GLFW. The reason? It hasn't got so much overhead(audio, net, etc) i am using other Libs to take care off audio and networking, but the inputhandling is not always working correctly, at least in the C# version.
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
To answer your question JP I am aiming to do software engineering at university and take my coding from there when I have the skills and higher level education to see a clear path of interest. I won't be able to produce better games in opengl in comparison to irrlicht for a long time, unless, of course I decide to build my own rendering engine. Yet that is not the goal. I just enjoy programming and I like to see how thinks work from the ground up.Whether it's necessary to learn OGL kinda depends on your goals though... What are you aiming for? Job in the industry? Then yes, go learn it. If you're just happy being a hobbyist developer then there's not really any need and you can just be happy with Irrlicht, though learning OGL will certainly open your eyes a lot and help you with using Irrlicht and computer graphics in general so if you do have the time then it's certainly a good thing.
The game industry is an interesting area yet is it really helping the society or the community? To answer your question at my current stage, I would like to get more involved in OS programming but I feel I should grasp a really strong feel for the C and C++ language and then go onto learning Assembly before I dive into any of that, and what better more enjoyable way to do it then program games / utilities. As to what sector of OS programming I cannot yet say because I haven't begun that stage of my life!
To answer the questions regarding glut, SDL and GLFW I have chosen now to go with GLWF. I don't really care at all for audio etc provided by SDL and Glut not being open source sort of pisses me of and I don't want to learn an API which I have no control over. As for SDL I don't really want an all in one package and from your suggestions I think I will stay away from it at least until its use comes into perspective.
Freeglut sounds interesting but I am not so sure atm. Rogerborg to use the expression, "to re-invent the wheel" implies that I want to actually use the wheel and not understand how the wheel works. I would prefer to know how it works yet have nothing to show for it. For it is only from one with an understanding of a situation whom will be able to create a circumstance in which that situation can be improved.
Thanks for the feedback it helped me a lot! I will be sure to look up the mentioned tutorials. I have books on the subject as well.
Also another thing, I don't see you guys using the standard that often, why?
Programming Blog: http://www.uberwolf.com
Two notes:
1. I suggest learning x86 ASM before going hard on C/C++, at least the basics of ASM. It helps, trust me.
2. I personally don't use stl of two reasons; one, I didn't knew it until I came here and second, and I believe that's also the reason many other app that uses Irrlicht don't use stl, is because its built-in containers.
For a detailed discussion about Irrlicht and STL read here.
1. I suggest learning x86 ASM before going hard on C/C++, at least the basics of ASM. It helps, trust me.
2. I personally don't use stl of two reasons; one, I didn't knew it until I came here and second, and I believe that's also the reason many other app that uses Irrlicht don't use stl, is because its built-in containers.
For a detailed discussion about Irrlicht and STL read here.
You are both right, hybrid and MasterGod, somehow. If you wanna be a godlike programmer you need to know ASM, cause then you will know what the cpu does while you write your code, but to keep it error-free, easy to read and manage you will need OOP. Sure you could argue that following OOP rules will most probably make your code a little bit slower, but that's just a very small downside of OOP, what you gain weights much more. OOP code, if used right, is much easier to debug, to write, to read, to share, etc... this will make finding errors in your code much easier and will simplify working in a team. The OOP way of code also makes finding memory leaks slightly easier and even prevents you from causing nooby memory leaks, cause you always have to use constructors and destructors of your objects. (A long time ago i disliked OOP, i thought it would complicate your life, it definiteley doesn't it will simplify your life, it's worth it, trust me)
R2D2's Irrlicht Mods
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL
Messed up with my database so the page is not working at the moment -.-
CPU: Core 2 Quad Q6700RAM: 4096 mb Graphics: Radeon 4850 512mb Sound: on board InternetConnection: DSL