Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-25-2006, 11:21 PM
|
#1
|
Senior Member
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731
Rep:
|
Does Linux use Directx or Opengl ?
What are the differences between Directx and Opengl?
Are both written by C++ ?
|
|
|
03-25-2006, 11:52 PM
|
#2
|
LQ Newbie
Registered: Mar 2006
Distribution: Debian
Posts: 2
Rep:
|
I'll answer this with sincerity. OpenGL is, well, open. DirectX...not so much. DirectX is proprietary and is used by Microsoft OS's only. I have not looked at all the code concerning OpenGL so I can not say for certain, but what I have seen was mostly C++ with a dash of C thrown in.
DirectX is bits of C, C++, x86 assembler, as well as a proprietary scripting laguage used within Microsoft.
It IS possible to use DirectX in *nix but the work involved is more than it's work, IMHO. A couple of friends and I did it ONCE with DirectX 7 and after patting ourselves on the back, swore we wouldn't do it again.
So to answer your post, for most things 3D in Linux, OpenGL is probably your best bet.
Last edited by speedkreature; 03-26-2006 at 12:05 AM.
|
|
|
03-26-2006, 03:54 AM
|
#3
|
Senior Member
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731
Original Poster
Rep:
|
Can opengl games run on windows?
In the market, i can see that most games like Warcraft/Half life/Doom 3 will require you to update your Directx.
I had seen books about opengl in windows, seems that windows can run opengl plus directx.
In current linux like Suse, what is its graphix format? Opengl?
|
|
|
03-26-2006, 04:25 AM
|
#4
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
There's a native Linux version of Doom3 which plays flawlessly...
|
|
|
03-26-2006, 06:12 AM
|
#5
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
DirectX isn't just a graphics API, you should be comparing Direct3D and OpenGL. Yes TigerLinux, Windows can run OpenGL..
|
|
|
03-27-2006, 10:04 AM
|
#6
|
LQ Newbie
Registered: Mar 2006
Distribution: Debian
Posts: 2
Rep:
|
Excellent clarification, cs-cam.
Windows OS's can use OpenGL. The majority of games for Windows utilize DirectX because it is more convenient to use a single package that can handle graphics and high definition sound.
The only company I can think of off-hand that regularly uses OpenGL in their games is LucasArts.
However, I should note that just because a game uses OpenGL in Windows or Linux, that does not mean it can be easily ported to the other OS. There are many OS specific processes happening in the background, particularly with starting or exiting a game.
|
|
|
All times are GMT -5. The time now is 02:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|