2D vs 3D Programming
Moderator: PC Supremacists
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
2D vs 3D Programming
Im assuming that they are about the same level of difficulty for programming right? Im 3D, you just have one more axis of coordinate to worry about. In 2D, you still need to control the camera, collision and stuff, just all in 2 dimensions. Its just that in 3D, you have to worry more about how much memory and if its executing fast enough like the frame rate and the loading part. Is there more than that in 3D programming?
- Spikey
- Chaos Rift Cool Newbie
- Posts: 98
- Joined: Sat Dec 13, 2008 6:39 am
- Programming Language of Choice: C++
- Location: Ottawa, Canada
- Contact:
Re: 2D vs 3D Programming
In general its the same thing, but with an extra axis like you say, although that does makes things a little more complicated.
Theres some more things you may have to do, like calculating normals, optimize culling, fixing zdepth and blending issues, gimble lock problems, quaternions, loading and animating models, mipmapping, skyboxes, terrains. That's all I can think of right now.
Then there's the whole time cost of making the 3D content instead of just 2D, although thats more an artist thing than programmer.
Theres some more things you may have to do, like calculating normals, optimize culling, fixing zdepth and blending issues, gimble lock problems, quaternions, loading and animating models, mipmapping, skyboxes, terrains. That's all I can think of right now.
Then there's the whole time cost of making the 3D content instead of just 2D, although thats more an artist thing than programmer.
- rolland
- Chaos Rift Regular
- Posts: 127
- Joined: Fri Dec 21, 2007 2:27 pm
- Current Project: Starting an Android app soon
- Favorite Gaming Platforms: PS1, N64
- Programming Language of Choice: C++
- Location: Michigan, US
Re: 2D vs 3D Programming
You'd probably also have to learn another whole API. (OpenGL, D3D, etc...)
I'll write a signature once I get some creativity and inspiration...
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: 2D vs 3D Programming
Obviously... OpenGL supports both 2d and 3drolland wrote:You'd probably also have to learn another whole API. (OpenGL, D3D, etc...)