Jump to content
  • Advertisement
Sign in to follow this  
CPlusPlus3D

C++ newbie: 3D now!!!

This topic is 4835 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

bh I'm about a month into C++, so consider me a dummy. I have a friend who's into LightWave (a program to make 3D images & animations). We wanto combine C++ & LightWave images to make a tiny sort of "Hello 3D world" demo, where you could control a little character to move forward & turn clockwise & counter clockwise. Can someone please guide me in this direction so that I could acheive this goal, or, if this is too unrealistic due to my early level, then please point me out directions as to how I could acheive the required knowledge to do so.

Share this post


Link to post
Share on other sites
Advertisement
bh
i did go there, nothing about on the spot making small 3D game....or maybe there was but did'nt understand. I dont know all the terms used in that list.

Share this post


Link to post
Share on other sites
bh
hmm, that helped somewhat.
just that i was looking for something really on-the-spot without understanding anything at all yet.
like i'd go to a guy who never heard of c++ & tell him:
1: go to this & this site & download this & this thing called a c++ compiler
2: type in text "#include <iostream> etc..........."
3: click on the "compile & run" button. presto! you made a program showing hello world!!! & the guy didnt even understand a thing he did, though he sees his results.
Im looking for same thing to make a "hello 3d world" as i said in my first post. any help please?

also, theres a serious problem with the download file for dev-c++ compiler, with the preproccessor command to include a certain file "gl\glaux.h", i get the following error: 12 C:\WINDOWS.000\Bureau\lesson01\lesson04\lesson04\lesson4.cpp gl\glaux.h: No such file or directory.
whom could i ask?

Share this post


Link to post
Share on other sites
What they are trying to tell you is that there isn't a particulary simple way to do this. For instance, are your using Opengl or DirectX? Are you looking at skeletal based animation or keyframe? Model model file are you interested in; x.file, 3DS, FBX or what.

Just getting a little guy running around takes a surprisingly large amount of code, something which is waaayyyyyyyy beyond the capabilities of someone with 1 months C++ under their belt.

In short, don't worry about 3D at them moment, just concentrate on learning C++ by developing console apps. When you understand pointers inside out, (my recommendation), then you can pick up a book on beginning 3D programming. You have a long journey ahead of you and there aren't any shortcuts i'm afraid.

Good luck though :)

Share this post


Link to post
Share on other sites
CPlusPlus3D, programming games is unfortunately not something that people typically sit down and churn out the next Halo in a couple of hours.

You definitely have a lot of enthusiam about your future project but you must realize you can't just jump into a project like that with very little experience.

Definitely make some console games and then when you're ready (you have experience using classes, structs, pointers, arrays, etc.) you'll be ready to make some more complex games.

When you're ready, OpenGL and DirectX are the two main ways to enter 3D programming with C++ (do some research into them), though they are still very complex and you are not likely to find anyone who will throw you in the water and let you swim for yourself (a.k.a. here's the code without explaining it).

NeHe is without a doubt one of the best reference sites for OpenGL programming, while checking out the articles page is good place as well. Since you're using Dev-C++, NeHe also provides content that has been revised for use with different compilers (including Dev-C++) and in different languages.

Check out the article pages on gamedev, the "for beginners" section (definitely a good resource), the books link, and if you have a question after exhausting all other possible options or if you need feedback on a part of your game...post on a forum.

Share this post


Link to post
Share on other sites
Quote:
Original post by CPlusPlus3D
also, theres a serious problem with the download file for dev-c++ compiler, with the preproccessor command to include a certain file "gl\glaux.h", i get the following error: 12 C:\WINDOWS.000\Bureau\lesson01\lesson04\lesson04\lesson4.cpp gl\glaux.h: No such file or directory.
whom could i ask?


GLaux is an old library used in those tutorials mostly for its bitmap-loading function. If you carefully check on the main page, there is a "GLaux replacement" link.

Share this post


Link to post
Share on other sites
Quote:
Original post by CPlusPlus3D
bh
I'm about a month into C++, so consider me a dummy. I have a friend who's into LightWave (a program to make 3D images & animations). We wanto combine C++ & LightWave images to make a tiny sort of "Hello 3D world" demo, where you could control a little character to move forward & turn clockwise & counter clockwise.
Can someone please guide me in this direction so that I could acheive this goal, or, if this is too unrealistic due to my early level, then please point me out directions as to how I could acheive the required knowledge to do so.

Such project is too far ahead. To render a 3D object, you must know how to use a 3D API, such as OpenGL and Direct3D, which might take 1-2 months and strong C/C++ background. You will also need to be able to read Lightwave files. Then you need to animate it.

What you should do right now to achieve that level?
1. Learn more programming. It has nothing to do with 3D/2D/games, but you need it anyway.
2. Then learn 3D concept and an API.
3. Learn how to read Lightwave files.
4. Animate.

Share this post


Link to post
Share on other sites
Quote:
Original post by Fruny
GLaux is an old library used in those tutorials mostly for its bitmap-loading function. If you carefully check on the main page, there is a "GLaux replacement" link.


Got it, thanx. Do i have to put it in a certain folder or something like that?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!