张家港市高层次人才享受生活待遇政.pptVIP

  • 9
  • 0
  • 约5.35千字
  • 约 16页
  • 2018-09-24 发布于天津
  • 举报

张家港市高层次人才享受生活待遇政.ppt

张家港市高层次人才享受生活待遇政.ppt

WHAT IS OpenGL? The OpenGL graphics system is an application programming interface (API) to graphics hardware @ 2017 by Jim X. Chen: jchen@cs.gmu.edu .*. DEMO 1 DEMO 2 @ 2017 by Jim X. Chen: jchen@cs.gmu.edu .*. OpenGL-Related Libraries The OpenGL Utility Library (GLU) contains several routines that use OpenGL commands. It is considered part of your OpenGL. The OpenGL Extension to the X Window System (GLX) provides a means of creating an OpenGL context and associating it with a drawable window on a machine that uses the X. OpenGL Auxiliary Library (AUX) or Utility Toolkit (GLUT) to make programming examples simpler. Works for X, Win, Apple, etc. WGL for Windows; AGL for Apple; PGL for OS/2 JOGL – Java OpenGL API @ 2017 by Jim X. Chen: jchen@cs.gmu.edu .*. OpenGL and DirectX libraries Theoretically, OpenGL and DirectX (Direct3D) are the same OpenGL and Direct3D are mature graphics library OpenGL is easier to learn and use, and is integrated in most modern graphics textbooks DirectX is much more popular in PC game industry in the past @ 2017 by Jim X. Chen: jchen@cs.gmu.edu .*. JOGL – Java for OpenGL JOGL implements Java bindings for OpenGL. Provides platform for 3D graphics applications in Java JOGL provides full access to OpenGL functions and integrates with the AWT or Swing widget sets. Part of a suite of open-source technologies initiated by the Game Technology Group at Sun Microsystems. JOGL1_0_Frame * JOGL initial set up: * Open a frame with a background color Shaders Earlier GPU programming are through separate libraries: Cg, HLSL, etc. OpenGL 4.x includes GLSL as a standard: shader programming that runs on GPU Cg library faced out 2013 Old CPU graphics pipeline faced out @ 2017 by Jim X. Chen: jchen@cs.gmu.edu The rendering pipeline Vertex shader: parallel vertex processing Fragment shader: parallel fragment processing JOGL1_0_Point Draw a point with vertex and fragment shaders JOGL1_1_PointVFfiles vertex and fragment shader p

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档