Thread: When to start 3D Game Programming?

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Ah, nothing. All seems in order ^_^
    Good luck.
    (I misread the original post. Hehehe. Oops.)
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #17
    Registered User
    Join Date
    Dec 2008
    Location
    California
    Posts
    37
    Ok. Thanks Elysia! I hope I can reach my dreams. lol

    EDIT: By the way, why do people in gamedev.net told me that I should use an existing 3D engine in creating games? I don't get it.
    Last edited by m3rk; 04-15-2009 at 04:48 AM.

  3. #18
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by m3rk View Post
    Ok I'll start creating 3D maze this weekend.

    By the way, my university doesn't have any linear algebra course for computer science. What should I do? I'm 18 years old and I think I am left behind.
    Are you serious? Maybe it's offered by the math department? Definitely take a linear algebra course if you can. I'm surprised its not required for your degree.

  4. #19
    Registered User
    Join Date
    Dec 2008
    Location
    California
    Posts
    37
    Yes it is offered by the math department but my degree doesn't require to have it. The last math that is required for my degree is Calculus 2 which is I think all about Integrals.

  5. #20
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Hmm at my university it's a required second year course for all science degrees (including computer science), and a first year course for engineering.

  6. #21
    Registered User
    Join Date
    Dec 2008
    Location
    California
    Posts
    37
    That explained everything about my university's standard.

  7. #22
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Don't you get electives?

    I know of a few universities that don't do maths until very late in the degree. Which is odd, get it down pat in first year and then build on it IMO.

  8. #23
    Registered User
    Join Date
    Dec 2008
    Location
    California
    Posts
    37
    I don't know if there are electives for linear algebra but I hope there's one. I'll try to ask the university if they're offering one.

    By the way, anyone here knows can I recommend a good 3D math book that is focuses in 3D graphics programming? I heard that 3D Math Primer for graphics and game development is quite good for a beginner in 3D math.

  9. #24
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by m3rk View Post
    I know also how to use templates in C++ but only the basics. Do I need to master those things before going to 3D?
    No. You can write OpenGL programs using plain old C, Java, Python, Ruby, etc. Knowing templates is not a prerequisite.

  10. #25
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by m3rk View Post
    Ok. Thanks Elysia! I hope I can reach my dreams. lol

    EDIT: By the way, why do people in gamedev.net told me that I should use an existing 3D engine in creating games? I don't get it.
    That's what I would suggest as well. Why roll your own, especially as a beginner? I'd give Irrlicht another try. OpenGL will help you texture, light, and transform polygons, but there's a lot more to 3D graphics and games than that. Irrlicht gives you data loaders and animated cameras and particle systems and many other things for free.

  11. #26
    Registered User
    Join Date
    Dec 2008
    Location
    California
    Posts
    37
    Quote Originally Posted by medievalelks View Post
    No. You can write OpenGL programs using plain old C, Java, Python, Ruby, etc. Knowing templates is not a prerequisite.
    Fortunately, I know how to use simple templates.

    Quote Originally Posted by medievalelks View Post
    That's what I would suggest as well. Why roll your own, especially as a beginner? I'd give Irrlicht another try. OpenGL will help you texture, light, and transform polygons, but there's a lot more to 3D graphics and games than that. Irrlicht gives you data loaders and animated cameras and particle systems and many other things for free.
    Yeah you're right. It takes so much time creating engine. I want to become a graphics(or physics) programmer so I think I'll just focus first in graphics. I want to learn how 3D graphics where done and also want to know how to use shaders which I'm really interested. Maybe few years from now, I'll just convert my 2D games in 3D. By the way, do I need to become a good artist to become a good graphics programmer? I really suck in art (ie. drawing, web designing) so bad.

    About Linear Algebra:

    I'm starting to love this math! I've read about vectors and scalars lately. It's like an array and the basic is so easy. I've also read how to get the magnitude, how to normalize, how to add, subtract, and multiply. While scanning the book somewhere(lol), I found this dot and cross product which I heard that is related in 3D graphics. So I think I'm on the right track.

  12. #27
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Re: learning graphics, if that's what you want to do, go for it! I thought from the Subject line that the primary goal was games. Nothing wrong with learning the nuts and bolts.

    Re: being a good artist, heck no! In fact, lots of amateur games are "ruined" by programmer art :-)

    Oh, and if you're sticking with OpenGL, check out NeHe's tutorials and google for "Steve Baker OpenGL". He's written some good articles over the years. There are also forums at opengl.org.

    Have fun.

  13. #28
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    I'm starting to love this math! I've read about vectors and scalars lately. It's like an array and the basic is so easy. I've also read how to get the magnitude, how to normalize, how to add, subtract, and multiply. While scanning the book somewhere(lol), I found this dot and cross product which I heard that is related in 3D graphics. So I think I'm on the right track.
    Yeah vectors are essentially arrays. And matrices are essentially 2D arrays. It gets a bit mind-twisting at first, but the bits and pieces aren't really too bad.

    dot products allow you to determine if 2 vectors are perpendicular, which, among other things, allow you to define planes in 3D as all vectors orthogonal to a vector. (ax+by+cz = 0, or dot([a b c], [x, y, z]) = 0)

    cross products allow you to find a vector perpendicular to 2 vectors, with a magnitude of sin(theta)*|A|*|B| so you can find, for example, the torque (moment) vector easily from arbitrary force and displacement vectors in 3D (t = cross(F, d)). This can also be done using high school physics (finding components, etc), but linear algebra makes it very easy, especially when you are trying to program a computer to do it.

  14. #29
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by m3rk View Post
    EDIT: By the way, why do people in gamedev.net told me that I should use an existing 3D engine in creating games? I don't get it.
    Because they are a bunch of retarded trolls. No, retarded trolls aren't that bad. They are like the toe jam that a retarded troll wiped on its bed post last week. I dropped in there awhile back and as soon as I started suggesting thing's that werent 'The One and Only Truth', I was banned in short order.

    I think Ill have to dig up the specific post that got me banned, but IIRC it involved me suggesting a non-standard solution to a problem when the OP of the thread had specifically stated that 'The One and Only Truth' had already failed, then some 'Ye Olde Pharte' ..........ing that my non-standard solution was non-standard and that the OP should use 'The One and Only Truth' instead. At which point I told 'Ye Olde Pharte' he needed to actually read the OP. It then devolved into him screaming (all caps) that I was just some noob etc etc blah blah and ended with me calling him "a retarded wishnick wannabe that needed to get back under his bridge and let people who wanted to actually help people do all the posting".
    Last edited by abachler; 04-16-2009 at 03:18 PM.

  15. #30
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by abachler View Post
    Because they are a bunch of retarded trolls. .
    For giving sound advice?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Of Life 3D
    By blackslither in forum C Programming
    Replies: 8
    Last Post: 11-02-2008, 03:30 PM
  2. Were to Start Your Game Programming Carrer
    By C+noob in forum Game Programming
    Replies: 3
    Last Post: 07-14-2005, 01:33 AM
  3. How to start a game...?
    By TaraTheCasper in forum Game Programming
    Replies: 30
    Last Post: 10-24-2004, 09:20 PM
  4. 3d game
    By cgod in forum C++ Programming
    Replies: 10
    Last Post: 10-21-2004, 06:06 AM
  5. Need some help with a basic tic tac toe game
    By darkshadow in forum C Programming
    Replies: 1
    Last Post: 05-12-2002, 04:21 PM