bgfx/README.md

161 lines
6.9 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-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
Supported HMD:
* OculusVR (0.4.2+)
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-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
* vs2008 and above
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-07-31 09:02:21 +03:00
* [Java language API bindings](https://github.com/enleeten/twilight-bgfx)
2015-12-23 12:40:38 +03:00
* [Haskell language API bindings](https://github.com/haskell-game/bgfx)
2016-01-14 20:50:31 +03:00
* [Rust language API bindings](https://github.com/rhoot/bgfx-rs)
2014-06-15 22:32:15 +04:00
2016-01-20 07:26:30 +03:00
Build
-----
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
2013-06-23 04: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 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
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
2014-10-18 20:24:13 +04:00
https://github.com/emoon/ProDBG - ProDBG is a new debugger under development
2014-10-18 20:27:06 +04:00
that will support a variety of targets and operating systems. Currently it's in
2014-10-18 20:24:13 +04:00
very early development and primary focusing on Mac as primary target. This is
how it currently looks.
2015-10-20 07:40:15 +03:00
![ProDBG_screenshot](https://raw.githubusercontent.com/emoon/ProDBG/master/data/screens/mac_screenshot.png)
2014-10-18 20:21:50 +04:00
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
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
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 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.
![LumixEngine screenshot](https://cloud.githubusercontent.com/assets/153526/10109455/450c51be-63c7-11e5-9c87-96d9d00efe02.png)
2015-08-17 07:42:25 +03:00
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)
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)
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-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)
2015-08-12 08:11:24 +03:00
[Building](https://bkaradzic.github.io/bgfx/build.html)
-------------------------------------------------------
2015-08-12 08:08:07 +03:00
2015-08-12 08:11:24 +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)
----------------------------------------------------
[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
2016-01-01 22:48:32 +03:00
Copyright 2010-2016 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.