Giter VIP home page Giter VIP logo

cghomework's Introduction

构建程序:cmake 2.8.12
引用的第三方库:tinyobjload  qt5.4

构建与运行方法:
linux:
直接再程序根目录运行如下指令:
./build_and_run

用法:
build_and_run [obj filename]
如果不指定obj,会使用根目录下的test.obj。

window:
这个我没试过,理论上用cmake构建一下是能用vs打开并且运行的。



.
├── build                    //构建目录
│   ├── CMakeCache.txt
│   ├── CMakeFiles
│   ├── cmake_install.cmake
│   ├── Makefile
│   ├── src
│   └── tinyobjloader
├── build.sh                //构建脚本
├── CMakeLists.txt          //cmake 构建文件
├── include
│   ├── cgtype.h
│   ├── Edge.h
│   ├── LinePair.h
│   ├── MainWidget.h
│   ├── objloader.h
│   ├── Polygon.h
│   └── ScanLineZBuffer.h
├── README                  //说明文档
├── src                     //源程序
│   ├── CMakeLists.txt
│   ├── Edge.cpp
│   ├── LinePair.cpp
│   ├── main.cpp
│   ├── MainWidget.cpp
│   ├── objloader.cpp
│   ├── Polygon.cpp
│   └── ScanLineZBuffer.cpp
├── test.obj
└── tinyobjloaderi          //解析obj的第三方库
    ├── CMakeLists.txt
    ├── cornell_box.mtl
    ├── cornell_box_multimaterial.obj
    ├── cornell_box.obj
    ├── cube.mtl
    ├── cube.obj
    ├── examples
    ├── images
    ├── premake4.lua
    ├── python
    ├── README.md
    ├── test.cc
    ├── tiny_obj_loader.cc
    ├── tiny_obj_loader.h
    └── wercker.yml

cghomework's People

Contributors

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