 |
|
|
Scene.org is hosted and supported by:
|
|
|
Scene.org is sponsored by:
|
|
|
|
|
 |
forum - #coders |
|
 | | Topic: | Learning democoding | | | I have (as you can see from my previous post, "Is 2D dead") been considering getting into demo coding. Originally I thought that I would code for classic platforms, but reached the conclusion that it was not really useful outside the demo scene. Thus I am going to try learning 3D programming.
I would prefer using OpenGL and SDL (that implies C/C++) for the demo (and possibly other libraries). The reason for this is that I hope to get the demo running on both windows and linux...
Now the question is, what articles / books would be a good start for learning the basics needed for democoding? I have "The OpenGL Red Book" v. 1.4, so I guess I can use that for reference until I need shaders and other advanced features. But I have previously tried learning 3D programming just from the red book and had a very hard time with it :(
Så tutorials on basic 3D and effect programming (not necessarily demo oriented, I can probably figure out how to change them to my purpose) and audio. I think I have the basics for creating the memory management at hand, though a second perspective is always good.
I should mention that my master plan is to make a 64k intro at some time, but I doubt that will be the first thing I make, I feel like that takes a lot of experience in demo coding (am I right?). Still, if there are any good ressources on how to autogenerate textures / models I would be very happy, I have the stuff from the Hugi diskmags, and will read and experiment deeper into to it when I have time (having a fulltime job is quite a stopper for sparetime coding...)
If this question has been asked before (I have a feeling it has, but could not find the topic) I appologize. I have not been able of finding a "search" link in the forum... | | |
| My first question would be; do you actually know how to code? I mean; do you know a programming language and just want to learn specific demoscene tricks? Or do you know diddly squat about programming and want to make demos?
...because the difference is quite huge. :)
Either way; playing around in ATIs "RenderMonkey" (shader-editor) is quite fun. | | |
| Yes I can program :) Preferred language is C++ (which I am quite good at), though I also know standard C and some .NET languages. (and some others I was introduced to during my studying CS)
So what I want to learn are mostly the demoscene tricks, though I will probably have to learn 3D basics first...
I will look into that RenderMonkey util you mentioned, sounds useful. | | |
| Well... what are you really searching for? You can find many articles and tutorials about programming opengl using google... If you're looking for examples especially demos so you can find links to demo sourcecode on the last hugis...
But these are only ressources for you to learn the basics. Now it's up to you... | | |
| I guess you are right, I can start out using the samples on the net to learn the basics of OpenGL. Then I can move on to the demoscene articles in Hugi when I know my way around OpenGL, and try making my own effects while reading.
And yes I know that reading does not make a master :) | | |
| The 3D maths used to be the big stumbling block for me, though if you are a CS you might not have such an issue with it.
To remedy that I'd recommend "3D Math Primer for Graphics and Game Development", Dunn & Parberry, ISBN 1-55622-911-9.
And, the OGL red book, which you already have. Though, to be honest, I've never done much OGL stuff myself.
Web resource wise you could do worse than http://nehe.gamedev.net/.
Once you have the hang of all the 'invisible' 3D, and want to learn rasteriser stuff (software rendering, or perhaps these days for shader use? I dunno) I'd recommend just googling for miscellaneous articles.
I remember learning from old diskmags (before hardware accel took off), some articles on the deceased FlipCode, and the infamous 3Dica. | | |
| | Thanks! That looks like a really neat site to learn from :) But first I will have to find time for coding, too busy :( | | |
| Taking this (old) discussion back to the beginning, some of the old 2D techniques are being put to use at www.retro-remakes.net , many old cracktros being re-coded for windows.
Good practice for anyone interested in doing these kind of things, if any coders are interested I am sure that any remakes you do will be welcome. | | |
|
|
|