Why should you implement math function?
-
_Anonymous
Why should you implement math function?
I have an question: Why there are custom math functions and classes in all graphics engines? D3DX provides us fully functional operation for vectors, matrices...even loading textures. Is there any other reason than cross-platform support?
- xavier
- OGRE Retired Moderator

- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
Re: Why should you implement math function?
Because no one has ever really made a game-ready vector math library. Yes, they all do the same thing, there is no reason that there is not a "standard" library that everyone can use rather than re-invent the wheel all the time.
You'll also find a lot of projects and studios have some level of "not-invented-here" disease. Ogre's math classes, however, have their origins in the WildMagic graphics engine math classes, so while Ogre technically has its own math classes, they actually originated for the most part with an existing set of classes.
You'll also find a lot of projects and studios have some level of "not-invented-here" disease. Ogre's math classes, however, have their origins in the WildMagic graphics engine math classes, so while Ogre technically has its own math classes, they actually originated for the most part with an existing set of classes.
-
_Anonymous
Re: Why should you implement math function?
I mean, all the things is there, for free. Why do people still want to write their own?
- xavier
- OGRE Retired Moderator

- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
Re: Why should you implement math function?
Again, I am shrugging._Anonymous wrote:I mean, all the things is there, for free. Why do people still want to write their own?
-
_Anonymous
Re: Why should you implement math function?
Ok. I see. Any other idea?
BTW, I'm considering between Boost and D3DX math libs. Which one should I use?
BTW, I'm considering between Boost and D3DX math libs. Which one should I use?
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Why should you implement math function?
D3DX math - LOL
I didn't know that Boost has 3D graphics math functions?
I didn't know that Boost has 3D graphics math functions?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Why should you implement math function?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
_Anonymous
Re: Why should you implement math function?
I forgot to say that i'm not using Ogre
And about Boost, yes, it has all the things like vectors, matrices, quarternions...plus lots of others functionalities. I saw an engine ultilized it here http://hieroglyph3.codeplex.com/. And it's a DirectX 11 engine
And about Boost, yes, it has all the things like vectors, matrices, quarternions...plus lots of others functionalities. I saw an engine ultilized it here http://hieroglyph3.codeplex.com/. And it's a DirectX 11 engine
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Why should you implement math function?
Then it would be a good idea to post your questions elsewhere, like GameDev.net ? 
GameDev.net is excellent, IMO. They've got the best forum you can find.
GameDev.net is excellent, IMO. They've got the best forum you can find.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
