516aa19cb5
perf(models): e3d file read whole in one go and parsed from memory, vertices and indices taken straight from the buffer instead of value by value from the file stream
2026-10-08 16:17:37 +02:00
maj00r
a52e92bd9a
fix(models): animation container derived from enable_shared_from_this publicly, so shared_from_this can reach it
2026-10-08 00:51:29 +02:00
90c5420396
perf(scenery): runs of model instances read straight from the text by a reader made for them, shared between threads; anything the reader doesn't cover left to the parser; model and skin located once for a run of instances; lookup of nodes by uuid filled on load only for a scenery opened for editing
2026-10-06 21:58:49 +02:00
3a05d0d649
perf(models): replacable skins of scenery models located once for a skin name; light and season variant submodels located once for a model instead of for each instance
2026-10-06 03:35:00 +02:00
27a94509c4
feat(roads): right of way and lane turns at junctions, road weights, kerbs, medians and forking roads, banks to the ground, roundabouts, pedestrian crossings, spawn sets by count; fix(editor): model skin export, placement on the ground under the orthophoto
2026-10-04 01:55:35 +02:00
2130d175e9
perf(instancing): cache instance rotation and group lod bands linearly
2026-10-01 12:43:07 +02:00
4eabf3c3b5
feat(instancing): batch models animated only by time, wind or sky
2026-10-01 12:07:54 +02:00
20f536f05e
fix(instancing): keep batches correct after load-time classification
2026-10-01 11:51:41 +02:00
jerrrrycho
176427f96b
refactor: sonar c++20 changes ( #185 )
2026-09-28 21:08:15 +02:00
jerrrrycho
8fbb482350
feat(materials): texture randomization for loads
...
* feat(materials): texture randomization for loads
2026-09-27 00:09:16 +02:00
Mateusz Włodarczyk
a961393df9
macOS: guard mipmap generation call on legacy GL path ( #132 )
...
glGenerateMipmap is null on the legacy GL path in some contexts; use the
GL_GENERATE_MIPMAP fallback instead of crashing.
2026-07-13 10:15:39 +02:00
jerrrrycho
d85096f64d
reformat: remove redundant parentheses
2026-06-30 21:19:46 +02:00
jerrrrycho
bf147dd155
refactor: replace null with nullptr
2026-06-29 02:48:25 +02:00
1aac9b4e76
Merge pull request #111 from MaSzyna-EU07/opengl-instancing
...
Some rendering improvements
2026-06-16 23:09:12 +02:00
c0abea1473
Merge pull request #109 from docentYT/fix-compilation-warnings
...
Fix compilation warnings
2026-06-16 11:14:25 +02:00
426ee0baac
use textureGather for shadow PCF
2026-05-26 22:08:06 +02:00
docentYT
3e360607d8
Do not discard glm::normalize return value
2026-05-12 00:03:40 +02:00
2677ef547b
Fix anim true behavior
2026-05-10 13:27:57 +02:00
3419666070
scale/endscale/localscale per node model
2026-05-10 13:12:49 +02:00
b7283d8fb9
Instanced object grouping
2026-05-07 12:13:47 +02:00
docentYT
7081dab3c2
Replace RadToDeg and DegToRad with glm::degrees and glm::radians
2026-05-02 14:51:13 +02:00
docentYT
ca699d117f
Remove not needed includes
2026-05-02 14:40:31 +02:00
docentYT
3628eb0fc3
Replace interpolate with std::lerp and glm::mix
2026-05-02 01:31:38 +02:00
docentYT
28baad8c5b
Refactor clamp_power_of_two
2026-05-02 00:35:50 +02:00
docentYT
d1f16411a1
Replace clamp with std::clamp
2026-05-01 22:14:29 +02:00
docentYT
0e6950a386
Replace count_trailing_zeros with std::countr_zero
2026-05-01 17:43:43 +02:00
docentYT
ec1dfae953
Replace starts_with and ends_with with string class methods
2026-05-01 17:31:11 +02:00
docentYT
ca839652bf
Use the sq function to force constexpr expressions for numeric literals and enhance readability
2026-04-28 13:23:14 +02:00
docentYT
623c4f827e
Remove not needed casts, variables and switch from double precission to float precission for some angle vectors
2026-04-28 00:51:17 +02:00
docentYT
cba106e22e
Use glm::length2 instead of glm::length where possible
2026-04-27 23:27:08 +02:00
docentYT
7d561f8443
use glm::length2 instead of glm::dot for squared length
2026-04-27 23:13:12 +02:00
docentYT
b712ca4d68
lengthSquared should be changed to glm::dot, not glm::length
2026-04-27 00:41:45 +02:00
docentYT
9fef303ec0
use glm instead of Math3D in AnimModel
2026-04-26 23:14:07 +02:00
docentYT
1553f82c49
use glm instead of Math3D in Model3d
2026-04-26 22:54:12 +02:00
jakubg1
d13c27a7eb
Improve the light blinking algorithm
...
- Fixed phase shift when the light is specified as a negative value.
- This fixes railroad crossing lights!!!
- Improved light transition times to make them even more realistic.
- Simplified the overall code.
2026-04-01 16:09:44 +02:00
jerrrrycho
9f43dca48b
refactor: create paths namespace instead of global variables
2026-03-15 11:55:30 +01:00
copilot-swe-agent[bot]
7e49aa8740
Rewrite #includes to use explicit subdirectory paths
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:16:48 +00:00
copilot-swe-agent[bot]
0531086bb9
Reorganize source files into logical subdirectories
...
Co-authored-by: Hirek193 <23196899+Hirek193@users.noreply.github.com >
2026-03-14 19:01:57 +00:00