Jump to content
• Advertisement

Public Group

# Math

This topic is 5393 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

I am learning C++ and it is coming along fairly well. Today just for fun I was looking over some OpenGL code and I couldnt help but notice what I think are trig functions. They dealt with camera movement I believe. I really didnt understand the math functions at all because I have never studied anything like that. Is this something that you absolutely must learn before you will ever be able to create anything or can you use those functions without totally understanding how they work? Any help would be appreciated. :)

#### Share this post

##### Share on other sites
Advertisement
Well a lot of math is dealt with when doing 3d. Rotating the camera, zooming in and out, ect. But you don't need to know it when your first starting out. Trust me it'll be worthwile to learn :)

#### Share this post

##### Share on other sites
Quote:
 Original post by GotenRulezUWell a lot of math is dealt with when doing 3d. Rotating the camera, zooming in and out, ect. But you don't need to know it when your first starting out. Trust me it'll be worthwile to learn :)

What the bloody hell are you talking about? You don't even know how to use a debugger.

Yes, eventually you'll need to know (at the very least) basic trig and linear algebra, but it's all really easy to learn, so it's no big deal.

Plus, when starting out with OpenGL or Direct3D, you won't need to know a whole lot of 3D maths (if you can call it that) to begin with, and any lamen tutorial should be able to basicaly explain to you how the X, Y and Z axis work, and how that coincides with basic camera and object movement.

Don't worry about it now, just learn how to program first.

#### Share this post

##### Share on other sites
Wow Drevay...you sure are an angry person.

Anyway, he's right, though angry, on this one. I'm feeling a little bit of desperation in learning all these maths, but MathWorld is helping a lot.

Check it out and read over some of the things there if you like. Or don't.

Apathy++.

#### Share this post

##### Share on other sites
Computer graphics is very math intensive, and animation in particular does require a decent understanding of trigonometry. But just as Drevay said, don't worry about it now.

If you've ever taken trig and thought to yourself, "When am I EVER going to use this???", this is when you'll use it.

--
Sean Monahan
Sin City Games

#### Share this post

##### Share on other sites
If you want to code 3D applications, linear algebra will at some point be necesasry to learn. This scared me too at first...
However, you won't have to learn every single definition of it. What you need to learn is how a formula look like, work and how it can help you. When you have learned it, if you're not 110% certain of your skills, you throw your code away and use someone elses math functions [smile]

I'm currently reading a book called "Mathematics for 3D Game Programming and Computer Games" and that's a book I would suggest for you. It can be used to learn the math from scratch and later on as a reference, and it covers a lot of ground. Check it out.

Finally, don't be scared of the math! It may look complicated and so, but once you dig yourself into the "world-of-crazy-math" you'll understand the most of it [smile]

Oh´!..and
Quote:
 If you've ever taken trig and thought to yourself, "When am I EVER going to use this???", this is when you'll use it.

I couldn't agree more on this. [grin]

#### Share this post

##### Share on other sites
Quote:
 Original post by smonahanIf you've ever taken trig and thought to yourself, "When am I EVER going to use this???", this is when you'll use it.

someone should have warned me earlier... when i learned that stuff i thought the same... now i use it and i really hate me for not paying more attention to it when our professor taught it to us :(
what do we learn out of this? no knowledge is useless... pay attention to everything and dont ever dare to think you wouldnt need it one day :/

#### Share this post

##### Share on other sites
Thanks for the tips, guys. I think I will try and get my feet a little wet by using the site mentioned and/or that book if I can find it locally.

#### Share this post

##### Share on other sites
I just remembered this article. It was the first thing I read about linear algebra and I found it really helpfull. There's stuff in there that will help you oh-so-much and you will see it come again and again and again... [smile]
It is also resonably well explained and not that much to grasp, so it's a perfect start for someone new to 3D math [smile]

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement

• ### Popular Now

• 13
• 18
• 29
• 11
• Advertisement
×

## Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!