Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 DirectX vs OpenGl
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
AsianSensation




PostPosted: Fri Nov 14, 2003 4:59 pm   Post subject: DirectX vs OpenGl

I was in a discussion with one of my friend today, he said that openGL is getting outdated and obsolete, I should try to learn DirectX instead.

Well, what's you guy's opinion? If I was to start graphics, what should I learn to program in?
Sponsor
Sponsor
Sponsor
sponsor
Catalyst




PostPosted: Fri Nov 14, 2003 5:57 pm   Post subject: (No subject)

opengl
in my opinion it is better than directx
the only thing that may be obsolete about ogl (just for your info doom3 uses ogl) is the functional interface, which in my opinoin, doesnt matter much considering its an api



ogl
pros- cross platform, simple continuoes interface, powerful
cons-no support libraries,extension mechanism, controlled by group

dx
pros-support lib (DX utilities), new features directly built-in,powerful
cons-windows only, controlled only my microsoft
Homer_simpson




PostPosted: Sat Nov 15, 2003 3:14 pm   Post subject: (No subject)

I remember i read somewhere that opengl works faster on the old graphic cards but directx is more compatible with the new ones...
but i still think it's a matter of personal choice and what u wanna use it for...
here's a comparison table....































































































































































































































Feature OpenGL 1.2 Core Direct3D 7 Direct3D 8
Operating System Support Windows (9x, NT, 2000), MacOS, BeOS, *nix, others Windows (9x, 2000, CE) [12] Windows (9x, 2000) [12]
API Definition Control OpenGL ARB Microsoft Microsoft
API Specification OpenGL Specification [10] SDK/DDK Documentation and DDK Reference SDK Documentation
API Mechanism includes and libraries COM COM
Software Emulation of Unaccelerated Features [4] Yes No No [11]
Extension Mechanism [5] Yes No Yes
Source Implementation Available [6] Yes Yes No
Fixed-Function Vertex Blending No Yes Yes
Programmable Vertex Blending No No Yes
Parametric Curve Primitives Yes No Yes
Parametric Surface Primitives Yes No Yes
Hierarchical Display Lists Yes No [8] No [8]
Two-sided Lighting Yes No [1] No [1]
Point Size Rendering Attributes [9] Yes No Yes
Line Width Rendering Attributes [9] Yes No No
Programmable Pixel Shading No [14] No Yes
Triadic Texture Blending Operations No No Yes
Cube Environment Mapping No Yes Yes
Volume Textures Yes No Yes
Multitexture Cascade No [13] Yes Yes
Texture Temporary Result Register No No Yes
Mirror Texture Addressing No Yes Yes
Texture "Wrapping" No Yes Yes
Range-Based Fog No Yes Yes
Bump Mapping No Yes Yes
Modulate 2X Texture Blend No Yes Yes
Modulate 4X Texture Blend No Yes Yes
Add Signed Texture Blend No Yes Yes
Hardware Independent Z Buffer Access Yes No [2] No [2]
Full-Screen Antialiasing Yes Yes Yes
Motion Blur Yes No Yes
Depth of Field Yes No Yes
Accumulation Buffers Yes No No [7]
Picking Support Yes No [3] No [3]
Multiple Monitor Support No Yes Yes
Stereo Rendering Yes Yes No
AsianSensation




PostPosted: Sat Nov 15, 2003 9:17 pm   Post subject: (No subject)

cool, thanks for the help, I think I will try to program with OpenGL.

Now my friend also mentioned another point, he said that since Direct3D will be alot easier to program in and easier to understand, he suggested that I should learn how to program in Direct3D 9 to start, and I haven't been able to find much information on that (maybe I'm just not looking hard enough?)

so Direct3D 9, or OpenGL?
rizzix




PostPosted: Sat Nov 15, 2003 9:19 pm   Post subject: (No subject)

i'd go for opengl..

1) it's open heh. so there are more ppl working on it than u think Smile
2) it's been ported to more platforms then DirectX, and i can bet on that Razz
Andy




PostPosted: Mon Nov 17, 2003 6:47 pm   Post subject: (No subject)

meng where did u get all these friends from? the last time i checked it was only jimmy, and hes just wacked
SilverSprite




PostPosted: Sat Nov 29, 2003 4:06 pm   Post subject: (No subject)

dont be deceived andy.. when he says 'friend' he actually means some girl (guy?) in the romance chat at yahoo
Andy




PostPosted: Sun Nov 30, 2003 9:07 pm   Post subject: (No subject)

LOL... yahoo? oh yea msn costs money now... damn those greedy ms ppl
Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Sun Nov 30, 2003 9:33 pm   Post subject: (No subject)

you hurt my feelings, I will now cry in a little corner....

code:
       |
       |
       |
       |
       |
       |
       |
       |
       |
       /-----------------
      / ^
     /  |
    /   | 
   /    Corner
  /
 /  *Meng proceeds to cry in corner
/
Andy




PostPosted: Sun Nov 30, 2003 9:47 pm   Post subject: (No subject)

meng.. the cyberworld is round... there is no coners... and lol you and your txt art... wasting so much time in compsci to draw your diagrams on vc
SilverSprite




PostPosted: Sun Nov 30, 2003 10:42 pm   Post subject: (No subject)

AsianSensation wrote:

code:
       |
       |
       |
       |
       |
       |
       |
       |
       |
       /-----------------
      / ^
     /  |
    /   | 
   /    Corner
  /
 /  *Meng proceeds to cry in corner
/

you must really have no life to take time to do that
AsianSensation




PostPosted: Sun Nov 30, 2003 10:49 pm   Post subject: (No subject)

Razz

you leave my ASCII art alone. I must fulfill my role in being Chinesy, and if I can't draw real art (cuz all oriental people should be able to draw, play piano, play badminton, etc, etc), then I must be able to draw cyber art. I wonder if I can get an art credit in ASCII........
Andy




PostPosted: Mon Dec 01, 2003 4:32 pm   Post subject: (No subject)

lol credit in ascii... azn i'm pretty sure there are better ascii artists out there... and you cant be declared chinesey until you can do ALL of those things... lol
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 13 Posts ]
Jump to:   


Style:  
Search: