Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the difference between DirectX and OpenGL?

Status
Not open for further replies.
Re: opengl vs directx

opengl seems to me as more powerfull in CAD design software like Protel and new Orcad , and DirectX for fun and games
 

opengl vs directx

You can use the GLUT library to create portable OpenGL applications very easily. Basically, you write a console application that initializes GLUT (a graphics window appears), and then you call OpenGL functions to draw/animate stuff. You don't have to make any calls to Windows or Linux.

https://www.opengl.org/resources/libraries/glut.html
 

Re: opengl vs directx

both engines have there uses but without directx opengl dosnt work properly
as it uses many of the same libs as directx and draws on its resorces
{
other platforms have there own accelorations engines and arent as developed as windows
thats why game makers dont make games for free o/s that are limited in function anyway
}

infact opengl uses directx more than windows does

or infact any app that sole uses opengl dosnt exist appart from the video driver


opengl is old hat now... spawned by voodoo graphics and moreover by matrox

bought over and turned into nvidea and ati....

so... i think you use both to gain power in your app

on there own both are quite lame and hard to program for

in a mixed enviroment you need not be an expert in both
but read about both and download the sdk's docs etc

and its important to look for code examples

a good place to start at is

microsoft are giving away an opengl /directx quake2 source
in there vc++ 2005 beta test area

it is the best way to learn is to take that appart followed by doom
{youll find the source for opengl doom {both use directx functions}}

also planet source sells a cd iso for a few $ contains over 600mb of source in c++

worth buying it
many open gl and directx apps source


to correct the post above
microsoft run an open source policy on directx and the api is in no way closed or other

you can download the full sdk and compile the whole new sdk from it
taylor'd to your own desires and uses

you can if you know where to look download
the full source code from window 95....

directx = 2d sound and midi accelorator
direct3d = 3d accelorator

so directx dosnt directly use 3d

so this debate is pointless

get your terminologies correct ....
 

opengl vs directx

hi,
1- Which is more powerful -- directX
2- Which is simpler to use -- OpenGL is good for begining graphics programmers.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top