Commit Graph

3034 Commits

Author SHA1 Message Date
Matteo De Carlo e4157bd2b7 CMake can install system wise (#404) 2022-03-23 21:41:52 +01:00
Molasses 07297fce37 Linux package files (#402)
* Wrote Linux package files

* Moved the package distribution content

* Started rewriting `Install.sh` in Python

* Added the `ttkbootstrap` module

* Applied a dark theme to the installer

* More dependency installation changes

* More installer changes

* Overhauled all distribution changes

* Fixed the `Setup.py` script
The `Setup.py` script tried to build `Dependencies.py`, which was
removed. It now builds `Install.py` instead.

* Moved from `subprocess.run()` to `os.system()`
The installer now uses the **deprecated** `os.system` function. In the
feature `Install.py` will use `subprocess.run()` again, however,
`os.system()` has better infrastructure to work.

* Fixed a grammatical error in `Install.py`
A comment referred to *the* Discord server as Discord, as a whole.

* Fixed two typos in `Install.py` caused by my editor

* Fixed major bugs in the `Install.py` script

* Fixed a possible issue that might occur in `Install.py`

* (Linux) File dialog glob pattern fix (#403)

* ocean: change to use indexed draw; fixed gradient tiling;

* raytracing now uses configurable sampler + refactors

* Underwater post process (#405)

* added underwater post process

* improvements

* update

* update

* border between underwater and air is better faded

* fixes: volumetric cloud blend mode in planar reflection; ocean receive shadow;

* underwater caustics

* Fixed a major `.gitignore` issue

* Debug changes

Co-authored-by: Megumumpkin <megumumpkin@protonmail.ch>
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-03-21 18:57:20 +01:00
Turánszki János b24a3e13b8 underwater caustics 2022-03-20 20:14:14 +01:00
Turánszki János 3cfbd86f46 fixes: volumetric cloud blend mode in planar reflection; ocean receive shadow; 2022-03-19 18:55:46 +01:00
Turánszki János 20cb8b0f0f Underwater post process (#405)
* added underwater post process

* improvements

* update

* update

* border between underwater and air is better faded
2022-03-19 14:53:59 +01:00
Turánszki János d2a6589526 raytracing now uses configurable sampler + refactors 2022-03-18 19:11:24 +01:00
Turánszki János ecba0e0c63 ocean: change to use indexed draw; fixed gradient tiling; 2022-03-17 12:30:07 +01:00
Megumumpkin a3e5f3a711 (Linux) File dialog glob pattern fix (#403) 2022-03-14 09:13:52 +01:00
Turánszki János cedcbcb2f6 editor: copy-paste fixes 2022-03-13 11:17:24 +01:00
Turánszki János 344dfdd826 raytracing random light selection 2022-03-12 12:59:22 +01:00
Turánszki János 8e0f94fc97 ray tracing light sampling fixes 2022-03-12 12:22:28 +01:00
Turánszki János ce3b614219 raytracing updates, fixes 2022-03-11 15:28:32 +01:00
Turánszki János 1a1749b3c4 editor: added "white furnace" weather preset 2022-03-10 23:47:59 +01:00
Turánszki János fd760a9e9d path trace fixes 2022-03-10 23:42:29 +01:00
Turánszki János de887d57b2 raytracing: improved additive blending support 2022-03-10 14:58:50 +01:00
Turánszki János e8489b9415 temporal AA: clearUAV on first frame 2022-03-10 13:46:20 +01:00
Turánszki János 313fd0cd43 terragen and physics fixes 2022-03-10 12:30:07 +01:00
Turánszki János 262ab6f9f6 path tracing: anyhit cutoff after some bounces 2022-03-10 12:04:52 +01:00
Turánszki János 688e71eafd path tracing energy loss fixes 2022-03-08 15:23:54 +01:00
Turánszki János 7f5a80ba60 brdf update 2022-03-08 09:35:16 +01:00
Turánszki János cd79c742bc raytracing improvements for randomizer, termination 2022-03-07 19:40:34 +01:00
Turánszki János e9d908615f indirect diffuse energy conservation fix 2022-03-06 23:32:00 +01:00
Turánszki János 3eae67c90c editor: parented duplication fix #389 2022-03-06 17:55:38 +01:00
Turánszki János 2b34879413 version bump 2022-03-06 17:53:43 +01:00
Turánszki János f49ecdb60e Rendering Updates (#400)
* surface load updates

* ssr update

* rtao update

* raytracing updates

* ssr removed surface shader, visibilityresolve now resolves additional params

* surfel uid validation refactor

* msaa fix

* update

* update

* picking normal fix

* ray cone improvements

* rtreflection raycone improvement

* visibility resolve fast path

* comment update

* shadow mask fixes for planar reflection

* unrolled mesh and subset into shadergeometry buffer

* shadergeometry refactors

* interleaved uvset vertex buffers

* render queue sorting only for transparent and prepass rendering

* refactors

* refactors

* dx12, vulkan: draw-indirect-count implementations

* surface.load instance color fix

* surface.load instance emissive color

* profiler fix
2022-03-06 16:46:52 +01:00
Turánszki János 6fde1fc174 vulkan: subresource refactor 2022-03-01 23:09:40 +01:00
Turánszki János a1833c9639 graphicsdevice: descriptor format change; indexbuffer merged into general buffer; 2022-03-01 20:18:58 +01:00
Turánszki János daa0f21681 combined mesh vertex buffers into one resource and refactors 2022-03-01 15:10:19 +01:00
Turánszki János 4ddd09ab12 fix: missing NonUniformResourceIndex 2022-03-01 00:15:32 +01:00
Turánszki János 25700bf8f3 fix: index buffer barrier 2022-02-28 19:20:29 +01:00
Turánszki János 97b1ca555c improvements 2022-02-28 10:40:11 +01:00
Silas Oler 64888647b0 Traced Reflection Improvements (#395)
* Traced Reflection Improvements

* bilateral shader compiler fix

* hierarchy shader compiler fix

* Use texture_depth in hierarchy

* Bilateral pass output fix & surface pass early exit

* rtreflection fix: missing push constants after shader change

* normals signedness fix

* version bump

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-02-27 12:15:31 +01:00
flipdp 6a928eb980 SDL SetPointer support (#394)
Added SDL SetPointer support and changed mouse delta calculation
2022-02-22 14:14:10 +01:00
Turánszki János 54d11f1e91 cpu performance optimizations (#393)
* cpu performance optimizations:
- mapped buffer explicit writes
- render queue sorting
- object update system
- primitive intersections
- job system
- spinlock _mm_pause()

* intrin.h -> emmintrin.h

* linux build fix scoped_lock

* shader material structure compaction

* job system update

* explicit writes in font renderer and entity update

* removed previous frame transform component, from now on it's only stored object in gpu buffers

* don't get instance buffer descriptor index inside render loop

* subset gpu data update explicit write

* job system: multiple queues, work stealing
2022-02-21 11:30:22 +01:00
Amer Koleci 9a0006ceef Update vma to latest version (#391)
* Update vma to latest version and use new VMA_MEMORY_USAGE_AUTO

* vulkan: avoid read from uncached memory

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-02-19 15:09:01 +01:00
Turánszki János 406d24d031 updated to visual studio 2022 (#392)
* updated to visual studio 2022

* github actions fix
2022-02-19 12:54:52 +01:00
Turánszki János 072b4a8582 paint tool shader fix 2022-02-15 18:57:23 +01:00
Turánszki János 41e3f56e88 editor: undo/redo fix 2022-02-15 01:00:43 +01:00
Turánszki János e599f40664 editor: undo/redo improvements; also added cut to Ctrl+X; 2022-02-13 00:28:17 +01:00
Turánszki János ab75435c41 editor: undo-redo and recursive selection improvements; 2022-02-12 01:31:33 +01:00
Turánszki János 9ebac82454 entity_serialize robustness improvements; entity_remove recursive support; 2022-02-11 00:08:57 +01:00
Turánszki János 6408341827 editor: uwp asset copies moved out of common source file 2022-02-09 23:05:59 +01:00
Turánszki János 42649c47d5 added ClearUAV to graphicsdevice;
dx12: using DiscardResource for undefined resource state;
dx12: optimized setting scissor rects and viewports;
rtshadow, rtao resource initialization fixes;
2022-02-05 13:33:47 +01:00
Turánszki János 5760191679 updated credits 2022-02-05 10:06:06 +01:00
Turánszki János 6b8cf84c47 raytraced ao ACCEPT_FIRST_HIT_AND_END_SEARCH 2022-01-28 18:31:43 +01:00
Turánszki János 6a855b6a3b raytraced shadows ACCEPT_FIRST_HIT_AND_END_SEARCH 2022-01-28 18:20:23 +01:00
Turánszki János 743c244960 raytraced shadows front face culling 2022-01-28 17:39:50 +01:00
Turánszki János 5b02548268 ddgi probe offsets 2022-01-23 18:48:50 +01:00
Turánszki János ff8a317e17 software raytrace: correctly handle backface lighting 2022-01-22 21:29:57 +01:00
Turánszki János 2b895c38da surfel gi minor fix 2022-01-22 17:36:30 +01:00