Where can I download Source Code Of “OpenGL”? [closed]

巧了我就是萌 提交于 2019-12-03 15:42:06

问题


Where can I download Source Code Of "OpenGL" ?


回答1:


If you want to see how a rasterizer (the thing that displays polygons on the screen) is done in software, follow Eric's suggestion and check out mesa3d or google "rasterizer".

If you want to see how a rasterizer is done on hardware, I'm afraid the only thing you can have access to is a photo of a GPU die.

If you want to see how a 3D engine is done, take a look at Ogre, Irrlicht or any other.

If you want to know what happens under the hood when you call glDrawArray on a geForce, you can't. The drivers are proprietary. They more or less forward the call to the graphic card, but it's such a simplification... for instance, a typical DirectX call takes more than 10000 cpu instructions.




回答2:


The SGI reference implementation of OpenGL can be downloaded from this ftp site: ftp://oss.sgi.com/projects/ogl-sample/download



来源:https://stackoverflow.com/questions/3352648/where-can-i-download-source-code-of-opengl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!