bgfx——跨平台渲染库

跨平台、图形 API 无关、“自带引擎/框架”风格的渲染库。(Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.)

Github stars Tracking Chart

bgfx ——跨平台渲染库

它是什么?

跨平台、图形 API 无关、“自带引擎/框架”风格的渲染库。

支持的渲染后端:

  • Direct3D 9
  • Direct3D 11
  • Direct3D 12(WIP)
  • Metal
  • OpenGL 2.1
  • OpenGL 3.1 +
  • OpenGL ES 2
  • OpenGL ES 3.1
  • WebGL 1.0
  • WebGL 2.0

支持的平台:

  • Android(14+,ARM,x86,MIPS)
  • asm.js/Emscripten(1.25.0)
  • FreeBSD
  • iOS(iPhone,iPad,AppleTV)
  • Linux
  • MIPS Creator CI20
  • OSX(10.9+)
  • 树莓派
  • SteamLink
  • Windows(XP,Vista,7,8,10)
  • UWP(Universal Windows,Xbox One)

支持的编译器:

  • Clang 3.3及以上版本
  • GCC 4.6及以上版本
  • VS2015及以上

语言:

构建

示例

API参考资料

工具

谁在使用它?

Airmech

http://airmech.com/ AirMech 是由 Carbon Games 开发和发布的免费的未来动作即时战略视频游戏。

cmftStudio

https://github.com/dariomanesku/cmftStudio cmftStudio——立方体贴图过滤工具。

Crown(皇冠)

https://github.com/dbartolini/crown Crown(皇冠)是一个通用的数据驱动游戏引擎,从头开始编写,秉承着简约和面向数据的设计理念。

越野传说2(Offroad Legends 2) http://www.dogbytegames.com/ Dogbyte Games是一家专注于赛车游戏的独立移动开发者工作室。

Torque6

https://github.com/andr3wmac/Torque6 Torque 6 是 MIT 授权的 3D 引擎,松散地基于 Torque2D。既不是 Torque2D 也不是 Torque3D,它是原 Torque Engine 的6阶导数。

Lumix Engine

https://github.com/nem0/LumixEngine LumixEngine是 MIT 授权的3D引擎。 主要目标是性能和类似Unity的可用性。

开普勒轨道(Kepler Orbits) https://github.com/podgorskiy/KeplerOrbits KeplerOrbits——利用天体轨道元素计算天体位置的工具。 网络演示

CETech

https://github.com/cyberegoorg/cetech ——CETech 是数据驱动的游戏引擎和工具箱,灵感来自 BitsquidStingray 引擎。

ioquake3

https://github.com/jpcy/ioq3-renderer-bgfx——用 C++ 编写的 ioquake3 渲染器,使用 bgfx 支持多个渲染 api。

更多信息请参加项目资源库。

Overview

Name With Ownerbkaradzic/bgfx
Primary LanguageC++
Program languageC++ (Language Count: 13)
PlatformCross-platform, Android, BSD, iOS, Linux, Mac, Raspbian, Windows, Xbox, MIPS Creator CI20, Steam Link, asm.js/Emscripten
License:BSD 2-Clause "Simplified" License
Release Count0
Created At2012-04-04 03:39:04
Pushed At2024-05-05 06:59:03
Last Commit At2024-05-04 23:58:36
Stargazers Count14.3k
Watchers Count481
Fork Count1.9k
Commits Count8.7k
Has Issues Enabled
Issues Count1528
Issue Open Count273
Pull Requests Count1102
Pull Requests Open Count19
Pull Requests Close Count284
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

bgfx - Cross-platform rendering library

Build Status
Build status
License
Join the chat at https://gitter.im/bkaradzic/bgfx

What is it?

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style
rendering library.

Supported rendering backends:

  • Direct3D 9
  • Direct3D 11
  • Direct3D 12
  • Metal
  • OpenGL 2.1
  • OpenGL 3.1+
  • OpenGL ES 2
  • OpenGL ES 3.1
  • Vulkan
  • WebGL 1.0
  • WebGL 2.0

Supported platforms:

  • Android (14+, ARM, x86, MIPS)
  • asm.js/Emscripten (1.25.0)
  • FreeBSD
  • iOS (iPhone, iPad, AppleTV)
  • Linux
  • MIPS Creator CI20
  • OSX (10.12+)
  • RaspberryPi
  • SteamLink
  • Windows (XP, Vista, 7, 8, 10)
  • UWP (Universal Windows, Xbox One)

Supported compilers:

  • Clang 3.3 and above
  • GCC 5 and above
  • VS2017 and above

Languages:

Building

Getting involved

Examples

API Reference

Tools

Who is using it? #madewithbgfx

Airmech

http://airmech.com/ AirMech is a free-to-play futuristic action real-time
strategy video game developed and published by Carbon Games.
airmech

cmftStudio

https://github.com/dariomanesku/cmftStudio cmftStudio - cubemap filtering tool.
cmftStudio

Crown

https://github.com/dbartolini/crown Crown is a general purpose data-driven game
engine, written from scratch with a minimalistic and data-oriented design
philosophy in mind.
Crown screenshot

Offroad Legends 2

http://www.dogbytegames.com/ Dogbyte Games is an indie mobile developer studio
focusing on racing games.
ios

Torque6

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.

Kepler Orbits

https://github.com/podgorskiy/KeplerOrbits KeplerOrbits - Tool that calculates
positions of celestial bodies using their orbital elements. Web Demo

CETech

https://github.com/cyberegoorg/cetech - CETech is Data-Driven game engine and
toolbox inspired by Bitsquid/Stingray engine.
CETech screenshot

ioquake3

https://github.com/jpcy/ioq3-renderer-bgfx - A renderer for ioquake3 written in
C++ and using bgfx to support multiple rendering APIs.
ioq3-renderer-bgfx screenshot

DLS

http://makingartstudios.itch.io/dls - DLS the digital logic simulator game.

http://dls.makingartstudios.com/sandbox/ - DLS: The Sandbox
dls-sandbox-screenshot

MAME

https://github.com/mamedev/mame MAME - Multiple Arcade Machine Emulator
Try MAME in Browser!
mame-screenshot

Blackshift

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
crack.

Real-Time Polygonal-Light Shading with Linearly Transformed Cosines

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

Dead Venture

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.

REGoth

https://github.com/degenerated1123/REGoth - Open source reimplementation of the
zEngine, used by the game "Gothic" and "Gothic II".

Browser demo: http://gothic-dx11.de/gothic-js/REGoth.html

Ethereal Engine

https://github.com/volcoma/EtherealEngine EtherealEngine C++ Game Engine and
WYSIWYG Editor
EtherealEngine screenshot

Go Rally

http://gorallygame.com/ - Go Rally is top-down rally game with a career mode,
multiplayer time challenges, and a track creator.

vg-renderer

https://github.com/jdryg/vg-renderer#vg-renderer - A vector graphics renderer
for bgfx, based on ideas from both NanoVG and ImDrawList (Dear ImGUI)
vg-renderer

Zombie Safari

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!

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.

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.

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.

two-io / mud

https://hugoam.github.io/two-io/ - an all-purpose c++ app prototyping library,
focused towards live graphical apps and games.

mud

Talking Tom Pool

https://outfit7.com/apps/talking-tom-pool/ - "Sling and match” puzzle game for
mobile devices.

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.

Off The Road

http://www.dogbytegames.com/off_the_road.html - Sandbox off-road driving
simulator.

Coal Burnout

https://beardsvibe.com/ - Multiplayer PVP rhythm game.

coal-burnout

My Talking Tom 2

https://outfit7.com/apps/my-talking-tom-2/ - Many mini games for mobile devices.

NeoAxis Engine

https://www.neoaxis.com/ - Versatile 3D project development environment.

neoaxis-engine

xatlas

https://github.com/jpcy/xatlas#xatlas - Mesh parameterization library

xatlas

Heroes of Hammerwatch

https://store.steampowered.com/app/677120/Heroes_of_Hammerwatch/ Heroes of Hammerwatch
is a rogue-lite action-adventure game set in the same universe as Hammerwatch.
Encounter endless hordes of enemies, traps, puzzles, secrets and lots of loot,
as you battle your way through procedurally generated levels to reach the top
of the Forsaken Spire.

Babylon Native

Build cross-platform native applications with the power of the Babylon.js
JavaScript framework.

Babylon Native

Nira

Instantly load and view assets on any device. All you need is a web browser.

Nira
SIGGRAPH 2019: Project Nira: Instant Interactive Real-Time Access to Multi-Gigabyte Sized 3D Assets on Any Device

openblack

An open source reimplementation of the game Black & White (2001).

OpenBlack

openblack

License (BSD 2-clause)

Copyright 2010-2020 Branimir Karadzic

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.

   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.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
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.
To the top