Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Stephen Hill
e0e772f71c
Fixed repeat typo: lightning => lighting
2015-11-29 18:39:16 -05:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -07:00
Branimir Karadžić
d1f99896ec
Moved public header files into bgfx subdirectory.
...
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Branimir Karadžić
4018a4b690
imgui: Added handling middle mouse button.
2015-08-25 22:59:20 -07:00
Branimir Karadžić
1fa85ccf27
Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats.
2015-07-22 18:05:11 -07:00
Branimir Karadžić
921a315c4d
Cleanup.
2015-07-16 20:28:43 -07:00
ocornut
eccbae09b1
Fixes for ocornut-imgui integrations: mouse wheel, render callbacks
2015-06-10 08:53:50 -06:00
Branimir Karadžić
9ebcfab447
Cleanup.
2015-06-07 21:28:36 -07:00
Matthew Endsley
1e604e8f38
VR: Add device resolution to HMD. Init at startup.
...
BREAKING: bgfx::getHMD() now returns a valid pointer
if the VR runtime was initialized. This is different
from existing behavior where getHMD returned NULL until
a bgfx::reset(... BGFX_RESET_HMD) was issued. Applications
must now check HMD::flags for the current state of the VR
runtime. The following code has the code change required:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd)`
becomes:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd && 0 != (hmd->flags & BGFX_HMD_RENDRERING))
{
// rendering logic
}`
See the updated examples for details.
This allows applications to create the appropriately
sized back buffer for the HMD device by using the new device
resolution fields HMD::deviceHeight and HMD::deviceWidth.
These values report the pixel resolution of the attached
HMD hardware.
This also allows applications to query the reported HMD
resolution immediately after bgfx::init. This prevents
the device from being cycled which generates rendring
artifacts on startup - namely flashing back to a black
screen and reseting the Health+Warning disaply.
This involves initialization the ovrHmd device on
initialization, but deferring rendering until
postReset has been called. This adds an addiional
memory overhead of 32k to builds defining BGFX_CONFIG_USE_OVR.
The overhead for current builds is ~1.9MB for calls to
ovr_Initialize, so the additional overhead is pretty
trivial (+1.8%)
2015-06-03 15:39:09 -07:00
Branimir Karadžić
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
9d91d3bbbc
Reversed instance data bindings. Issue #309 .
2015-04-15 10:37:00 -07:00
Branimir Karadžić
1e8051fd00
Fixed variable shadowing.
2015-04-04 19:10:35 -07:00
Branimir Karadžić
250777287f
Fixed variable shadowing.
2015-04-04 16:40:28 -07:00
Branimir Karadžić
a34e6e7965
Fixed VS2015 warnings.
2015-03-29 11:47:32 -07:00
Branimir Karadžić
aea6f9daf3
Cleanup.
2015-02-16 22:05:19 -08:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Branimir Karadžić
6506add5a9
Added embedded font to imgui.
2015-01-23 23:02:56 -08:00
Branimir Karadžić
bbeb0a3ffe
Updated to latest ocornut imgui.
2015-01-22 21:01:09 -08:00
Branimir Karadžić
f6fe2de941
Cleanup.
2015-01-20 21:41:51 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
73a227cefd
SDL2: Added gamepad support.
2014-12-15 20:58:54 -08:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadžić
208a348ab2
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
2014-10-25 18:07:51 -07:00
Branimir Karadžić
1a765e9646
Cleanup.
2014-10-14 21:36:05 -07:00
Branimir Karadžić
7fa124eeab
Fixed alignment macro.
2014-10-13 21:31:18 -07:00
Dario Manesku
48ce6bb5ff
Added custom mtxProj() call to properly handle OGL NDC.
2014-10-06 07:25:33 +02:00
Dario Manesku
e051ed4feb
Removed bgfx::*Mask() API.
2014-09-27 20:43:28 +02:00
Branimir Karadžić
eec4ae9847
Fixing paths.
2014-09-10 21:48:08 -07:00
m.milanovic@levi9.com
5aaddfccb9
Use tinystl/unordered_map instead of c++11 only implementation
2014-08-22 16:35:30 +02:00
Dario Manesku
b7177c9f5e
Cleanup.
2014-08-18 21:26:08 +01:00
Dario Manesku
7ec6e06fee
Removed flipV from 14-shadowvolumes example.
2014-08-18 20:18:48 +01:00
Branimir Karadžić
66890595b9
Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders.
2014-08-17 17:20:15 -07:00
Branimir Karadžić
d33717ef48
Moved mesh files to assets directory.
2014-08-16 20:27:36 -07:00
Branimir Karadžić
2b147081c4
Changed imguiSlider argument.
2014-06-29 21:53:23 -07:00
Branimir Karadžić
02e549bfec
Moved fpumath to bx.
2014-05-26 19:31:37 -07:00
bkaradzic
e29be87bd2
Cleanup.
2014-05-14 20:57:37 -07:00
Branimir Karadžić
bba2ef8031
Added predefined uniforms for inverted view/proj/viewproj matrices.
...
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
ac925b00c8
Cleanup.
2014-05-03 15:18:28 -07:00
Branimir Karadžić
27f12fb738
Cleanup.
2014-04-16 19:51:25 -07:00
Branimir Karadžić
85c5172a29
Changed GLES macro to use version number.
2014-03-29 23:12:15 -07:00
Branimir Karadžić
f436f79c10
Simplified API, removed difference between vertex and fragment shaders.
2014-03-29 19:42:57 -07:00
Branimir Karadžić
beb73905d0
Fixed 14-shadowvolumes depth texture flag to be buffer only.
2014-03-09 21:21:53 -07:00
Branimir Karadžić
538ef12446
Free imgui font memory after init.
2014-02-25 20:19:13 -08:00
Dario Manesku
1f58f4b874
Fixed halfTexel problem on dx9.
2014-02-14 07:51:34 +01:00
bkaradzic
877621105d
Added MRT support.
2014-02-05 23:07:11 -08:00
Dario Manesku
e27d75a690
Small fix.
2014-01-30 19:44:37 +01:00
Dario Manesku
de1d5e48ed
Added free look camera for 14-shadowvolumes.
2014-01-30 18:20:06 +01:00
Dario Manesku
658552be7e
Copyright dates updated.
2014-01-13 23:45:18 +01:00
bkaradzic
d1117f34b5
Added support for different RT depth stencil formats.
2013-12-29 11:43:44 -08:00