Commit Graph

163 Commits

Author SHA1 Message Date
Бранимир Караџић 32866e9e75 texturev: Added horizontal and vertical flip. 2024-06-15 17:14:24 -07:00
Бранимир Караџић 61c770b0f5 Added option to build bimg with libheif. 2024-06-11 17:58:57 -07:00
Бранимир Караџић a3eb92d1b6 Cleanup. 2024-02-24 19:24:49 -08:00
Бранимир Караџић e5fb94d142 texturev: Fixed file dialog scrolling. 2024-02-24 18:53:05 -08:00
Бранимир Караџић 83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Бранимир Караџић ad625918eb texturev: Fixed mime type assocation on Linux. 2023-12-08 23:27:43 -08:00
Бранимир Караџић f14c14a485
Removed D3D9. (#3191) 2023-11-03 21:15:42 -07:00
Бранимир Караџић 466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић 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