If you have experience in 3D maths, help me.
Printable View
If you have experience in 3D maths, help me.
Honestly, why don't you give XNA a try? Or OpenGL?
It wasn't that hard for me to make a simple 3D game with OpenGL and SDL in C# and it looks awesome too.
Because C# is nonsencital to me.
Sorry dragonguy, but nonsensical is what you're doing. You are like trying to open a bank's vault with a plastic spoon, really. MMF2 is not a 3D engine.. many people have told this to you and you keep ignoring them. Then you open a topic and keep ignoring the advices and asking for help.. but the problem is, that you will never get the proper help, because no one can teach you how to open a bank vault with a plastic spoon. If you are seriously considering MMF2 for 3D games, you're not really serious about making 3D games.. if you're not serious, why bother so much? Now, if you are serious about 3D game making, you *MUST* switch to a proper tool if you want to get results and support when needed.Quote:
Originally Posted by dragonguy
All I need to get it to work is the math, once I get the math it will work perfectly and not too-laggy.
You still need to apply some kind of perspective on your walls/sprites to get a proper 3D effect. Just scaling sprites with advanced math formulas will not give you a 3D engine.
It won;t be a proper 3D Engine but it will be the best that can be done in MMF2.
Ok.. if it is really what you think, good luck.
By the way, I would listen what Werbad says. He and his brother implemented a complex physics engine into MMF2 so he knows the boundaries of MMF2 better than many users here(myself included).
These are the formulae for doing a 3D->2D projection with perspective: http://www.cs.kuleuven.ac.be/cwis/research/graphics/INFOTEC/viewing-in-3d/node8.html
If you can't understand a word of it (somewhat likely) then you have a lot of reading to do about matrix/vector mathematics.
I took a 3-year university course to learn how to understand this stuff. It's not something that just having the formula helps with, because you won't understand it.
EDIT: This is JUST the perspective part, it doesn't cover moving or rotating the camera away from 0,0,0.
You got me there ;)Quote:
Originally Posted by Dynasoft
Making 3D games is more then conditions and events, you need to cover a large amount of Meshes, textures and heaps of formulas.