Sign in to follow this  
wilsocn

Math

Recommended Posts

wilsocn    122
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


Link to post
Share on other sites
GotenRulezU    100
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


Link to post
Share on other sites
Drevay    100
Quote:
Original post by GotenRulezU
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 :)

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


Link to post
Share on other sites
Boku San    428
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


Link to post
Share on other sites
smonahan    138
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


Link to post
Share on other sites
Android_s    164
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


Link to post
Share on other sites
BiGF00T    435
Quote:
Original post by smonahan
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.

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


Link to post
Share on other sites
wilsocn    122
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


Link to post
Share on other sites
Android_s    164
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


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this