bgfx/README.md

366 lines
14 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
2018-02-07 05:27:58 +03:00
* Direct3D 12
2018-05-19 19:35:22 +03:00
* Metal
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
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
* OSX (10.12+)
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)
2017-12-15 07:40:30 +03:00
* UWP (Universal Windows, Xbox One)
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
2018-09-02 22:53:40 +03:00
* GCC 5 and above
2018-11-13 10:47:44 +03:00
* VS2017 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)
2018-12-18 20:45:36 +03:00
* [Lua language API bindings](https://github.com/cloudwu/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
2018-12-19 08:02:23 +03:00
[Getting involved](https://bkaradzic.github.io/bgfx/overview.html#getting-involved)
-----------------------------------------------------------------------------------
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)
----------------------------------------------------
2018-05-19 05:46:18 +03:00
Who is using it? #madewithbgfx
------------------------------
2013-06-23 04:51:59 +04:00
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
2017-06-22 02:55:36 +03:00
https://github.com/dbartolini/crown Crown is a general purpose data-driven game
2014-09-05 20:23:37 +04:00
engine, written from scratch with a minimalistic and data-oriented design
2015-12-18 22:20:43 +03:00
philosophy in mind.
2017-06-22 02:55:36 +03:00
![Crown screenshot](https://raw.githubusercontent.com/dbartolini/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.
2017-07-22 19:56:23 +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"
2015-08-17 07:44:50 +03:00
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
## 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.
2017-06-04 09:06:25 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=6o1-sQRNqcA
" target="_blank"><img src="http://img.youtube.com/vi/6o1-sQRNqcA/0.jpg"
alt="DLS - Creating a 4-bit Register "
width="640" height="480" border="0" /></a>
2016-01-25 02:29:37 +03:00
2017-06-04 09:04:31 +03:00
http://dls.makingartstudios.com/sandbox/ - DLS: The Sandbox
![dls-sandbox-screenshot](https://pbs.twimg.com/media/DBaFwOKWAAEq0mp.jpg:large)
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
2017-04-14 06:15:49 +03:00
crack.
2017-07-22 19:56:23 +03:00
<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"
2016-05-16 00:12:16 +03:00
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
2017-04-14 06:15:49 +03:00
2017-07-22 19:56:23 +03:00
<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.
2017-04-14 06:15:49 +03:00
2017-07-22 19:56:23 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=CgMr1g12yXw"
target="_blank"><img src="http://img.youtube.com/vi/CgMr1g12yXw/0.jpg"
2016-06-23 07:18:55 +03:00
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
2018-02-07 05:59:36 +03:00
![EtherealEngine screenshot](https://user-images.githubusercontent.com/1499411/29488403-ff3c3df6-8512-11e7-869f-32a783530cc3.png)
2016-12-01 08:54:29 +03:00
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.
2017-07-22 19:56:23 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=ckbkQsB6RVY"
target="_blank"><img src="http://img.youtube.com/vi/ckbkQsB6RVY/0.jpg"
2016-12-10 21:33:13 +03:00
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)
2018-02-07 05:57:03 +03:00
## On the Hunt / Lumix Engine
2017-03-03 08:08:06 +03:00
http://www.indiedb.com/games/on-the-hunt - On the Hunt is an open world hunting
2018-02-07 05:57:03 +03:00
game in development. It's a combination of FPS and stealth.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=cAsqLbqSDBg"
target="_blank"><img src="http://img.youtube.com/vi/cAsqLbqSDBg/0.jpg"
alt="Lumix Engine - new features v0.29 & v0.30"
width="640" height="480" border="0" /></a>
2017-03-03 08:08:06 +03:00
2017-04-02 00:42:23 +03:00
## vg-renderer
https://github.com/jdryg/vg-renderer#vg-renderer - A vector graphics renderer
2018-04-14 07:36:15 +03:00
for bgfx, based on ideas from both NanoVG and ImDrawList (Dear ImGUI)
![vg-renderer](https://raw.githubusercontent.com/jdryg/vg-renderer/master/img/vgrenderer_tiger.png)
2017-04-02 00:42:23 +03:00
## Zombie Safari
2017-04-14 06:14:49 +03:00
http://www.dogbytegames.com/zombie_safari.html - Do what you please in this
Open-World Offroad Driving game: explore massive landscapes, complete challenges,
smash zombies, find secret locations, unlock and upgrade cars and weapons, it's
up to you!
2017-04-14 06:15:49 +03:00
2017-07-22 19:56:23 +03:00
<a href="http://www.youtube.com/watch?feature=player_embedded&v=LSiH0lRkw8g"
target="_blank"><img src="http://img.youtube.com/vi/LSiH0lRkw8g/0.jpg"
2017-04-14 06:14:49 +03:00
alt="Zombie Safari - Official Gameplay Trailer (Android)"
width="640" height="480" border="0" /></a>
2017-07-22 19:56:23 +03:00
## Smith and Winston
http://www.smithandwinston.com/ - Smith and Winston is an exploration twin stick
shooter for PC, PS4 & XBoxOne arriving in late 2018. Smith and Winston features
a massively destructable voxel world, rapid twin stick combat, physics puzzles
and Metroid style discovery.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=Mr_L7KuiByU"
target="_blank"><img src="http://img.youtube.com/vi/Mr_L7KuiByU/0.jpg"
alt="Smith and Winston: Gameplay Video"
width="640" height="480" border="0" /></a>
2017-11-14 19:28:52 +03:00
## Football Manager 2018
http://www.footballmanager.com/ - Football Manager 2018 is a 2017 football
management simulation video game developed by Sports Interactive and published
by Sega.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=1Woak1Bl_KI"
target="_blank"><img src="http://img.youtube.com/vi/1Woak1Bl_KI/0.jpg"
alt="Match Engine | Football Manager 2018"
width="640" height="480" border="0" /></a>
2018-02-07 05:27:58 +03:00
## WonderWorlds
http://wonderworlds.me/ - WonderWorlds is a place to play thousands
of user-created levels and stories, make your own using the extensive in-game
tools and share them with whomever you want.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nY8y_dFolKo"
target="_blank"><img src="http://img.youtube.com/vi/nY8y_dFolKo/0.jpg"
alt="WonderWorlds"
width="640" height="480" border="0" /></a>
2018-05-18 18:38:57 +03:00
## mud
https://hugoam.github.io/mud-io/ - an all-purpose c++ app prototyping library,
focused towards live graphical apps and games.
![mud](https://raw.githubusercontent.com/hugoam/mud-io/master/media/14_live_gfx.png)
2018-06-08 06:19:55 +03:00
## Talking Tom Pool
https://outfit7.com/apps/talking-tom-pool/ - "Sling and match” puzzle game for
mobile devices.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=eNSI45zDEo0"
target="_blank"><img src="http://img.youtube.com/vi/eNSI45zDEo0/0.jpg"
alt="Talking Tom Pool"
width="640" height="480" border="0" /></a>
2018-07-08 20:12:12 +03:00
## GPlayEngine
https://github.com/fredakilla/GPlayEngine#gplayengine - GPlayEngine is C++
cross-platform game engine for creating 2D/3D games based on the GamePlay 3D
engine v3.0.
![](https://camo.githubusercontent.com/d89a364fb306f208ca14a58267c8303f60f0f0cf/68747470733a2f2f692e696d6775722e636f6d2f306569395932382e706e67)
2018-07-27 21:42:24 +03:00
## Off The Road
http://www.dogbytegames.com/off_the_road.html - Sandbox off-road driving
simulator.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=IUmxqAWdXvk"
target="_blank"><img src="http://img.youtube.com/vi/IUmxqAWdXvk/0.jpg"
alt="Off The Road"
width="640" height="480" border="0" /></a>
2018-11-09 18:50:47 +03:00
## Coal Burnout
https://beardsvibe.com/ - Multiplayer PVP rhythm game.
2018-12-04 07:04:08 +03:00
2018-11-09 18:50:47 +03:00
![coal-burnout](https://beardsvibe.com/scr/0l.png)
2018-12-17 20:09:32 +03:00
## My Talking Tom 2
https://outfit7.com/apps/my-talking-tom-2/ - Many mini games for mobile devices.
<a href="http://www.youtube.com/watch?feature=player_embedded&v=I0U7EQKKDjw"
target="_blank"><img src="http://img.youtube.com/vi/I0U7EQKKDjw/0.jpg"
alt="My Talking Tom 2"
width="640" height="480" border="0" /></a>
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
2018-01-01 22:16:06 +03:00
Copyright 2010-2018 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.