Commit Graph

155 Commits

Author SHA1 Message Date
Бранимир Караџић
eacf36abb0 Cleanup. 2022-09-01 23:33:24 -07:00
Бранимир Караџић
72cbe83275 Removed bgfx::setPlatformData usage from entry example harness. 2022-08-25 20:07:03 -07:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић
d61e8a311f Fixed build. 2021-11-07 21:30:24 -08:00
Бранимир Караџић
8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Branimir Karadžić
f569fe32a6 Rebuilt all embedded shaders. 2021-06-06 14:51:46 -07:00
kingscallop
1ab27e277b
Fix hardcoded bgfx dir from include paths in makefiles (#2532)
Only these four makefiles had these hardcoded paths.
All other makefiles don't specify the bgfx dir name.
2021-06-05 13:55:19 -07:00
Бранимир Караџић
67e628d8e3 Cleanup. 2021-04-25 20:23:36 -07:00
Бранимир Караџић
7ae40fb95d texturev: Added renderer .ini setting. 2021-04-25 19:09:26 -07:00
Branimir Karadžić
f27f44f974 texturev: Updated shaders. 2021-04-25 18:07:57 -07:00
Branimir Karadžić
da555b0721 Rebuild tools embedded shaders. 2021-02-26 18:49:02 -08:00
Бранимир Караџић
0123d43c96 Fixed build. 2021-02-11 08:35:16 -08:00
elvencache
7f758a06a7
Improve Bokeh example (#2377)
* display bokeh sample pattern, add bokeh shape, improve look

draw sample pattern to texture and display in ui to see number of samples and their arrangment

add bokeh shape controls

remove adhoc 'sqrt' pattern since display makes existing pattern easier to understand and it looks nicer.

switch to floating point color texture and leave lighting results in linear space until after dof is performed. provides better results and bright spots can make more noticeable bokeh shapes.

change default values to use take more samples at reduced resolution so initial experience when loading the sample is better looking image

* update screenshot, minor change to ui

fix height of ui element so scrollbar not required by default layout
update screenshot

* fix typo in texturev

atleast, i'm pretty sure that's a typo don't see a reason to set width twice
2021-02-04 20:28:54 -08:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Бранимир Караџић
3bffe3a05d Fixed undefined behavior. 2020-11-13 20:53:11 -08:00
Бранимир Караџић
adf93db26b Updated ImGui. 2020-10-09 08:50:40 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Бранимир Караџић
1ce3e6d256 Cleanup. 2019-07-24 20:17:26 -07:00
Бранимир Караџић
e91be57ff3 Cleanup. 2019-07-21 20:48:01 -07:00
Kitchen
4941a3d81c fix devide by zero in texture viewer when construct orientation matrix (#1825) 2019-07-21 20:45:37 -07:00
Attila Kocsis
62f54bb7ad File dialog added to entry
Win32/Linux version is from texturev. OSX uses native dialog instead of zenity.
win32 has a fix to support win32 target:  OPENFILENAMEA customData is uintptr_t instead of uint64_t.
2019-04-25 22:29:34 +02:00
Бранимир Караџић
b323a8950c texturev: Fixed recognizing file extension on files with extensions with multiple period separators. 2019-03-23 09:54:45 -07:00
Branimir Karadžić
464a555101 texturev: Added winapi support for openFileSelectionDialog. 2019-02-19 22:42:46 -08:00
Бранимир Караџић
9ad5f41858 Fixed build. 2019-02-19 19:30:08 -08:00
Бранимир Караџић
3d7a8e904c Cleanup. 2019-02-19 17:53:03 -08:00
Бранимир Караџић
e29c43221d Cleanup. 2019-02-17 22:08:18 -08:00
Бранимир Караџић
3d809c38f4 Cleanup. 2019-02-17 21:50:46 -08:00
Бранимир Караџић
f02169a4b4 Cleanup. 2019-02-17 21:48:20 -08:00
Бранимир Караџић
8cb250f1ff texturev: Added open file dialog. 2019-02-17 20:19:23 -08:00
Branimir Karadžić
50409d2999 Fixed build. 2019-02-16 22:45:54 -08:00
Branimir Karadžić
5495b432f3 Fixed build. 2019-02-16 21:25:13 -08:00
Бранимир Караџић
26b5fc3b34 Cleanup. 2019-02-16 19:58:18 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Бранимир Караџић
fb8a82a5fd Cleanup. 2019-01-03 14:30:59 -08:00
elvencache
96611dd944 Add HDR backbuffer support to texturev for viewing HDR textures
Texturev already supports exposure/stops as a way to view details in HDR textures. But results still clip to 1.0 due to 8 bits per channel back buffer. So not viable to view in native HDR.

Add UI menu to select scRGB (f16 HDR for windows) and HDR10 (pq/st2084 and rec2020 color primaries) and add shader code to properly display image. The intent is for SDR range content to look identical across all three modes. With additional details available in HDR modes when viewed on HDR monitor.

Running into trouble compiling fs_texture_array at the moment. So skipping the changes required in that shader.

*sdf.bin.h files changed because of changes in common.sh. Could roll the hdr code into a separate hdr.sh which would leave them be if that would be better?
2018-12-29 23:10:28 -08:00
Branimir Karadžić
2a6436fbc5 Cleanup. 2018-11-02 17:18:22 -07:00
Branimir Karadžić
7b8d5314d2 texturev: Fixed SDF shader. 2018-11-01 18:07:17 -07:00
Branimir Karadžić
6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Branimir Karadžić
4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -07:00
Branimir Karadžić
0b0770ed39 texturev: Added image info to menu bar. 2018-07-04 13:36:14 -07:00
Branimir Karadžić
0e0da47e61 Added primitive count to perf stats. 2018-05-17 17:24:10 -07:00
Branimir Karadžić
80d56ed37c Cleanup. 2018-04-23 16:23:38 -07:00
Branimir Karadžić
098bbe46e9 texturev: Moved context menu into main menu. 2018-04-20 16:42:39 -07:00
Branimir Karadžić
28e1839342 Added transient buffer stats. 2018-04-18 16:35:57 -07:00
Branimir Karadžić
b6199d9254 Fixed DDS association mimetype. 2018-04-15 07:57:15 -07:00
Branimir Karadžić
b0a7c13473 texturev: Fixed crash when selected image is invalid. 2018-04-02 06:02:55 -07:00
Branimir Karadžić
498175746e texturev: Fixed layer control for 3D textures with mips. 2018-03-27 18:09:31 -07:00