Git Product home page Git Product logo

learnopengl_cn's Introduction

learnopengl_cn

此项目基于visual studio,学习opengl而构建,学习网址为 https://learnopengl-cn.github.io/ . 依赖glfw库与glad库

set up for the project

1. 新建一个空项目

2. 设置项目include与lib要读取的路径

avatar

avatar

3. 设置链接的时候的文件路径 (.lib 文件)

avatar

4. 把官方提供的 glad.c 文件复制进项目,以便于 glad.h 文件所调用

5. 运行 hello.cpp 即可绘制窗口

6. 要运行不同的章节文件,由于有多个 main函数 文件, 在 visual studio 里面选择从项目中排除其它带 main函数 的文件即可

learnopengl_cn's People

Contributors

mudimingquedeyinmoujia 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.