• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

BennyQBD/3DGameEngineCpp_60: The C++ version of the 3D Game Engine, as of the en ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

BennyQBD/3DGameEngineCpp_60

开源软件地址:

https://github.com/BennyQBD/3DGameEngineCpp_60

开源编程语言:

C 82.6%

开源软件介绍:

3DEngineCpp

It's like the 3D Game Engine, except in C++

##Build Dependencies##

  • GLEW
  • SDL2
  • ASSIMP

##Build Instructions##

###Windows###

  • Open 3DGameEngineCpp.sln in Microsoft Visual Studio 2012 or newer.
  • Select build target (Debug or Release), and either click "Build" or hit 'F7'
  • Click "Run" or hit 'Ctrl-F5'.
  • Everything should work from that. If not, see section on reporting a build error.

###Mac### I do not have a Mac, and therefore cannot write effective step by step instructions for building on a Mac. However, there are a few things that must be considered:

  • Make sure you are building with C++11. If you are not, the OS dependent code in time.cpp will fall back on an inefficient default timer. While technically working, it does not produce smooth results.

####HELP WANTED:####

  • If anyone can provide an XCode project that's set up to build, that'd be great!
  • If anyone can provide high resolution timing code for Mac, that would make Mac build considerations significantly simpler! (See time.cpp for reference)

###Linux###

  • Open a Terminal and install the build dependencies. Syntax on Ubuntu Linux: sudo apt-get install libglew-dev libsdl2-dev libassimp-dev

    • NOTE: The syntax for this depends on both your package manager and your Linux distribution. If you're not sure how to install the dependencies, check with your distribution and package manager for details.
  • For building/running, there are two possible options:

    A) Through Code::Blocks:

    • Go to the "3DGameEngineCpp" folder and open 3DGameEngine.cbp with Code::Blocks.

    • Select build target (Debug or Release), and either click "Build" or hit 'Ctrl-F9'

    • Click "Run" or hit 'F9'.

    B) Through Terminal:

    • Open a Terminal and navigate to the "3DGameEngineCpp" folder.

    • Type "make" (NOTE: You can add "debug" or "release" as an argument to specify a desired build target)

    • Copy the "res" folder to "bin/Debug" or "bin/Release" depending on the desired build target

    • Navigate to "bin/Debug" or "bin/Release" depending on the desired build target, and type "./3DGameEngine"

  • Everything should work after completing either option. If not, see section on reporting a build error.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap