Question:
C++ 3D graphics library?
Antwan
2011-01-31 16:01:09 UTC
I already know how to use 2d libraries for c++ (SDL and a little allegro) but i wanted to move on to a 3d graphics library. which one would be good to start with i dont want anything extremely hard to use the simpler the better. I already know about openGL is that the best to use??
Four answers:
🐟 Fish 🐟
2011-01-31 16:20:35 UTC
Direct X SDK

http://msdn.microsoft.com/en-us/xna/aa937788
Jason
2011-01-31 17:35:11 UTC
Use a graphics engine like irrlicht. It is one of the best engines around imo. There is a huge friendly community that will help you out if you need help. At least check it out even if you end up not using it. You won't get very far with just directx or opengl for any serious project.
?
2016-11-29 06:00:28 UTC
meh, a great kind of people think of of alongside those strains, besides the undeniable fact that it extremely is amazingly not a great thank you to look at it. the two could be with us for it gradual to return back. the two are very effective languages with a brilliant kind of libraries and such. Java is larger handy, IMO. yet C/C++ helps direct memory manipulation whilst Java does not try this. And for this reason C/C++ could be used for themes that Java generally heavily isn't waiting to be. My widespread is Java. yet, as a concepts because of skill of actuality the languages are anxious, they are so comparable that gaining wisdom of one gets you ninety% in direction of gaining wisdom of the numerous. in an attempt to respond on your questions, IMO. a million. tie 2. tie 3. IMO, java has a real looking benefit here if for no distinctive reason than Java has a much bigger undemanding library and C++ programming generally incorporates using extremely some broker particular libraries like those from MS or Borland. 4. Programming GUI's with Java is larger handy IMO, besides the undeniable fact that it extremely is complicated to declare one or the numerous is 'greater desirable clever'.
Me M
2011-01-31 16:53:29 UTC
For 3D, you have two common API's: Direct3d (which is part of the DirectX API) and OpenGL. Microsoft makes DirectX and it only works on machines running some form of Windows (this includes XBox and XBox 360). Because it is developed by Microsoft by Windows, they make sure it is optimized to get the best performance possible. However, the fact that DirectX only runs on Windows can limit its usefulness for cross-platform development. Also, it seems that Microsoft releases new versions of DirectX more frequently that major revisions of OpenGL are released.



OpenGL is available on all major hardware and operating system platforms. Because of this , cross-platform development is much easier. A subset of OpenGL, named OpenGL ES, exists to allow development of 2d and 3d graphics on embedded systems (such as mobile phones and devices).



If you plan on only developing games for Windows of XBox 360's, I would go for DirectX/Direct3d because it is what most games use and it seems to support the most recent special effects and 'eye candy.' However, if you plan on using any other platforms, I would go for OpenGL. It still supports many effects and a programmer can make an impressive game/app.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...