Stanislav
78c4539646
Added example 36-sky ( #1250 )
...
* Added example 36-sky
* Added shaders for example 36-sky.
* Fixed brackets, initialisation order and fmod issue
2017-10-03 19:50:05 -07:00
Branimir Karadžić
c6e5062067
Rebuilt shaders.
2017-10-01 23:08:08 -07:00
Branimir Karadžić
88e8009b55
Cleanup.
2017-10-01 21:57:48 -07:00
Branimir Karadžić
ed572fc5a6
Cleanup.
2017-09-30 16:25:11 -07:00
Branimir Karadžić
114b9ed10a
Cleanup.
2017-09-28 22:56:06 -07:00
Branimir Karadžić
07f5e1184c
29-debugdraw: Display intersection normal.
2017-09-28 22:52:23 -07:00
Branimir Karadžić
783db66079
Fixed AABB hit normal.
2017-09-28 21:50:11 -07:00
Branimir Karadžić
5e40a84769
Cleanup.
2017-09-27 21:52:25 -07:00
Branimir Karadžić
81716be726
Cleanup.
2017-09-26 22:50:29 -07:00
Branimir Karadžić
f541703810
Added intersection test to example-29-debugdraw.
2017-09-26 21:09:26 -07:00
Branimir Karadžić
b0ae54f14a
Cleanup.
2017-09-25 20:18:19 -07:00
Branimir Karadžić
63bff54a69
Fixed ray/cylinder intersection.
2017-09-24 23:33:08 -07:00
Branimir Karadžić
d8ec5a9a54
Cleanup.
2017-09-24 22:50:05 -07:00
Branimir Karadžić
7b94b8dcb4
Added ray/cone intersection.
2017-09-24 19:12:18 -07:00
Branimir Karadžić
b5af383cf8
Cleanup.
2017-09-23 16:27:16 -07:00
Branimir Karadžić
41b29a34a6
GL: Fixed GPU timer frequency.
2017-09-22 22:26:56 -07:00
Branimir Karadžić
4b4b1c31a6
Added perf timer for API thread.
2017-09-22 21:39:16 -07:00
attilaz
acf3db7a06
Fix sampler/texture indices for metal ( #1242 )
...
Fix for https://github.com/bkaradzic/bgfx/issues/1227 .
It gets texture slot from compiled shaders and maps it to Sampler uniform. So sampler uniform MUST be defined before using shader (shadowmap_simple has a bug with invalid uniform name).
2017-09-22 08:44:51 -07:00
attilaz
bc065cc4d0
Fix compilation on iOS ( #1240 )
2017-09-22 08:44:15 -07:00
Branimir Karadžić
8522bf95ac
Cleanup.
2017-09-17 21:17:24 -07:00
Branimir Karadžić
04c3322d93
D3D9: Fixed persist dynamic buffers after device reset.
2017-09-17 21:01:20 -07:00
Branimir Karadžić
f07a30ca0b
Added example 35-dynamic: dynamic buffers update.
2017-09-17 20:32:11 -07:00
Branimir Karadžić
2ef2e3ce81
Cleanup.
2017-09-16 21:12:02 -07:00
Branimir Karadžić
965f8c91b2
Cleanup.
2017-09-15 20:04:31 -07:00
Branimir Karadžić
634d5ef751
Fixed debug draw transform.
2017-09-12 17:58:36 -07:00
Libor Čapák
f56687ee4b
SDL_GameControllerAddMapping needs zero-terminated string ( #1234 )
2017-09-11 13:28:28 -07:00
Branimir Karadžić
e62ffe9984
Cleanup.
2017-09-10 21:36:43 -07:00
Branimir Karadžić
adeb7f5870
Cleanup.
2017-09-10 20:58:45 -07:00
Branimir Karadžić
0dd6083787
Cleanup.
2017-09-02 19:30:40 -07:00
Branimir Karadžić
6dabea4ddc
Updated embedded shaders.
2017-09-01 21:28:21 -07:00
Branimir Karadžić
50d0488b1f
07-callback: Fixed view rect.
2017-09-01 08:08:01 -07:00
attilaz
80a1006ac7
preserve window size when switching example ( #1229 )
...
I think this is more convenient on desktop, but is a must have on mobile where app is running in fullscreen and window size is set to screen size.
2017-09-01 08:01:47 -07:00
Branimir Karadžić
3aec2b89bf
Added bgfx::setName to set resource debug name.
2017-08-30 21:46:57 -07:00
Branimir Karadžić
167db342bd
Added BGFX_DEBUG_PROFILER.
2017-08-20 14:46:33 -07:00
Branimir Karadžić
f0971eda83
Removed Remotery.
2017-08-20 14:24:15 -07:00
Branimir Karadžić
21ade78454
Replaced GL internal profiler.
2017-08-20 14:20:54 -07:00
Branimir Karadžić
113ac0bc7a
Cleanup.
2017-08-19 11:03:18 -07:00
Branimir Karadžić
f59464a338
Cleanup.
2017-08-19 11:02:45 -07:00
Branimir Karadžić
083c67d471
Added multiple vertex stream example.
2017-08-19 10:58:06 -07:00
Branimir Karadžić
578ed35243
Fixed issue #1215 .
2017-08-16 20:48:26 -07:00
Branimir Karadžić
35ce2380df
Updated ImGui.
2017-08-14 22:16:52 -07:00
Branimir Karadžić
c930137c54
Internal profiler WIP.
2017-08-13 21:15:39 -07:00
Branimir Karadžić
1dce73936f
Cleanup.
2017-07-25 19:47:07 -07:00
Branimir Karadžić
87acea36e7
Cleanup.
2017-07-24 21:04:30 -07:00
Branimir Karadžić
93a2bbb6c6
Added Android file reader.
2017-07-24 21:04:24 -07:00
Branimir Karadžić
f09c886476
Cleanup.
2017-07-23 21:22:21 -07:00
Branimir Karadžić
e4147a49be
Added capabilties check to examples.
2017-07-22 21:19:14 -07:00
Branimir Karadžić
a6ac22d435
30-picking: Show error when blit is not supported.
2017-07-22 17:40:27 -07:00
Branimir Karadžić
a04066ba41
Fixed issue #1210 .
2017-07-20 20:25:48 -07:00
Branimir Karadžić
c38d76f42a
texturev: Added image orientation.
2017-07-19 22:53:48 -07:00
mncat77
db49d0ec94
Fixed issue #1211 ( #1212 )
2017-07-19 09:25:23 -07:00
Branimir Karadžić
c4525ee302
imgui: Added Cyrillic characters.
2017-07-18 22:43:50 -07:00
Branimir Karadžić
094b1c8c69
Fixed issue #1211 .
2017-07-18 20:05:00 -07:00
Branimir Karadžić
868417bbc7
Fixed issue #1210 .
2017-07-18 19:58:37 -07:00
Branimir Karadžić
7c9b2b7257
API change: Simplified destroy functions to use overload resolution.
2017-07-17 22:29:43 -07:00
Branimir Karadžić
a247d29298
Cleanup.
2017-07-17 22:14:34 -07:00
Branimir Karadžić
3e212b519f
Moving code around and renaming files.
2017-07-15 21:01:08 -07:00
Branimir Karadžić
127328d1db
Fixed build.
2017-07-15 15:37:40 -07:00
Branimir Karadžić
0bbbb585d1
Cleanup.
2017-07-15 14:32:29 -07:00
Branimir Karadžić
a274c9a6c5
Replaced BX_OVERRIDE with override.
2017-07-15 00:17:29 -07:00
Branimir Karadžić
ac33b32cb5
Fixed windows build.
2017-07-14 23:38:45 -07:00
Branimir Karadžić
b4de76c14d
Rebuilt textures.
2017-07-14 21:21:34 -07:00
Branimir Karadžić
24e796fa5b
Cleanup.
2017-07-14 00:10:33 -07:00
Branimir Karadžić
b71736dfc1
Cleanup.
2017-07-09 19:47:59 -07:00
Branimir Karadžić
c6e9ba71cf
Cleanup.
2017-07-08 16:16:50 -07:00
Branimir Karadžić
876036a310
Cleanup.
2017-07-08 15:30:32 -07:00
Branimir Karadžić
bd9d2b3f4b
Cleanup.
2017-07-08 15:28:27 -07:00
Branimir Karadžić
ee90f34a06
Cleanup.
2017-07-08 13:09:44 -07:00
Branimir Karadžić
cbc86d49b5
Cleanup.
2017-07-08 10:51:38 -07:00
Branimir Karadžić
bacba8c2c7
Cleanup.
2017-07-08 01:04:24 -07:00
Branimir Karadžić
de4fa344d3
Cleanup.
2017-07-04 16:32:35 -07:00
Branimir Karadžić
94f01a34bf
Fixed issue #1192 .
2017-07-04 13:10:27 -07:00
Branimir Karadžić
3e772ffdac
Cleanup.
2017-07-03 20:20:50 -07:00
Branimir Karadžić
de899486d1
Cleanup.
2017-07-03 19:17:32 -07:00
Branimir Karadžić
033eb8238f
Cleanup.
2017-07-02 20:19:25 -07:00
Branimir Karadžić
e5426f78f5
Added previous/next example control.
2017-07-02 20:17:21 -07:00
Branimir Karadžić
e5f228b3c9
Cleanup.
2017-07-02 11:41:37 -07:00
Branimir Karadžić
6fa7c05fb9
Cleanup.
2017-06-30 23:36:37 -07:00
Branimir Karadžić
efe4fab1f8
07-callback: Changed example to not exit.
2017-06-30 23:12:21 -07:00
Branimir Karadžić
0fad539078
Cleanup.
2017-06-29 23:19:20 -07:00
Branimir Karadžić
e9a0f266bb
Updated example control widget.
2017-06-29 22:47:16 -07:00
Branimir Karadžić
5df4969527
Fixed build.
2017-06-29 22:30:35 -07:00
Branimir Karadžić
917385f79e
Cleanup.
2017-06-29 22:23:18 -07:00
attilaz
43dff1df66
iOS retina support ( #1185 )
2017-06-28 09:51:34 -07:00
Branimir Karadžić
936d105589
Fixed some GCC7 warnings.
2017-06-27 20:26:31 -07:00
attilaz
e09c96de84
16-shadowmaps fixed when used with combined examples ( #1182 )
2017-06-27 17:43:07 -07:00
Branimir Karadžić
43fb2f6f4b
Cleanup.
2017-06-26 22:51:56 -07:00
Branimir Karadžić
6e08b6a42a
Cleanup.
2017-06-26 22:21:20 -07:00
Branimir Karadžić
b12ce15a82
Moved showExampleDialog to separate library to decouple entry and imgui.
2017-06-26 21:04:16 -07:00
Branimir Karadžić
9e737f705d
OSX: Don't exit on bgfx shutdown. Issue #1143 .
2017-06-26 14:58:35 -07:00
Branimir Karadžić
5f666a5ee2
Combined all examples. Issue #1143 .
2017-06-25 21:44:04 -07:00
Branimir Karadžić
2ccf5390b7
Added alpha to color wheel.
2017-06-23 16:01:17 -07:00
Branimir Karadžić
c55fbf378b
Cleanup.
2017-06-23 15:26:28 -07:00
Branimir Karadžić
1333161500
Deleting deprecated old-imgui calls.
2017-06-23 14:39:24 -07:00
Branimir Karadžić
b4df0d7c75
Cleanup.
2017-06-23 14:35:53 -07:00
Branimir Karadžić
8979728fed
Cleanup.
2017-06-23 14:28:44 -07:00
attilaz
e92708a5b2
18-ibl: switched to imgui ( #1178 )
2017-06-23 14:38:08 -07:00
attilaz
2bab41f251
28-wireframe: switched to imgui ( #1176 )
2017-06-23 14:36:52 -07:00
Branimir Karadžić
27569e95c6
Commenting out deprecated old-imgui API calls.
2017-06-22 21:39:13 -07:00
Branimir Karadžić
df4f4cb3b0
Cleanup.
2017-06-21 22:00:07 -07:00
Branimir Karadžić
4499b51170
30-picking: Switched to new ImGui.
2017-06-21 21:59:41 -07:00
Branimir Karadžić
793f260be1
Cleanup.
2017-06-21 20:06:01 -07:00
attilaz
9b21aa501d
27-terrain: switched to imgui ( #1173 )
2017-06-21 17:00:50 -07:00
attilaz
d2310cbc2a
19-oit: switched to imgui ( #1172 )
2017-06-21 16:59:47 -07:00
Branimir Karadžić
9f44b7e968
Cleanup.
2017-06-21 09:24:14 -07:00
attilaz
27fc44e9c4
17-drawstress: switched to imgui ( #1171 )
2017-06-20 23:54:29 -07:00
Branimir Karadžić
b83204d516
Added kExitSuccess/Failure constants.
2017-06-20 21:42:23 -07:00
Branimir Karadžić
aaaf47242c
Cleanup.
2017-06-20 21:01:59 -07:00
Branimir Karadžić
efa7984d01
Cleanup.
2017-06-20 20:56:13 -07:00
Branimir Karadžić
96ae04767c
Cleanup.
2017-06-20 20:32:02 -07:00
Branimir Karadžić
c18dcadfc6
Cleanup.
2017-06-20 20:42:46 -07:00
attilaz
b89b1459a2
14-shadowvolumes: switched to imgui ( #1169 )
2017-06-20 20:37:43 -07:00
Branimir Karadžić
236ef4b875
Fixed shader binary truncation. Issue #1170 .
2017-06-20 20:34:41 -07:00
Branimir Karadžić
35060be243
texturev: Added 3D texture support.
2017-06-20 13:31:22 -07:00
Branimir Karadžić
8bcd09a67f
Cleanup.
2017-06-18 17:06:07 -07:00
Branimir Karadžić
f84a53c071
Cleanup.
2017-06-18 16:47:37 -07:00
attilaz
9deb9dd035
16-shadowmaps: Switched to ImGui ( #1167 )
2017-06-18 16:56:29 -07:00
Branimir Karadžić
32998296ae
nbody-24: Switched to ImGui.
2017-06-17 21:01:05 -07:00
Branimir Karadžić
822f95b898
Cleanup.
2017-06-17 11:47:39 -07:00
attilaz
477e2b314a
11-fontsdf converted to dear imgui ( #1166 )
2017-06-17 11:14:44 -07:00
Branimir Karadžić
8d5ab83065
24-nbody: Switched to entry::AppI.
2017-06-16 21:33:18 -07:00
Branimir Karadžić
6572351298
Cleanup.
2017-06-16 18:46:21 -07:00
attilaz
034a91162d
callback to entry::AppI ( #1165 )
2017-06-16 13:10:37 -07:00
attilaz
ab2d8a7bcc
Vector Display to entry::AppI ( #1164 )
2017-06-16 13:10:30 -07:00
Branimir Karadžić
96f6d4f01e
13-stencil: Switching to new ImGui.
2017-06-15 20:34:26 -07:00
Branimir Karadžić
1e634c9cf5
Cleanup.
2017-06-15 11:25:05 -07:00
attilaz
dbf0bfcb35
ibl to entry::AppI ( #1161 )
2017-06-15 11:23:59 -07:00
attilaz
2d8f5e01e1
ShadowVolumes to entry::AppI ( #1160 )
2017-06-15 09:57:08 -07:00
Branimir Karadžić
9720aa8d0a
Cleanup.
2017-06-14 20:06:36 -07:00
attilaz
7fb5e91c07
shadowmaps to entry::AppI ( #1158 )
2017-06-14 20:17:10 -07:00
Branimir Karadžić
6910ddba9e
WIP: Adding more sort key modes.
2017-06-14 18:10:42 -07:00
Branimir Karadžić
596bd28446
Cleanup.
2017-06-13 22:27:22 -07:00
Branimir Karadžić
2dc7aa1a7c
Cleanup.
2017-06-13 20:17:04 -07:00
Branimir Karadžić
3fcaac24fb
Cleanup.
2017-06-13 18:42:17 -07:00
attilaz
a7d937f990
shadowmaps simple to entry::AppI ( #1157 )
2017-06-13 14:33:56 -07:00
Branimir Karadžić
30b6d07e29
Cleanup.
2017-06-12 22:43:07 -07:00
attilaz
f560bcfd55
11-fontsdf to entry::AppI ( #1155 )
2017-06-12 12:52:48 -07:00
attilaz
60fbe0a863
converted 10-font to entry::AppI ( #1154 )
2017-06-12 10:20:35 -07:00
attilaz
4e8f944d1a
stencil to entry::AppI ( #1153 )
2017-06-12 10:04:33 -07:00
Branimir Karadžić
525af7685e
Renaming CrtFile* -> File*.
2017-06-11 21:01:38 -07:00
Branimir Karadžić
b0697ec349
example-09-hdr: Switched to new ImGui.
2017-06-11 20:43:55 -07:00
Branimir Karadžić
6a6c5e3af9
Cleanup.
2017-06-10 22:31:59 -07:00
attilaz
c40c83d337
fixed imgui window position ( #1151 )
...
With SetWindowPos there was a strange flickering of the window when the user tried to grab the window. This is fixed with SetNextWindowPos.
2017-06-10 16:01:42 -07:00
Branimir Karadžić
3967d894eb
Cleanup.
2017-06-09 21:59:37 -07:00
Branimir Karadžić
07d799f72e
Renamed constants to new style.
2017-06-09 21:57:08 -07:00
Branimir Karadžić
3fbcddb4ef
Renamed constants to new style.
2017-06-09 20:08:52 -07:00
Olli Wang
ed99f83093
Fixes texture format for NanoVG framebuffer. ( #1147 )
...
* Fixes pixel format for iOS.
* Fixes texture format of nanovg framebuffer.
2017-06-04 09:53:19 -07:00
Branimir Karadžić
cf6087bdb6
Cleanup.
2017-06-03 14:02:01 -07:00
Branimir Karadžić
1e4aa3639c
12-lod: Switched to new ImGui.
2017-06-03 12:13:08 -07:00
Branimir Karadžić
b0f8c68f29
21-deferred: Switched to use new imgui.
2017-06-01 20:54:29 -07:00
Branimir Karadžić
c4f5129e84
Removed support for Native Client. https://developer.chrome.com/native-client/migration
2017-05-30 23:49:53 -07:00
Branimir Karadžić
9e8131e377
GLFW: Added missing key remappings.
2017-05-29 16:31:36 -07:00
Branimir Karadžić
83b61d99e2
Rebuilt shaders.
2017-05-29 10:44:10 -07:00
Branimir Karadžić
3bbbb4c324
Cleanup.
2017-05-29 10:43:50 -07:00
rams3s
5724020208
Fixed D3D11 error in example 08-update. ( #1145 )
2017-05-29 10:38:06 -07:00
Branimir Karadžić
993f6b5ff9
glfw: Fixed toggle fullscreen.
2017-05-25 21:13:54 -07:00
Branimir Karadžić
c0f37bc121
Fixed #1136 premultiplied alpha.
2017-05-24 21:15:08 -07:00
Branimir Karadžić
54411a2b5d
Fixed issue #1136 cont.
2017-05-24 08:55:45 -07:00
Branimir Karadžić
32c512b5c9
Merge branch 'master' of github.com:bkaradzic/bgfx
2017-05-21 10:32:41 -07:00
Branimir Karadžić
db891edaf8
Cleanup.
2017-05-21 10:32:35 -07:00
Branimir Karadžić
1e3f8e2965
Fixed issue #1136 .
2017-05-20 17:15:19 -07:00
Branimir Karadžić
68c6b46a65
Exposed vertex stream argument to API.
2017-05-14 11:48:59 -07:00
Branimir Karadžić
52c28fa531
Cleanup.
2017-05-14 10:48:51 -07:00
Branimir Karadžić
59080ad24e
Rebuilt meshes.
2017-05-09 19:51:28 -07:00
Branimir Karadžić
01a76bbdf0
Fixed texture load info.
2017-04-27 21:09:44 -07:00
Branimir Karadžić
6f224a832b
Cleanup.
2017-04-23 15:57:44 -07:00
Branimir Karadžić
3d73d0904b
shaderc: Added support for gl_VertexID/InstanceID. Issue #1062 .
2017-04-23 15:53:15 -07:00
Branimir Karadžić
c9679731a5
Renaming string functions.
2017-04-22 14:47:02 -07:00
Branimir Karadžić
c689fa3498
Cleanup.
2017-04-20 22:12:41 -07:00
Branimir Karadžić
6e9e862565
Renaming string functions.
2017-04-16 21:56:17 -07:00
Branimir Karadžić
6710ea410b
Cleanup.
2017-04-15 17:29:34 -07:00
Libor Čapák
3e832fb4bb
simple fix #1070 before proper solution ( #1116 )
2017-04-15 17:36:39 -07:00
Branimir Karadžić
9128c4f374
Fixed NanoVG.
2017-04-12 20:53:58 -07:00
Branimir Karadžić
610055fbb0
Rebuilt shaders, removed unused shaders.
2017-04-11 19:46:40 -07:00
Branimir Karadžić
b88b9b89e2
Updated ImGuizmo.
2017-04-10 21:25:05 -07:00
Branimir Karadžić
5eb69afa21
31-rsm: Switched to new ImGui.
2017-04-09 19:40:16 -07:00
Branimir Karadžić
9b218c9644
Cleanup.
2017-04-05 20:18:59 -07:00
Branimir Karadžić
42f6fe1430
33-pom: Fixed shaders.
2017-04-04 22:41:21 -07:00
Branimir Karadžić
8ca270a449
33-pom: Added screenshot.
2017-04-04 20:45:11 -07:00
Branimir Karadžić
25d7bf27ff
Cleanup.
2017-04-04 20:10:57 -07:00
Branimir Karadžić
42aa94504e
33-pom: Built shaders and assets.
2017-04-04 19:47:18 -07:00
Apoorva Joshi
c50cc8493f
Add parallax occlusion mapping example ( #1104 )
...
* Added example 33-pom
* Fixed warning in 33-pom example on Windows
* Deleted unused image files
* Deleted runtime textures and shaders
2017-04-04 09:52:08 -07:00
Branimir Karadžić
8ce85d2462
Added bimg dependency.
2017-04-03 22:42:27 -07:00
Branimir Karadžić
8b94c13e32
shaderc: Parse in/out correctly.
2017-04-03 17:53:14 -07:00
Branimir Karadžić
e492eb5132
Image code cleanup, preparing for split into new lib.
2017-04-01 14:54:18 -07:00
Branimir Karadžić
8499319009
Cleanup.
2017-03-31 21:01:08 -07:00
Branimir Karadžić
452cf95df5
Cleanup.
2017-03-30 23:39:35 -07:00
Branimir Karadžić
ab42f6fdd8
Fixed reading corrupted PNG.
2017-03-28 17:34:52 -07:00
Branimir Karadžić
0aa79d3ac4
Cleanup.
2017-03-25 21:04:58 -07:00
Olli Wang
b761d1240c
Allows to set view id of NanoVG’s framebuffer manually.
...
This commit changes the `nvgluCreateFramebuffer()` function to not assign a view id automatically as it would easily reach the limit of `uint8_t`. Instead, a new `nvgluSetViewFramebuffer()` function is created to allow users to assign the view id manually as mentioned in #1095 .
2017-03-26 11:03:52 +08:00
Branimir Karadžić
837d92159a
Rebuilt shaders.
2017-03-24 20:29:24 -07:00
jdryg
b23af90947
nvgRenderUpdateTexture() was reading past the end of the data buffer.
2017-03-24 11:59:16 +02:00
Branimir Karadžić
d3803c0b44
Set correct view for ImGuizmo.
2017-03-23 17:51:58 -07:00
Olli Wang
6c02e359bd
Updates NanoVG to the latest commit.
...
This commit pulls more changes that was not included in #1088 .
2017-03-24 00:14:01 +08:00
Branimir Karadžić
7f847d9af0
Cleanup.
2017-03-22 19:19:35 -07:00
Olli Wang
4bdaf42ccf
Updates NanoVG to the latest commit.
...
This commit updates NanoVG's bgfx backend to match the original NanoVG's latest commit, which has significant changes about composite operation implementation as mentioned in pull request https://github.com/memononen/nanovg/pull/312 .
2017-03-23 00:23:20 +08:00
Branimir Karadžić
bf57d98a79
Updated shaders.
2017-03-14 20:43:08 -07:00
Branimir Karadžić
cd7e815020
Merge branch 'master' of github.com:bkaradzic/bgfx
2017-03-14 20:41:42 -07:00
Branimir Karadžić
29079cf890
Fixed issue #1077 .
2017-03-14 20:41:31 -07:00
Dario Manesku
35323725e9
Don't force stb image loader to use RGBA8.
2017-03-14 14:28:11 +01:00