Giter Site home page Giter Site logo

computer-graphics's Introduction

OpenGL study

mac 初始化

  1. 安装 homebrew
  2. 安装 glfw
brew install glfw
  1. 安装 glad
brew install glad

配置

  1. 已经配置好vscode的task,通过command + shift + b快捷键生成app可执行文件, 再运行

     ./app 

document

OpenGL setup: GLFW and GLAD in Visual Studio Code on macOS learn opengl docs.GL

问题

  1. GLFW 是什么

    • Graphics Library Framework(图形库框架)
    • GLFW 是一款跨平台的开源库,用于创建窗口,接收和处理输入,管理 OpenGL 内容,并提供对多种平台的支持。
    • GLFW 的主要功能是创建并管理窗口和 OpenGL 上下文,同时还提供了处理手柄、键盘、鼠标输入的功能。
  2. GLAD 是什么 在线服务

    • GLAD - Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator
    • GLAD是继GL3W,GLEW之后,当前最新的用来访问OpenGL规范接口的第三方库
    • GLAD 是 OpenGL 加载器自动生成器,它能够根据 OpenGL 版本和平台自动生成函数指针。
    • 它支持多种编程语言,包括C/C++、Python、Rust等,使开发者能够方便地访问和使用OpenGL的功能。
    • GLAD的主要目标是简化OpenGL的初始化过程,使得开发者能够更快速、高效地开始使用OpenGL进行图形编程。

computer-graphics's People

Contributors

kevinbrother avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.