•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Game Development section within the Software Development category of DaniWeb, a massive community of 391,549 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,537 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Game Development advertiser:
Views: 10352 | Replies: 20
![]() |
•
•
Join Date: Jul 2004
Location: cape town South Africa
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#2
Jul 12th, 2006
•
•
Join Date: Sep 2004
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#3
Jul 13th, 2006
well, whatever language you use you have to go for either directX or openGL. DirectX best suited for MS platforms and OpenGL to be on Either MS or *NIX platform.
If you use Java/C# then it will work fine but can reduce the perfomance. The reason is that Both JAVA and C# use a layer (JVM in case of JAVA and CLR in case of .NET) which will definitely can reduce the perfomance. Your program first goes to this layer and then to the system from where it will use the OpenGL or DirectX library.
My suggestion is to use either VC or VB if you are looking for a program on Windows and if you wish to be a platform independant then go for the OpenGL+Java combination.
If you use Java/C# then it will work fine but can reduce the perfomance. The reason is that Both JAVA and C# use a layer (JVM in case of JAVA and CLR in case of .NET) which will definitely can reduce the perfomance. Your program first goes to this layer and then to the system from where it will use the OpenGL or DirectX library.
My suggestion is to use either VC or VB if you are looking for a program on Windows and if you wish to be a platform independant then go for the OpenGL+Java combination.
•
•
Join Date: Jul 2004
Location: cape town South Africa
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#4
Jul 17th, 2006
Thanx guys for the reply. Im not that experienced at programming quite yet, but VB was recommended by u guys as a possibility but to me it seems limited to using pictureboxes and image controls. I don't see how i can possibly manipulate graphics in detail that way. Surely I could'nt use VB or is their an extensive library of graphics functions that i need to discover and use within Visual Basic as well as with the other languages. Then also i must probably learn abouut how to incorporate Directx and Opengl within the language i choose. Am I missing anything.I have a good understanding of the C++ language as well as Visual Basic, now i need to master the advanced features.It promises to be an interesting road ahead. Am i making any sense and do u guys have any suggestions as how i should move forward from where i am and maybe suggestions as to what books to use and use as references to graphics programming?
•
•
Join Date: Jul 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#5
Jul 17th, 2006
•
•
•
•
Originally Posted by seankleyn
I want to start programming PC Games that use lots of graphics. Which Programming language or languages are best suited for computer graphics programming and WHY?
Check out Aurora - it is a new C++ like language still in beta.
http://rockridgefarm.com - follow the programming links.
Or go to http://ionicwind.com.
•
•
Join Date: Sep 2004
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#6
Jul 19th, 2006
yeah you are on the right track. if you have option between VB and C++ then i'd suggest to go for C++ (VC). download the latest directX/OpenGL SDK and first make a couple of things using these libraries like boxes, polygons. Then the main thing come to work on "Camera", you may need to learn some mathematics also, since there you'll be solving some equations to get the camera focus and objects alignment.
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 936
Reputation:
Rep Power: 5
Solved Threads: 47
Re: Which programming language or languages are best suited for graphics programming
#7
Jul 24th, 2006
Java is easier to debug than C++, unless you already know C++ inside out, C++ is a tiny bit faster at matrix calculations, otherwise java and C++ are comparable, they both use DirectX and OpenGL interfaces, and the VirtualMachine layer is passed-through very quickly. I'd rather have portable code that takes 10 extra nanoseconds per minute than native code that doesnt. (my time relationship there is based on nothing but unfounded conjecture)
VB is actually not bad if you use DirectX-in-VB, I made some 2D a long time ago, and there's certainly no loss in potential from using what some people would claim is a "restricted" language. I've never tried DirectX3D in VB, but I think it's supported.
EDIT: to be honest, you'll be learning DirectX or OpenGL rather than a programming language for the graphical part, and they're both similar. The programming language you use is more the programming language you think is best for implementing the object relationships and general aspects of the game engine. Pick your poision based on the packaging.
Matt
VB is actually not bad if you use DirectX-in-VB, I made some 2D a long time ago, and there's certainly no loss in potential from using what some people would claim is a "restricted" language. I've never tried DirectX3D in VB, but I think it's supported.
EDIT: to be honest, you'll be learning DirectX or OpenGL rather than a programming language for the graphical part, and they're both similar. The programming language you use is more the programming language you think is best for implementing the object relationships and general aspects of the game engine. Pick your poision based on the packaging.
Matt
Last edited by MattEvans : Jul 24th, 2006 at 11:08 pm.
If it only works in Internet Explorer; it doesn't work.
•
•
Join Date: Nov 2006
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Re: Which programming language or languages are best suited for graphics programming
#8
Dec 12th, 2006
The only problem that I have with Java as a video game language is that you get slowdowns when Java needs to garbage collect your objects...if you create lots of things and need to destroy them, it may slow down your game at an inopportune time due to resources being sucked up by the garbage collector. True, you can fire off the garbage collector periodically, but that still introduces odd spikes in the execution.
Then again you do not have to worry about clean up as much with Java just because of that attribute.
Generally games which do not depend on the "twitchy" factor would be best served by Java, but C/C++ gives you a bit more control over the entire environment. You just have to be more careful to avoid memory problems.
But as MattEvans said, you are basically going to be learning the graphics package. These packages generally translate straightforwardly to any language you chose. As for the graphics package, I wholeheartedly support OpenGL simply because of its ease in portability between platforms. You will have to learn both though if you chose to do Game design for a living.
I like http://www.gamedev.net/reference/art...rticle1775.asp as a summary.
Then again you do not have to worry about clean up as much with Java just because of that attribute.
Generally games which do not depend on the "twitchy" factor would be best served by Java, but C/C++ gives you a bit more control over the entire environment. You just have to be more careful to avoid memory problems.
But as MattEvans said, you are basically going to be learning the graphics package. These packages generally translate straightforwardly to any language you chose. As for the graphics package, I wholeheartedly support OpenGL simply because of its ease in portability between platforms. You will have to learn both though if you chose to do Game design for a living.
I like http://www.gamedev.net/reference/art...rticle1775.asp as a summary.
Re: Which programming language or languages are best suited for graphics programming
#9
Dec 12th, 2006
•
•
•
•
I want to start programming PC Games that use lots of graphics. Which Programming language or languages are best suited for computer graphics programming and WHY?
PC games actually use a lot of graphics, what you might have wanted to say was that how to make cool commercial games.

Whatever other people say about Java, it still stands that Java has a long way to go when it comes to core or commercial game programming. If you want to make a game which sells on Gamehouse for 12$ a copy, you are most welcome to use VB or Java.
But when it comes to games like Doom III, Halo II and others which blow the professional gaming senario to pieces, you can only dream of achieving it in Java or VB. Name a commercial 3d which has been made in Java or VB ?
As far as the currect situation stands, the core functionality (graphics engine ) is mostly made in C++ while the other gaming functionality can be implemented in Python or C++.
Python developers have actually gone out to prove that it has the power to be recognized as a game development langauge. Some games made in Python - Severance - Blade or Darkness and the famous Freedom Force by Sierra.
IMHO stick to C++ for the time being and you will be a happy man in the end.....
"I don't accept change. I don't deserve to live."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
"Working a real job is a win if you're lazy, greedy, or unmotivated. If you're average, you fit right in. And if you're above average, the basic terms of employment and premise of the arrangement is against your interests."
•
•
Join Date: Jan 2007
Location: Kansas City, MO
Posts: 55
Reputation:
Rep Power: 2
Solved Threads: 3
Re: Which programming language or languages are best suited for graphics programming
#10
Jan 17th, 2007
Call me old-skool, but I'm going to say that C++ is the only only only way to go. It completely compiled, doesn't rely on any middle-level interpretation software (no virtual machine). Visual Basic and Java are great, but when it comes to fast graphics, the C++ and OpenGL combination are the only way to go.
Server Development
WolfWorkz.com
Pirates Registration
Check out my blog to see what's happening with the MMORPG by WolfWorkz Studio.
WolfWorkz.com
Pirates Registration
Check out my blog to see what's happening with the MMORPG by WolfWorkz Studio.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Game Development Marketplace
•
•
•
•
advertising asp blogging browser business c code coding competition console developer development firefox game google graphics hardware intel internet java languages linux marketing microsoft microsystems mozilla news nintendo planning playstation programming ps3 revenue rss search security software sony stocks sun video video game vista w3c web wii wiki windows xml yahoo
- Previous Thread: Possible Payment Offer
- Next Thread: Flash MX: Collison with a symbol which is rotating issue



Linear Mode