OpenGL ES freeglut 下載和使用

目錄

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES 基礎

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES 特效

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES 轉場

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES 函數

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES GPUImage 使用

零基礎 OpenGL ES 學習路線推薦 : OpenGL ES 學習目錄 >> OpenGL ES GLSL 編程

一.freeglut 簡介

freeglut 是 GLUT (OpenGL Utility Toolkit)的一個免費開源替代庫。在程序中負責創建窗口、初始化 OpenGL 上下文和處理輸入事件所需的所有系統特定的雜務,從而允許創建真正可移植的 OpenGL 程序。

在 OpenGL 項目開發中,freeglut 一般搭配 glew 一起使用;

二.freeglut 下載

下載地址:https://www.transmissionzero.co.uk/software/freeglut-devel/

This package contains 32 and 64 bit Windows DLLs, import libraries, and header files, allowing freeglut applications to be written using Microsoft’s Visual C++. The package was built from source code using Visual Studio 2013. The DLL is binary compatible with both my MinGW DLL, and the GLUT for Win32 DLL provided by Nate Robins. The DLL has been tested on Windows 98 SE, Windows ME, Windows 2000, Windows XP, Windows Vista, Windows 7 (64 bit), and Windows 8 (64 bit).

freeglut 完全兼容 glut,是 glut 的代替品,開源,功能齊全。目前來看,freeglut 3.0 版本比其它版本穩定,推薦使用。

下載文件後解壓即可得到對應的 lib 和 dll 文件;

OpenGL freeglut 繪製可以參考以下代碼:

  1. Windows OpenGL 調節亮度 Demo
  2. Windows OpenGL 調節曝光 Demo
  3. Windows OpenGL 調節對比度 Demo
  4. Windows OpenGL 調節飽和度 Demo
  5. Windows OpenGL 調節伽馬線 Demo

在 OpenGL 項目開發中,freeglut 一般搭配 glew 一起使用;

五.猜你喜歡

  1. OpenGL ES 簡介
  2. OpenGL ES 版本介紹
  3. OpenGL ES 2.0 和 3.0 區別
  4. OpenGL ES 名詞解釋(一)
  5. OpenGL ES 名詞解釋(二)
  6. OpenGL ES GLSL 着色器使用過程
  7. OpenGL ES EGL 簡介
  8. OpenGL ES EGL 名詞解釋
  9. OpenGL ES EGL eglGetDisplay
  10. OpenGL ES EGL eglInitialize
  11. OpenGL ES EGL eglGetConfigs
  12. OpenGL ES EGL eglChooseConfig
  13. OpenGL ES EGL eglGetError
  14. OpenGL ES EGL eglCreateContext
  15. OpenGL ES EGL eglCreateWindowSurface
  16. OpenGL ES EGL eglCreatePbufferSurface
  17. OpenGL ES EGL eglMakeCurrent
  18. OpenGL ES EGL eglSwapBuffer
  19. OpenGL ES EGL eglDestroySurface
  20. OpenGL ES EGL eglDestroyContext
  21. OpenGL ES EGL eglQueryContext
  22. OpenGL ES EAGLContext 和 EGLContext
  23. OpenGL ES OpenGL WebGL EGL WGL 區別
  24. OpenGL ES freeglut 下載和使用

本文由博客 - 猿說編程 猿說編程 發佈!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章