Giter VIP home page Giter VIP logo

cgfinalproject's Introduction

CGFinalProject

(或许可以起一些酷炫的中文名和英文名)

Final Project of DCS304 - Computer Graphics 2021 Fall

本项目基于 OpenGL,使用 Qt5msvc2019_64 (msvc2017_64)

首先更改 .pro 文件中的 INCLUDEPATH

需要的一些外部依赖头文件请放到 include 文件夹中;需要的一些库请放到 lib 文件夹中,并在 .pro 文件中的 LIBS 添加相对路径;项目添加的头文件和源文件,请在 .pro 中的 HEADERSSOURCES 添加相对路径;项目添加的资源文件(如 shader )请放在 resource 中,有需要的话可以在 Visual Studio 中打开 resource.qrc 并添加资源。

在文件夹中打开终端,输入命令

qmake -tp vc

生成 .vcxproj 文件。使用 msvc2017 工具生成的项目文件在 Visual studio 2019 中打开可能需要升级工具集。

若生成 Debug 程序时出现找不到 Qt5OpenGL.lib 的错误,可以在项目的库目录添加上 Qt 库路径。如 C:\Qt\5.15.2\msvc2019_64\lib.

TODO: paintGL -> SolarSystem -> drawBall -> Ball TODO: Ball: 性质和属性 TODO: drawBall: 画球 TODO: SolarSystem: 画太阳系 TODO: TextRender: 显示文字 TODO: light: 绑定光源 设置光源位置

cgfinalproject's People

Contributors

lzzmm avatar liyu886 avatar atopos-309 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.