bgfx/README.md

163 lines
6.9 KiB
Markdown
Raw Normal View History

2014-03-15 15:35:45 -04:00
[bgfx](https://github.com/bkaradzic/bgfx) - Cross-platform rendering library
============================================================================
2013-02-28 02:30:39 -05:00
2016-01-19 23:26:30 -05:00
[![Build Status](https://travis-ci.org/bkaradzic/bgfx.svg?branch=master)](https://travis-ci.org/bkaradzic/bgfx)
2016-01-22 00:05:36 -05:00
[![Build status](https://ci.appveyor.com/api/projects/status/ipa3ojgeaet1oko5?svg=true)](https://ci.appveyor.com/project/bkaradzic/bgfx)
2016-01-19 23:26:30 -05:00
2015-08-12 01:11:24 -04:00
[What is it?](https://bkaradzic.github.io/bgfx/overview.html)
-------------------------------------------------------------
2013-02-22 00:07:31 -05:00
2015-03-19 01:24:53 -04:00
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style
rendering library.
2013-02-22 00:07:31 -05:00
Supported rendering backends:
2013-10-23 23:34:31 -04:00
* Direct3D 9
* Direct3D 11
2015-07-29 23:28:56 -04:00
* Direct3D 12 (WIP)
2015-08-14 15:57:41 -04:00
* Metal (WIP)
2013-02-22 00:07:31 -05:00
* OpenGL 2.1
2014-09-05 12:23:37 -04:00
* OpenGL 3.1+
2013-02-22 00:07:31 -05:00
* OpenGL ES 2
2014-08-24 23:40:58 -04:00
* OpenGL ES 3.1
2014-11-20 12:43:42 -05:00
* WebGL 1.0
Supported HMD:
* OculusVR (0.4.2+)
2013-02-22 00:07:31 -05:00
2014-10-19 01:16:02 -04:00
Supported platforms:
2013-02-22 00:07:31 -05:00
2014-11-20 12:43:42 -05:00
* Android (14+, ARM, x86, MIPS)
2014-10-19 01:16:02 -04:00
* asm.js/Emscripten (1.25.0)
2015-04-10 11:37:57 -04:00
* FreeBSD
2015-10-12 21:08:20 -04:00
* iOS (iPhone, iPad, AppleTV)
2016-02-01 23:28:12 -05:00
* Linux
2015-10-12 21:08:20 -04:00
* MIPS Creator CI20
2014-11-20 12:43:42 -05:00
* Native Client (PPAPI 37+, ARM, x86, x64, PNaCl)
2015-10-12 21:08:20 -04:00
* OSX (10.9+)
2014-08-24 23:40:58 -04:00
* RaspberryPi
2016-02-01 23:28:12 -05:00
* Windows (XP, Vista, 7, 8, 10)
2014-11-15 18:48:24 -05:00
* WinRT (WinPhone 8.0+)
2013-02-22 00:07:31 -05:00
2014-10-19 01:16:02 -04:00
Supported compilers:
2014-10-18 19:04:42 -04:00
* Clang 3.3 and above
* GCC 4.6 and above
* vs2008 and above
2014-06-15 14:32:15 -04:00
Languages:
2015-07-28 02:10:43 -04:00
* [C/C++ API documentation](https://bkaradzic.github.io/bgfx/bgfx.html)
2014-06-21 21:18:26 -04:00
* [C#/VB/F# language API bindings](https://github.com/MikePopoloski/SharpBgfx)
2014-11-05 11:34:22 -05:00
* [D language API bindings](https://github.com/DerelictOrg/DerelictBgfx)
2014-06-21 21:18:26 -04:00
* [Go language API bindings](https://github.com/james4k/go-bgfx)
2015-07-31 02:02:21 -04:00
* [Java language API bindings](https://github.com/enleeten/twilight-bgfx)
2015-12-23 04:40:38 -05:00
* [Haskell language API bindings](https://github.com/haskell-game/bgfx)
2016-01-14 12:50:31 -05:00
* [Rust language API bindings](https://github.com/rhoot/bgfx-rs)
2014-06-15 14:32:15 -04:00
2016-01-19 23:26:30 -05:00
Build
-----
2016-01-19 22:58:06 -05:00
2016-01-22 00:05:36 -05:00
- AppVeyor https://ci.appveyor.com/project/bkaradzic/bgfx
2016-01-19 23:26:30 -05:00
- TravisCI https://travis-ci.org/bkaradzic/bgfx
2013-06-22 20:51:59 -04:00
Who is using it?
----------------
http://airmech.com/ AirMech is a free-to-play futuristic action real-time
strategy video game developed and published by Carbon Games.
2014-10-18 00:44:19 -04:00
https://github.com/dariomanesku/cmftStudio cmftStudio - cubemap filtering tool.
2014-10-18 00:52:25 -04:00
![cmftStudio](https://github.com/dariomanesku/cmftStudio/raw/master/screenshots/cmftStudio_small.jpg)
2014-09-05 12: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 14:20:43 -05:00
philosophy in mind.
![Crown screenshot](https://raw.githubusercontent.com/taylor001/crown/master/docs/shots/level-editor.png)
2014-09-05 12:23:37 -04:00
2014-10-18 12:24:13 -04:00
https://github.com/emoon/ProDBG - ProDBG is a new debugger under development
2014-10-18 12:27:06 -04:00
that will support a variety of targets and operating systems. Currently it's in
2014-10-18 12:24:13 -04:00
very early development and primary focusing on Mac as primary target. This is
how it currently looks.
2015-10-20 00:40:15 -04:00
![ProDBG_screenshot](https://raw.githubusercontent.com/emoon/ProDBG/master/data/screens/mac_screenshot.png)
2014-10-18 12:21:50 -04:00
2015-02-06 12:03:42 -05:00
http://www.dogbytegames.com/ Dogbyte Games is an indie mobile developer studio
2015-02-19 11:57:48 -05:00
focusing on racing games.
![ios](http://www.dogbytegames.com/bgfx/offroadlegends2_bgfx_ipad2.jpg)
2015-02-06 12:03:42 -05:00
2015-03-08 14:07:07 -04: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 00:44:50 -04: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 14:07:07 -04: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.
2015-08-17 00:44:50 -04:00
https://github.com/nem0/LumixEngine LumixEngine is a MIT licensed 3D engine.
2015-10-20 00:40:15 -04:00
The main goal is performance and Unity-like usability.
![LumixEngine screenshot](https://cloud.githubusercontent.com/assets/153526/10109455/450c51be-63c7-11e5-9c87-96d9d00efe02.png)
2015-08-17 00:42:25 -04:00
2015-12-02 21:34:16 -05: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)
2015-12-10 02:49:07 -05: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)
https://github.com/jpcy/ioq3-renderer-bgfx - A renderer for ioquake3 written in
2015-12-10 23:27:29 -05:00
C++ and using bgfx to support multiple rendering APIs.
![ioq3-renderer-bgfx screenshot](https://camo.githubusercontent.com/052aa40c05120e56306294d3a1bb5f99f97de8c8/687474703a2f2f692e696d6775722e636f6d2f64364f6856594b2e6a7067)
2015-12-10 02:49:07 -05:00
2016-01-24 18:32:03 -05:00
http://makingartstudios.itch.io/dls - DLS the digital logic simulator game.
2016-01-24 18:29:37 -05:00
![dls-screenshot](https://img.itch.io/aW1hZ2UvMzk3MTgvMTc5MjQ4LnBuZw==/original/kA%2FQPb.png)
2016-02-07 22:01:48 -05:00
https://github.com/mamedev/mame MAME - Multiple Arcade Machine Emulator
2015-08-12 01:11:24 -04:00
[Building](https://bkaradzic.github.io/bgfx/build.html)
-------------------------------------------------------
2015-08-12 01:08:07 -04:00
2015-08-12 01:11:24 -04: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)
----------------------------------------------------
[License (BSD 2-clause)](https://bkaradzic.github.io/bgfx/license.html)
-----------------------------------------------------------------------
2015-08-12 01:08:07 -04:00
2015-08-17 00:14:03 -04:00
<a href="http://opensource.org/licenses/BSD-2-Clause" target="_blank">
2015-08-16 14:23:18 -04:00
<img align="right" src="http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png">
2015-08-17 00:14:03 -04:00
</a>
2015-08-16 14:23:18 -04:00
2016-01-01 14:48:32 -05:00
Copyright 2010-2016 Branimir Karadzic. All rights reserved.
2015-08-12 01:08:07 -04: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 14:25:16 -04: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 01:08:07 -04: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 14:25:16 -04: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.