Thread: graphics engine...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    32

    graphics engine...

    Hi I seek assistance learning creating a game engine using c++.

    Ok I tried googling around for this. I want to start learning the math behind the graphics engine and want to learn how I could create a engine from ground up.

    I am interested in learning this so I would like to go to a website that can explain the whole thing from ground up programming in C++ meaning using C++ to create a good game engine.

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    My end goal is something along those lines. I strongly suggest a very good knoledge of C++, especially classes, and very good math skills. I couldn't get into details about the math because I myself don't know, but I would probably suggest at least trig. I wouldn't even attempt this if you are 12 years old and are just now taking algebra 1(unless possibly 2d).

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    Not only is there advanced math involved, but a lot of physics is involved too. Say you wanted an engine that mimics a ball rolling around a room. You need to take in to account the angle at which the ball is rolling, the speed, acceleration, the friction if you want to include that, collisions/deflection, inertia possibly, and so on. It could get more advanced as you got more and more items, or represented different things such as a spring vs a ball. There is a lot involved, and unless you've taken at least a physics 1 course and calculus 1, it's going to be hard to make an engine without the prior knowledge. That's not to say it's not possible though.

  4. #4
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    Isn't all this encouraging? Seriously, consider holding off on the engine until you are good at advanced math and possibly physics. Getting good at C++ is always a worthy investment.

  5. #5
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Game or graphics engine? Here's a book on 3D graphics. Nothing on AI, sound, collisions, physics, etc. It's old, but the concepts are sound.

    Computer Graphics: Principles and Practice

  6. #6
    Registered User
    Join Date
    Jul 2005
    Posts
    32
    well I am in college and have been in college math. Never got to trig or calk .

    I bealive you need to know at least calc.

    I want to create a graphics engine. I know c++ I also do know about classes.

    I just want to learn the math and the structure of a graphics engine.

    I don't want to use direct x or anything I want to create my own thing.

    I know this requires math and I am willing to learn it and no I ain't 12 years old.

    I have read many books I even just finish reading how to make a game engine which was written by andre.

    I also am learning eletronics ect the engineering part of creating computers ect.

    I seek good free math websites that can teach me. I would also like to have a website that would have a huge resorce on learning algebra and up just in case I forget some formulas and laws ect.

    I am willing to learn. I know c++ the lang enought to understand many programs that are already made but I view the source code and could understand it.

    I just don't understand how to make algorithms to make good functions and many other stuff.

    so is their anything that can help me??

  7. #7
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by hockey97 View Post
    so is their anything that can help me??
    Experience. Stop reading, start coding. A lot.

  8. #8
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by hockey97 View Post
    I seek good free math websites that can teach me. I would also like to have a website that would have a huge resorce on learning algebra and up just in case I forget some formulas and laws ect.
    www.googleisyourfriend.com
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  9. #9
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I guess I will be the first to be at least somewhat positive about your plight. Since you didn't specif specify what you desire to create as far as "game engines." I will not make any assumptions what so ever about what sort of game engine you are going to write.

    Physics helps a lot in any game engine, but basic geometry can make you a fine 2d engine. And some decent command of trig helps get you started in 3d. Linear algebra helps a lot, especially when it comes to 3d particle systems and special effects.

    Long story short, a lot more people know how to code than know math. A lot of equations are kind of just floating around on the net for you to learn from. So don't assume you have to derive everything on your own.

    I say just write code and see what magic you can come up with. Post your question in the game programming board next time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Graphics Engine
    By MikeS in forum C Programming
    Replies: 7
    Last Post: 09-01-2007, 11:23 PM
  2. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  3. free 2d graphics engine for Dev C++?
    By two31d in forum C++ Programming
    Replies: 3
    Last Post: 11-29-2005, 06:48 AM
  4. Linux Graphics Engine
    By drdroid in forum Linux Programming
    Replies: 1
    Last Post: 09-28-2003, 06:08 PM
  5. SkyLock graphics engine demo
    By jdinger in forum Game Programming
    Replies: 18
    Last Post: 06-26-2002, 07:58 AM