Branimir Karadžić
1e634c9cf5
Cleanup.
2017-06-15 11:25:05 -07:00
attilaz
2d8f5e01e1
ShadowVolumes to entry::AppI ( #1160 )
2017-06-15 09:57:08 -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
Branimir Karadžić
68c6b46a65
Exposed vertex stream argument to API.
2017-05-14 11:48:59 -07:00
Branimir Karadžić
8499319009
Cleanup.
2017-03-31 21:01:08 -07:00
Branimir Karadžić
5375aa5a03
Fixed warnings.
2017-03-12 18:25:23 -07:00
Branimir Karadžić
0838dad5ab
Fixed build.
2017-02-14 20:27:31 -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ć
a5bb9be4ed
Cleanup.
2016-12-08 20:45:01 -08:00
Branimir Karadžić
34db235454
API change: Added getTexture from FrameBufferHandle, and removed all helper APIs that were using FrameBufferHandle and attachment. Related to issue #975 .
2016-11-15 20:23:52 -08:00
Branimir Karadžić
1bf5bdd376
Cleanup.
2016-10-29 10:36:09 -07:00
Branimir Karadžić
c98be90bf5
WIP: Texture array support.
2016-08-19 21:05:37 -07:00
Branimir Karadžić
ce878f9180
Renaming float4_t to simd128_t.
2016-07-18 19:03:25 -07:00
Branimir Karadžić
a94089e29f
Added simple texture viewer tool.
2016-04-21 22:12:35 -07:00
Branimir Karadžić
4e12ff7274
Cleanup.
2016-04-01 21:49:06 -07:00
Branimir Karadžić
db64e34681
Cleanup.
2016-03-06 14:59:14 -08:00
Branimir Karadžić
861a63bf2e
Updated makefiles.
2016-02-29 19:58:17 -08:00
Branimir Karadžić
dc46b1a36b
Cleanup.
2016-02-21 13:59:38 -08:00
Branimir Karadžić
016bfc4290
Improved reader/writer error handling.
2016-01-31 16:00:02 -08:00
Branimir Karadžić
fbace33048
Renamed BGFX_TEXTURE_RT_BUFFER_ONLY to more descriptive BGFX_TEXTURE_RT_WRITE_ONLY.
2016-01-12 17:11:16 -08:00
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
bkaradzic
48a48d9bf5
Fixes for MinGW GCC 4.8.1.
2013-12-23 22:36:30 -08:00
Branimir Karadžić
86096bd3cc
Merge pull request #57 from dariomanesku/master
...
Small update on 14-shadowvolumes.
2013-11-20 19:03:55 -08:00
Dario Manesku
aa1219b8b4
Using better data structures.
2013-11-20 20:28:12 +01:00
Dario Manesku
6e290a3c9b
Supressing clang compiler warning.
2013-11-19 23:35:34 +01:00
bkaradzic
333b164278
Cleanup.
2013-11-17 22:26:15 -08:00
bkaradzic
a4df646179
Fixed fmin/fmax CRT library name collision.
2013-11-17 20:42:29 -08:00
bkaradzic
40c9aa78d8
Fixed VS2008 build.
2013-11-14 19:10:34 -08:00
Dario Manesku
e432a37396
Small refactor.
2013-11-13 19:11:34 +01:00
Dario Manesku
0381c60b6d
Data structures sepatared for aligned memory access.
2013-11-13 17:53:44 +01:00
Dario Manesku
d7647a4cb7
Small optimization.
2013-11-13 17:04:21 +01:00
Dario Manesku
c0c62570ea
Removed trailing whitespaces.
2013-11-12 22:31:44 +01:00
Dario Manesku
494fc01f23
Performance optimizations and SIMD support.
2013-11-12 22:31:44 +01:00
Dario Manesku
2d91c114c2
Removed duplicate edges from platform mesh.
2013-11-12 22:18:42 +01:00
bkaradzic
53adb1dae4
Fixed 14-shadowvolume build for Android.
2013-11-09 10:06:06 -08:00
Dario Manesku
fd764ec261
Cleanup.
2013-11-06 19:06:49 +01:00
Dario Manesku
d7b69b1ce9
Minor fix.
2013-11-06 19:06:49 +01:00
Dario Manesku
3c0e4c68b3
Small refactor regarding shadow volume mtx computation.
2013-11-06 19:06:48 +01:00
Dario Manesku
46c8e1056a
Cleanup.
2013-11-06 19:06:48 +01:00
bkaradzic
96ead5cfeb
Fixed warning: operation on ‘currentDirection’ may be undefined.
2013-11-06 19:06:47 +01:00
Dario Manesku
cdd6cb1a86
Max light and instance count are now preprocessor constants.
2013-10-25 18:20:25 +01:00
Dario Manesku
ad0cdd6f1c
Tightening memory usage for shadow volumes.
2013-10-25 18:20:24 +01:00
Dario Manesku
4cb2ab30f2
Cleanup.
2013-10-25 18:20:24 +01:00
Dario Manesku
b48850a989
Added special allocator for shadow volumes data.
2013-10-25 18:20:23 +01:00
Dario Manesku
96743e3a5b
Cleanup.
2013-10-25 18:20:23 +01:00
Dario Manesku
0c9ed73476
Small optimization.
2013-10-25 18:20:22 +01:00
Dario Manesku
64b2e96772
Added named variables for fov, aspect, near/far plane.
2013-10-25 18:20:22 +01:00
Dario Manesku
3db3f02dc6
Got rid of unnecessary things.
2013-10-25 18:20:21 +01:00