PDA

View Full Version : 3D models, math behind



Sarah22
12-23-2009, 12:41 PM
So far the two models that I've tried to make with a tutorial on the internet are md2 and md5. But honestly, I didn't understand the math behind them. What I know is that:
MD2 uses linear interpolation and
MD5 uses Quaternions Spherical linear interpolation

My question is, on what level of math do I need to fully understand on how they bring to life. Currently, I'm studying Linear Algebra and Calculus 3 on my own.

Thank you very much
Sarah22

Ilian Dinev
12-23-2009, 09:31 PM
You just have to look-up the net for 2 things: lerp and quats. Copy code that calculates them; make some test-cases where with printf/whatever you output the results (study by observation); use in your projects.
Of course, if you need to understand quats better, (lerp is simplistic) just read the first few google-results on them, and the underlying maths that you might need to brush-up.

Sarah22
12-24-2009, 05:53 AM
Hey I found out that interpolations are under numerical analysis which according to MIT syllabus that I need Multivariable Calculus->Differential equations->Numerical analysis

So I guess I really need to study more math I guess. My degree really sucks because it has only until Integral calculus. Currently, I'm studying Linear algebra which is quite good and I love those matrices. :D

Merry Christmas everyone.
Sarah22