|
|
@@ -44,85 +44,100 @@ examples your current directory should be examples/runtime.
|
|
|
|
|
|
<bgfx_path>/examples/runtime $ ../../.build/<config>/bin/example-00-helloworldDebug
|
|
|
|
|
|
-### 00-helloworld
|
|
|
+### [00-helloworld](https://github.com/bkaradzic/bgfx/blob/master/examples/00-helloworld)
|
|
|
+
|
|
|
Initialization and debug text.
|
|
|
|
|
|
-### 01-cubes
|
|
|
+### [01-cubes](https://github.com/bkaradzic/bgfx/blob/master/examples/01-cubes/cubes.cpp)
|
|
|
+
|
|
|
Rendering simple static mesh.
|
|
|
|
|
|

|
|
|
|
|
|
-### 02-metaballs
|
|
|
+### [02-metaballs](https://github.com/bkaradzic/bgfx/blob/master/examples/02-metaballs)
|
|
|
+
|
|
|
Rendering with transient buffers and embedding shaders.
|
|
|
|
|
|

|
|
|
|
|
|
-### 03-raymarch
|
|
|
+### [03-raymarch](https://github.com/bkaradzic/bgfx/blob/master/examples/03-raymarch)
|
|
|
+
|
|
|
Updating shader uniforms.
|
|
|
|
|
|

|
|
|
|
|
|
-### 04-mesh
|
|
|
+### [04-mesh](https://github.com/bkaradzic/bgfx/blob/master/examples/04-mesh)
|
|
|
+
|
|
|
Loading meshes.
|
|
|
|
|
|

|
|
|
|
|
|
-### 05-instancing
|
|
|
+### [05-instancing](https://github.com/bkaradzic/bgfx/blob/master/examples/05-instancing)
|
|
|
+
|
|
|
Geometry instancing.
|
|
|
|
|
|

|
|
|
|
|
|
-### 06-bump
|
|
|
+### [06-bump](https://github.com/bkaradzic/bgfx/blob/master/examples/06-bump)
|
|
|
+
|
|
|
Loading textures.
|
|
|
|
|
|

|
|
|
|
|
|
-### 07-callback
|
|
|
+### [07-callback](https://github.com/bkaradzic/bgfx/blob/master/examples/07-callback)
|
|
|
+
|
|
|
Implementing application specific callbacks for taking screen shots, caching
|
|
|
OpenGL binary shaders, and video capture.
|
|
|
|
|
|
-### 08-update
|
|
|
+### [08-update](https://github.com/bkaradzic/bgfx/blob/master/examples/08-update)
|
|
|
+
|
|
|
Updating textures.
|
|
|
|
|
|
-### 09-hdr
|
|
|
+### [09-hdr](https://github.com/bkaradzic/bgfx/tree/master/examples/09-hdr)
|
|
|
Using multiple views and render targets.
|
|
|
|
|
|

|
|
|
|
|
|
-### 10-font
|
|
|
+### [10-font](https://github.com/bkaradzic/bgfx/tree/master/examples/10-font)
|
|
|
+
|
|
|
Use the font system to display text and styled text.
|
|
|
|
|
|

|
|
|
|
|
|
-### 11-fontsdf
|
|
|
+### [11-fontsdf](https://github.com/bkaradzic/bgfx/tree/master/examples/11-fontsdf)
|
|
|
+
|
|
|
Use a single distance field font to render text of various size.
|
|
|
|
|
|

|
|
|
|
|
|
-### 12-lod
|
|
|
+### [12-lod](https://github.com/bkaradzic/bgfx/tree/master/examples/12-lod)
|
|
|
+
|
|
|
Mesh LOD transitions.
|
|
|
|
|
|

|
|
|
|
|
|
-### 13-stencil
|
|
|
+### [13-stencil](https://github.com/bkaradzic/bgfx/tree/master/examples/13-stencil)
|
|
|
+
|
|
|
Stencil reflections and shadows.
|
|
|
|
|
|

|
|
|
|
|
|
-### 14-shadowvolumes
|
|
|
+### [14-shadowvolumes](https://github.com/bkaradzic/bgfx/tree/master/examples/14-shadowvolumes)
|
|
|
+
|
|
|
Shadow volumes.
|
|
|
|
|
|

|
|
|
|
|
|
-### 15-shadowmaps-simple
|
|
|
+### [15-shadowmaps-simple](https://github.com/bkaradzic/bgfx/tree/master/examples/15-shadowmaps-simple)
|
|
|
|
|
|

|
|
|
|
|
|
-### 16-shadowmaps
|
|
|
+### [16-shadowmaps](https://github.com/bkaradzic/bgfx/tree/master/examples/16-shadowmaps)
|
|
|
|
|
|

|
|
|
|
|
|
-### 17-drawstress
|
|
|
+### [17-drawstress](https://github.com/bkaradzic/bgfx/blob/master/examples/17-drawstress)
|
|
|
+
|
|
|
Draw stress is CPU stress test to show what is the maximimum number of draw
|
|
|
calls while maintaining 60Hz frame rate. bgfx currently has limit of maximum 64K
|
|
|
draw calls per frame.
|
|
|
@@ -155,7 +170,8 @@ draw calls per frame.
|
|
|
| Xperia Z | ES2 | Adreno320 | GCC | ARM | Android | 11 | 1331 |
|
|
|
| i7-920 2.66 | ES2-Mali | GTX650Ti | VS2008 | x86 | Windows7 | 6 | 216 |
|
|
|
|
|
|
-### 18-ibl
|
|
|
+### [18-ibl](https://github.com/bkaradzic/bgfx/tree/master/examples/18-ibl)
|
|
|
+
|
|
|
Image based lighting.
|
|
|
|
|
|

|