Computer Graphics
introduce myself
Tsai, Tz-hau
Comm96
PC Games
when I was young...
when I was a teen
current
rich
real
Why Windows only?
especially for 3d games.
why?
portable programs
visual studio, C, cpu....etc
different graphical libs.
Microsoft Windows

COM based

Direct3D             3D

DirectX 10 (Vista)

D3D             mode
 Exclusive mode - direct t...
Specification




procedural API

based on C, binding

  GLUT, SDL
Windowing
•GLX
•WGL
•CGL(AGL)
•    GLUT, SDL

Windows Vista     OpenGL
OpenGL                  general


                DirectX                    Game
“low-level, high-performance hardware ac...
OpenGL
                   state

   OpenGL


         Good for user
         Slow on gaming
Direct3D


    Direct3D
                  register

               best for gaming
D3D on Window




OpenGL on MacOSX
http://en.wikipedia.org/wiki/Comparison_of_Direct3D_and_OpenGL

http://www.gamedev.net/reference/articles/article1775.asp
...
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
CG_OpenGL_VS_DirectX
Upcoming SlideShare
Loading in …5
×

CG_OpenGL_VS_DirectX

1,564 views

Published on

課堂 presentation.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,564
On SlideShare
0
From Embeds
0
Number of Embeds
45
Actions
Shares
0
Downloads
42
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

CG_OpenGL_VS_DirectX

  1. 1. Computer Graphics
  2. 2. introduce myself
  3. 3. Tsai, Tz-hau
  4. 4. Comm96
  5. 5. PC Games
  6. 6. when I was young...
  7. 7. when I was a teen
  8. 8. current
  9. 9. rich
  10. 10. real
  11. 11. Why Windows only?
  12. 12. especially for 3d games.
  13. 13. why?
  14. 14. portable programs
  15. 15. visual studio, C, cpu....etc
  16. 16. different graphical libs.
  17. 17. Microsoft Windows COM based Direct3D 3D DirectX 10 (Vista) D3D mode Exclusive mode - direct to device Windowed mode - throught GDI
  18. 18. Specification procedural API based on C, binding GLUT, SDL
  19. 19. Windowing •GLX •WGL •CGL(AGL) • GLUT, SDL Windows Vista OpenGL
  20. 20. OpenGL general DirectX Game “low-level, high-performance hardware access for the purpose of game development.”
  21. 21. OpenGL state OpenGL Good for user Slow on gaming
  22. 22. Direct3D Direct3D register best for gaming
  23. 23. D3D on Window OpenGL on MacOSX
  24. 24. http://en.wikipedia.org/wiki/Comparison_of_Direct3D_and_OpenGL http://www.gamedev.net/reference/articles/article1775.asp http://www.xmission.com/~legalize/d3d-vs-opengl.html

×