16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-17 23:39:18 +02:00
Commit Graph

3000 Commits

Author SHA1 Message Date
92626db147 Merge pull request #122 from dos1/picking
drivermode: Allow to (un)set picking mode by combining Alt with Shift/Ctrl
2026-06-30 09:24:43 +02:00
56d14b8b08 Merge pull request #120 from dos1/agx-fixups
AgX fixups
2026-06-30 09:23:31 +02:00
Sebastian Krzyszkowiak
2f187b470f drivermode: Allow to (un)set picking mode by combining Alt with Shift/Ctrl
Pressing Alt toggles picking mode. This is fine for keyboard and mouse usage,
but some use cases, such as disabling picking mode when a finger is placed
on a thumbstick and enabling it back when it's lifted, require finer control.
Allow to always enable picking mode when pressing Alt with Shift, and to always
disable picking mode when pressing Alt with Ctrl.
2026-06-30 06:14:43 +02:00
Sebastian Krzyszkowiak
40c21bd4ba skydome: Adjust for external tonemapping
Skydome was applying its own tonemapping to look good. Get rid of it and
adjust color corrections to look good with a HDR pipeline.
2026-06-30 05:47:57 +02:00
Sebastian Krzyszkowiak
fdc9ea7099 opengl33renderer: Brighten up the clouds
With tonemapping, clouds need to stand out above 1.0 to reach proper
white levels.

Note that this should get disabled if tonemapping isn't used, in case
it's made properly configurable in the future.
2026-06-30 05:42:55 +02:00
Sebastian Krzyszkowiak
f2a7cc4f98 opengl33renderer: Adjust sun intensity based on overcast 2026-06-30 01:56:39 +02:00
Sebastian Krzyszkowiak
b323d78c34 light_common: Adjust ambient and sun diffuse scale
Sun needs some oomph.
2026-06-30 01:37:47 +02:00
Sebastian Krzyszkowiak
473eae53d2 tonemapping: Reduce saturation boost in AgX
1.4 is quite extreme with our textures. Boost it up, but not as much.
2026-06-30 00:21:40 +02:00
Sebastian Krzyszkowiak
321edfcf10 tonemapping: Fix up AgX application
We're supposed to output linear values there, as sRGB transfer function
gets applied either by GL framebuffer or FBOUT later on.

min_ev and max_ev also need to be adjusted, as they're tweaked for
a pipeline with exposure compensation. The current values lead to a very
washed-out image, which was "hidden" by subsequently applying gamma twice.
It may make sense to revisit these values in the future to better match
the rendering pipeline.
2026-06-30 00:20:38 +02:00
116eed6100 Merge pull request #119 from dos1/skydome-summit
skydome: Limit desaturation at the top
2026-06-29 23:56:28 +02:00
c39732a272 Merge pull request #116 from dos1/external-cam-speed
Allow to speed up external camera movement with Ctrl key
2026-06-29 23:55:01 +02:00
d6f067fa65 Merge pull request #117 from dos1/keyboard-mod-release
Remember which modifiers were present on key press and use them on key release
2026-06-29 23:54:12 +02:00
Sebastian Krzyszkowiak
b46c8c76f3 skydome: Limit desaturation at the top
Prevents a gray circle from forming at the dome's summit.
2026-06-29 23:53:36 +02:00
3d8be4345e Merge pull request #118 from dos1/cmake-suffix
cmake: Allow to disable date & git hash suffix in executable name
2026-06-29 23:52:12 +02:00
Sebastian Krzyszkowiak
84b3de6088 cmake: Allow to disable date & git hash suffix in executable name 2026-06-29 23:32:38 +02:00
Sebastian Krzyszkowiak
6435c3d850 Remember which modifiers were present on key press and use them on key release
This fixes an issue where a triggered command stays indefinitely active
when the user releases the modifier before releasing the triggering key.
2026-06-29 23:21:21 +02:00
Sebastian Krzyszkowiak
15c666a7ef Allow to speed up external camera movement with Ctrl key
Shift isn't used as that would affect joystick controls and we
probably should discourage the user from roaming around in external
cam mode too much, so they won't forget that they're not in regular
free fly out of the cab.
2026-06-29 23:12:52 +02:00
bb69986962 Merge pull request #115 from dos1/time-fix-overcast
widgets: time: Pass overcast to user_command::settemperature
2026-06-29 16:01:14 +02:00
Sebastian Krzyszkowiak
77a455919c widgets: time: Pass overcast to user_command::settemperature
Both setweather and settemperature expect overcast as their second
parameter. Passing zero to settemperature always overwrites whatever
gets passed to setweather.
2026-06-29 15:52:30 +02:00
d8dd59b5d0 Merge branch 'master' of https://github.com/MaSzyna-EU07/maszyna 2026-06-29 15:28:50 +02:00
jerrrrycho
7a32e7e9ab Merge pull request #113 from MaSzyna-EU07/refactor-nullptr
refactor: replace null with nullptr
2026-06-29 13:40:06 +02:00
jerrrrycho
bf147dd155 refactor: replace null with nullptr 2026-06-29 02:48:25 +02:00
31bebf6088 Add python fallback for cp1250 characters and utf8 compativility 2026-06-28 02:41:47 +02:00
b46a1d8cbf Change deprecated Py_SetPythonHome to PyConfig 2026-06-27 16:13:54 +02:00
0154df4b3e Merge remote-tracking branch 'remotes/origin/Editor-Python3.14' 2026-06-27 15:17:58 +02:00
b94b90f122 Merge remote-tracking branch 'remotes/origin/opengl-instancing' 2026-06-27 15:17:31 +02:00
b0bb2c9c42 Fix autodetect python directory 2026-06-27 15:15:11 +02:00
c88a9b870c Improved specular and glosiness 2026-06-27 14:41:10 +02:00
d21cd54f89 AGX tonemapping 2026-06-27 14:39:33 +02:00
16c94f8e19 Merge remote-tracking branch 'origin/feature/python314' into Editor-Python3.14 2026-06-18 18:22:38 +02:00
75461eaf86 World Streaming Part 1 2026-06-18 18:18:02 +02:00
449609d817 Snap to ground || New terrain system || Terrain sculping || Mesh simplification 2026-06-17 08:56:42 +02:00
5a39ed5193 ImGuizmo System OpenGL 2026-06-17 01:19:59 +02:00
3bed2212d7 Editor settings for New/Legacy camera controll 2026-06-16 23:53:01 +02:00
1aac9b4e76 Merge pull request #111 from MaSzyna-EU07/opengl-instancing
Some rendering improvements
2026-06-16 23:09:12 +02:00
306ed64f38 Merge pull request #110 from xwizard/macos-arm64-build
Add macOS ARM64 build support
2026-06-16 11:15:46 +02:00
c0abea1473 Merge pull request #109 from docentYT/fix-compilation-warnings
Fix compilation warnings
2026-06-16 11:14:25 +02:00
f07c8fdcd2 Enable /map identifier in cmakelists.txt 2026-05-26 22:08:18 +02:00
426ee0baac use textureGather for shadow PCF 2026-05-26 22:08:06 +02:00
26c11ddca9 Improve sleeper LOD calculation 2026-05-24 15:22:44 +02:00
64a65b81ea Sleeper culling + Cell-level distance pre-cull 2026-05-23 20:36:41 +02:00
aff225c95f Global frame buckets 2026-05-23 19:28:29 +02:00
1be56de0fa Add sleepermodel optional parameter for tracks 2026-05-19 22:10:47 +02:00
Mateusz Włodarczyk
dd412894bb Add macOS ARM64 build support
Three small source tweaks that let the OpenGL renderer build and run
on Apple Silicon without affecting the Windows/Linux paths:

- stdafx.h: use GLM_FORCE_NEON on ARM64 instead of GLM_FORCE_AVX2.
  AVX2 pulls <immintrin.h>, which clang on ARM64 rejects because
  the x86 intrinsics are unimplemented.
- utilities/utilities.cpp: provide an Apple libc++ fallback for
  Now() using localtime_r + strftime, since
  std::chrono::current_zone() is not yet implemented there.
- audio/audio.h: prefer Khronos-style <AL/al.h> headers when they
  are on the include path (brew openal-soft) and fall back to the
  deprecated Apple OpenAL.framework's <OpenAL/al.h> only otherwise.
2026-05-19 10:45:18 +02:00
df5a8a897f Merge pull request #107 from MaSzyna-EU07/opengl-instancing
Opengl instancing + node::model scale
2026-05-14 16:24:26 +02:00
ee8ee0dafc Switch normalization from Blinn-Phong to GGX 2026-05-14 15:35:52 +02:00
docentYT
2bb8a64877 Specify auto as reference where possible 2026-05-12 19:16:33 +02:00
docentYT
4fa148e230 Fix C26478 2026-05-12 18:21:52 +02:00
docentYT
81eadbef73 Do not use temp variable when it is not needed 2026-05-12 18:19:11 +02:00
docentYT
e95e00a2e2 Use texture id casting recommended by ImGui wiki 2026-05-12 18:04:50 +02:00