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ć
1e4aa3639c
12-lod: Switched to new ImGui.
2017-06-03 12:13:08 -07:00
Branimir Karadžić
5375aa5a03
Fixed warnings.
2017-03-12 18:25:23 -07:00
Branimir Karadžić
7c16314f6f
Cleanup.
2017-03-11 22:17:34 -08:00
Branimir Karadžić
d96225a1f0
Fixing projection matrix in examples.
2017-02-22 22:26:39 -08:00
Branimir Karadžić
b99ebb9535
Cleanup.
2017-02-08 19:55:31 -08:00
Brian Harris
ffd3771a09
Updated makefiles to build spirv ( #1025 )
2017-01-20 09:29:09 -08:00
Branimir Karadžić
b9b8a6e871
Cleanup.
2017-01-04 08:34:25 -08:00
Branimir Karadžić
c98be90bf5
WIP: Texture array support.
2016-08-19 21:05:37 -07:00
Branimir Karadžić
a94089e29f
Added simple texture viewer tool.
2016-04-21 22:12:35 -07:00
Krzysztof Kondrak
76a46af418
use separate projection matrices for left/right eyes in HMD demos
2016-04-04 21:29:36 +02:00
Krzysztof Kondrak
bea6e81d12
OculusVR: updated to SDK 1.3
2016-04-02 11:41:40 +02:00
Branimir Karadžić
086285a3e2
Cleanup.
2016-03-06 15:29:22 -08:00
Branimir Karadžić
861a63bf2e
Updated makefiles.
2016-02-29 19:58:17 -08:00
Branimir Karadžić
4bb2b623d3
Happy New Year!
2016-01-01 00:11:04 -08:00
Branimir Karadžić
1179f3a79b
Cleanup.
2015-10-24 22:53:26 -07:00
Branimir Karadžić
69fd07a590
Rebuilt shaders.
2015-10-24 22:47:24 -07:00
Branimir Karadžić
f47a26dcfa
Cleanup.
2015-10-24 22:34:11 -07:00
Branimir Karadžić
1c51d81006
Cleanup.
2015-10-23 20:52:22 -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
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ć
0490fbcd1e
Fixed more variable shadowing warnings.
2015-03-30 14:38:16 -07: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ć
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadzic
d0a89ff95d
Removed unused headers.
2014-10-17 22:52:14 -07:00
Branimir Karadžić
eec4ae9847
Fixing paths.
2014-09-10 21:48:08 -07: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
Branimir Karadžić
65cd3169db
Cleanup.
2014-05-20 21:15:48 -07:00
Branimir Karadžić
ac925b00c8
Cleanup.
2014-05-03 15:18:28 -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ć
5b87eece6f
Added missing files.
2014-03-26 09:21:37 -07:00
bkaradzic
a1294a4d5d
Fixed MinGW64 compile errors.
2013-12-24 20:18:49 -08:00
bkaradzic
48c477d0ac
Updated screenshots.
2013-10-23 22:48:16 -07:00
bkaradzic
781c9cda5b
Examples: Fixed resource leaks warnings.
2013-10-06 20:30:44 -07:00
bkaradzic
df1dfdc872
Added isValid check function for handles.
2013-09-29 21:33:50 -07:00
bkaradzic
c9de4a1f19
12-lod: Fixed size of imgui.
2013-08-08 00:04:03 -07:00
bkaradzic
4c4c2eb5cb
examples-common: Reogranized sources. Added command interpreter and input bindings support.
2013-08-07 21:45:56 -07:00
bkaradzic
538796302f
iOS: Fixed aspect ratio in examples.
2013-07-22 21:24:20 -07:00
bkaradzic
18f2e82362
Added include path to common. Renamed math to fpumath.
2013-05-23 22:07:54 -07:00
bkaradzic
aeb414d238
Fixed 64-bit warnings.
2013-05-21 21:58:24 -07:00