bgfx/README.md

253 lines
10 KiB
Markdown
Raw Normal View History

2014-03-15 23:35:45 +04:00
[bgfx](https://github.com/bkaradzic/bgfx) - Cross-platform rendering library
============================================================================
2013-02-28 11:30:39 +04:00
2016-01-20 07:26:30 +03:00
[![Build Status](https://travis-ci.org/bkaradzic/bgfx.svg?branch=master)](https://travis-ci.org/bkaradzic/bgfx)
2016-01-22 08:05:36 +03:00
[![Build status](https://ci.appveyor.com/api/projects/status/ipa3ojgeaet1oko5?svg=true)](https://ci.appveyor.com/project/bkaradzic/bgfx)
2016-04-15 08:53:50 +03:00
[![License](https://img.shields.io/badge/license-BSD--2%20clause-blue.svg)](https://bkaradzic.github.io/bgfx/license.html)
[![Join the chat at https://gitter.im/bkaradzic/bgfx](https://badges.gitter.im/bkaradzic/bgfx.svg)](https://gitter.im/bkaradzic/bgfx)
2016-01-20 07:26:30 +03:00
2015-08-12 08:11:24 +03:00
[What is it?](https://bkaradzic.github.io/bgfx/overview.html)
-------------------------------------------------------------
2013-02-22 09:07:31 +04:00
2015-03-19 08:24:53 +03:00
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style
rendering library.
2013-02-22 09:07:31 +04:00
Supported rendering backends:
2013-10-24 07:34:31 +04:00
* Direct3D 9
* Direct3D 11
2015-07-30 06:28:56 +03:00
* Direct3D 12 (WIP)
2015-08-14 22:57:41 +03:00
* Metal (WIP)
2013-02-22 09:07:31 +04:00
* OpenGL 2.1
2014-09-05 20:23:37 +04:00
* OpenGL 3.1+
2013-02-22 09:07:31 +04:00
* OpenGL ES 2
2014-08-25 07:40:58 +04:00
* OpenGL ES 3.1
2014-11-20 20:43:42 +03:00
* WebGL 1.0
2016-03-21 02:25:46 +03:00
* WebGL 2.0
2014-11-20 20:43:42 +03:00
Supported HMD:
2016-04-02 12:41:40 +03:00
* OculusVR (1.3.0)
2013-02-22 09:07:31 +04:00
2014-10-19 09:16:02 +04:00
Supported platforms:
2013-02-22 09:07:31 +04:00
2014-11-20 20:43:42 +03:00
* Android (14+, ARM, x86, MIPS)
2014-10-19 09:16:02 +04:00
* asm.js/Emscripten (1.25.0)
2015-04-10 18:37:57 +03:00
* FreeBSD
2015-10-13 04:08:20 +03:00
* iOS (iPhone, iPad, AppleTV)
2016-02-02 07:28:12 +03:00
* Linux
2015-10-13 04:08:20 +03:00
* MIPS Creator CI20
2014-11-20 20:43:42 +03:00
* Native Client (PPAPI 37+, ARM, x86, x64, PNaCl)
2015-10-13 04:08:20 +03:00
* OSX (10.9+)
2014-08-25 07:40:58 +04:00
* RaspberryPi
2016-02-16 08:42:30 +03:00
* SteamLink
2016-02-02 07:28:12 +03:00
* Windows (XP, Vista, 7, 8, 10)
2014-11-16 02:48:24 +03:00
* WinRT (WinPhone 8.0+)
2013-02-22 09:07:31 +04:00
2014-10-19 09:16:02 +04:00
Supported compilers:
2014-10-19 03:04:42 +04:00
* Clang 3.3 and above
* GCC 4.6 and above
2016-12-01 20:57:18 +03:00
* VS2012 and above
2014-10-19 03:04:42 +04:00
2014-06-15 22:32:15 +04:00
Languages:
2015-07-28 09:10:43 +03:00
* [C/C++ API documentation](https://bkaradzic.github.io/bgfx/bgfx.html)
2014-06-22 05:18:26 +04:00
* [C#/VB/F# language API bindings](https://github.com/MikePopoloski/SharpBgfx)
2014-11-05 19:34:22 +03:00
* [D language API bindings](https://github.com/DerelictOrg/DerelictBgfx)
2014-06-22 05:18:26 +04:00
* [Go language API bindings](https://github.com/james4k/go-bgfx)
2015-12-23 12:40:38 +03:00
* [Haskell language API bindings](https://github.com/haskell-game/bgfx)
2016-10-01 22:38:41 +03:00
* [Lightweight Java Game Library 3 bindings](https://github.com/LWJGL/lwjgl3)
2016-04-30 07:16:17 +03:00
* [Lua language API bindings](https://github.com/excessive/lua-bgfx)
2016-08-25 19:33:46 +03:00
* [Nim language API bindings](https://github.com/Halsys/nim-bgfx)
2016-03-01 06:56:56 +03:00
* [Python language API bindings](https://github.com/jnadro/pybgfx#pybgf)
2016-01-14 20:50:31 +03:00
* [Rust language API bindings](https://github.com/rhoot/bgfx-rs)
2016-05-03 17:31:14 +03:00
* [Swift language API bindings](https://github.com/stuartcarnie/SwiftBGFX)
2014-06-15 22:32:15 +04:00
2016-02-26 08:21:36 +03:00
[Building](https://bkaradzic.github.io/bgfx/build.html)
----------------------------------------------------
2016-01-20 06:58:06 +03:00
2016-01-22 08:05:36 +03:00
- AppVeyor https://ci.appveyor.com/project/bkaradzic/bgfx
2016-01-20 07:26:30 +03:00
- TravisCI https://travis-ci.org/bkaradzic/bgfx
2016-02-26 08:21:36 +03:00
[Examples](https://bkaradzic.github.io/bgfx/examples.html)
----------------------------------------------------------
[API Reference](https://bkaradzic.github.io/bgfx/bgfx.html)
-----------------------------------------------------------
[Tools](https://bkaradzic.github.io/bgfx/tools.html)
----------------------------------------------------
2013-06-23 04:51:59 +04:00
Who is using it?
----------------
2016-12-10 21:47:16 +03:00
## Airmech
2013-06-23 04:51:59 +04:00
http://airmech.com/ AirMech is a free-to-play futuristic action real-time
2016-03-11 11:11:55 +03:00
strategy video game developed and published by Carbon Games.
![airmech](https://www.mobygames.com/images/shots/l/830630-airmech-playstation-4-screenshot-blue-bar-on-your-mech-indicates.jpg)
2013-06-23 04:51:59 +04:00
2016-12-10 21:47:16 +03:00
## cmftStudio
2014-10-18 08:44:19 +04:00
https://github.com/dariomanesku/cmftStudio cmftStudio - cubemap filtering tool.
2014-10-18 08:52:25 +04:00
![cmftStudio](https://github.com/dariomanesku/cmftStudio/raw/master/screenshots/cmftStudio_small.jpg)
2014-09-05 20:23:37 +04:00
2016-12-10 21:47:16 +03:00
## Crown
2014-09-05 20:23:37 +04:00
https://github.com/taylor001/crown Crown is a general purpose data-driven game
engine, written from scratch with a minimalistic and data-oriented design
2015-12-18 22:20:43 +03:00
philosophy in mind.
![Crown screenshot](https://raw.githubusercontent.com/taylor001/crown/master/docs/shots/level-editor.png)
2014-09-05 20:23:37 +04:00
2016-12-10 21:47:16 +03:00
## Offroad Legends 2
2015-02-06 20:03:42 +03:00
http://www.dogbytegames.com/ Dogbyte Games is an indie mobile developer studio
2015-02-19 19:57:48 +03:00
focusing on racing games.
![ios](http://www.dogbytegames.com/bgfx/offroadlegends2_bgfx_ipad2.jpg)
2015-02-06 20:03:42 +03:00
2016-12-10 21:47:16 +03:00
## Torque6
2015-03-08 21:07:07 +03:00
https://github.com/andr3wmac/Torque6 Torque 6 is an MIT licensed 3D engine
loosely based on Torque2D. Being neither Torque2D or Torque3D it is the 6th
derivative of the original Torque Engine.
2015-08-17 07:44:50 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=p4LTM_QGK34
" target="_blank"><img src="http://img.youtube.com/vi/p4LTM_QGK34/0.jpg"
alt="Torque 6 Material Editor" width="640" height="480" border="0" /></a>
2015-03-08 21:07:07 +03:00
2016-12-10 21:47:16 +03:00
## twinkle
2015-03-08 21:07:07 +03:00
https://github.com/cgbystrom/twinkle GPU-accelerated UI framework powered by
JavaScript for desktop/mobile apps. Idea is to combine the fast workflow and
deployment model of web with the performance of native code and GPU acceleration.
2016-12-10 21:47:16 +03:00
## Lumix Engine
2015-08-17 07:44:50 +03:00
https://github.com/nem0/LumixEngine LumixEngine is a MIT licensed 3D engine.
2015-10-20 07:40:15 +03:00
The main goal is performance and Unity-like usability.
2016-02-09 21:40:04 +03:00
![LumixEngine screenshot](https://cloud.githubusercontent.com/assets/153526/12904252/3fcf130e-cece-11e5-878b-c9fe24c1b11a.png)
2015-08-17 07:42:25 +03:00
2016-12-10 21:47:16 +03:00
## Kepler Orbits
2015-12-03 05:34:16 +03:00
https://github.com/podgorskiy/KeplerOrbits KeplerOrbits - Tool that calculates
positions of celestial bodies using their orbital elements. [Web Demo](http://podgorskiy.com/KeplerOrbits/KeplerOrbits.html)
2016-12-10 21:47:16 +03:00
## CETech
2015-12-10 10:49:07 +03:00
https://github.com/cyberegoorg/cetech - CETech is Data-Driven game engine and
toolbox inspired by Bitsquid/Stingray engine.
![CETech screenshot](https://github.com/cyberegoorg/cetech/raw/master/docs/img/prototyp.png)
2016-12-10 21:47:16 +03:00
## ioquake3
2015-12-10 10:49:07 +03:00
https://github.com/jpcy/ioq3-renderer-bgfx - A renderer for ioquake3 written in
2015-12-11 07:27:29 +03:00
C++ and using bgfx to support multiple rendering APIs.
![ioq3-renderer-bgfx screenshot](https://camo.githubusercontent.com/052aa40c05120e56306294d3a1bb5f99f97de8c8/687474703a2f2f692e696d6775722e636f6d2f64364f6856594b2e6a7067)
2015-12-10 10:49:07 +03:00
2016-12-10 21:47:16 +03:00
## DLS
2016-01-25 02:32:03 +03:00
http://makingartstudios.itch.io/dls - DLS the digital logic simulator game.
2016-01-25 02:29:37 +03:00
![dls-screenshot](https://img.itch.io/aW1hZ2UvMzk3MTgvMTc5MjQ4LnBuZw==/original/kA%2FQPb.png)
2016-12-10 21:47:16 +03:00
## MAME
2016-03-25 23:02:19 +03:00
https://github.com/mamedev/mame MAME - Multiple Arcade Machine Emulator
[Try MAME in Browser!](http://fos.textfiles.com/dfjustin/pacman/pacman/)
![mame-screenshot](https://raw.githubusercontent.com/mamedev/www.mamedev.org/d8d716dbb63919a11964b5d47b9b7f6cfa006b56/bgfx/Raiden.png)
2016-02-08 06:01:48 +03:00
2016-12-10 21:47:16 +03:00
## Blackshift
2016-03-23 09:08:44 +03:00
https://blackshift.itch.io/blackshift - Blackshift is a grid-based, space-themed
action puzzle game which isn't afraid of complexity — think Chip's Challenge on
2016-05-16 00:12:16 +03:00
crack.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=PUl8612Y-ds
" target="_blank"><img src="http://img.youtube.com/vi/PUl8612Y-ds/0.jpg"
alt="Blackshift Trailer, May 2016"
width="640" height="480" border="0" /></a>
2016-03-23 09:08:44 +03:00
2016-12-10 21:47:16 +03:00
## Real-Time Polygonal-Light Shading with Linearly Transformed Cosines
2016-04-21 21:08:22 +03:00
https://eheitzresearch.wordpress.com/415-2/ - Real-Time Polygonal-Light Shading
with Linearly Transformed Cosines, Eric Heitz, Jonathan Dupuy, Stephen Hill and
David Neubelt, ACM SIGGRAPH 2016
<a href="http://www.youtube.com/watch?feature=player_embedded&v=ZLRgEN7AQgM
" target="_blank"><img src="http://img.youtube.com/vi/ZLRgEN7AQgM/0.jpg"
2016-06-23 07:18:55 +03:00
alt="Real-Time Polygonal-Light Shading with Linearly Transformed Cosines"
2016-04-21 21:08:22 +03:00
width="640" height="480" border="0" /></a>
2016-12-10 21:47:16 +03:00
## Dead Venture
2016-06-23 07:18:55 +03:00
http://www.dogbytegames.com/dead_venture.html - Dead Venture is a new Drive 'N
Gun game where you help a handful of survivals reach the safe haven: a military
base on a far island.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=CgMr1g12yXw
" target="_blank"><img src="http://img.youtube.com/vi/CgMr1g12yXw/0.jpg"
alt="Dead Venture - Gameplay Teaser (iOS / Android)"
width="640" height="480" border="0" /></a>
2016-12-10 21:47:16 +03:00
## REGoth
2016-08-23 06:28:44 +03:00
https://github.com/degenerated1123/REGoth - Open source reimplementation of the
2016-08-23 06:22:53 +03:00
zEngine, used by the game "Gothic" and "Gothic II".
2016-08-23 06:29:20 +03:00
2017-01-31 09:34:20 +03:00
Browser demo: http://gothic-dx11.de/gothic-js/REGoth.html
2016-08-23 06:22:53 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=8bLAGttYYpY
" target="_blank"><img src="http://img.youtube.com/vi/8bLAGttYYpY/0.jpg"
alt="REGoth Engine"
width="640" height="480" border="0" /></a>
2016-12-10 21:47:16 +03:00
## Ethereal Engine
2016-12-01 08:54:29 +03:00
https://github.com/volcoma/EtherealEngine EtherealEngine C++ Game Engine and
WYSIWYG Editor
![EtherealEngine screenshot](https://cloud.githubusercontent.com/assets/1499411/19988985/2a302204-a22c-11e6-98af-5f446d0c79ac.png)
2016-12-10 21:47:16 +03:00
## Go Rally
2016-12-10 21:33:13 +03:00
http://gorallygame.com/ - Go Rally is top-down rally game with a career mode,
multiplayer time challenges, and a track creator.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=ckbkQsB6RVY
" target="_blank"><img src="http://img.youtube.com/vi/ckbkQsB6RVY/0.jpg"
alt="Go Rally"
width="640" height="480" border="0" /></a>
2016-12-29 21:37:13 +03:00
## Fiber2D
https://github.com/s1ddok/Fiber2D#fiber2d - Fiber2D - Cross-platform 2D Game
Engine in pure Swift
![Fiber2D Demo Gif](http://imgur.com/CP6d9kT.gif)
2015-08-12 08:11:24 +03:00
[License (BSD 2-clause)](https://bkaradzic.github.io/bgfx/license.html)
-----------------------------------------------------------------------
2015-08-12 08:08:07 +03:00
2015-08-17 07:14:03 +03:00
<a href="http://opensource.org/licenses/BSD-2-Clause" target="_blank">
2015-08-16 21:23:18 +03:00
<img align="right" src="http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png">
2015-08-17 07:14:03 +03:00
</a>
2015-08-16 21:23:18 +03:00
2017-01-01 11:18:41 +03:00
Copyright 2010-2017 Branimir Karadzic. All rights reserved.
2015-08-12 08:08:07 +03:00
https://github.com/bkaradzic/bgfx
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2015-08-16 21:25:16 +03:00
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
2015-08-12 08:08:07 +03:00
THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
2015-08-16 21:25:16 +03:00
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.