Commit Graph

254 Commits

Author SHA1 Message Date
ba6d3c09f2 Fallback for zero diffuse 2026-01-18 21:22:27 +01:00
ada3583df2 Change e3d position of diffuseMultiplier 2026-01-13 09:51:46 +01:00
b1bc93d06a Small behavior change on loading e3d freespots 2026-01-13 09:48:15 +01:00
bd916663a5 Changes in e3d serialization/deserialization on diffuseMultipliers 2026-01-13 09:38:53 +01:00
fdbbb13b66 Add field in TSubModel for storing multiplier value 2026-01-13 09:27:36 +01:00
b5d595aca9 Fix for 49b724fea1 2026-01-13 09:06:25 +01:00
49b724fea1 Parse HotspotPower 2026-01-13 08:18:31 +01:00
Wls50
de4918f7a8 e3d deserialization: ensure that vertex & index arrays always load starting from correct offset 2025-12-04 21:44:50 +01:00
d419129363 Prevent crashing simulator on invalid e3d file header 2025-10-14 18:13:54 +02:00
072165aae3 Resolve conflicts for merge 2025-09-04 20:27:45 +02:00
WLs50
0280b40ca5 Merge remote-tracking branch 'manul-public/master' into manul-staging 2025-04-05 14:24:53 +02:00
d1415cf2a1 priorityLoadText3D feature in eu07.ini
Allows to make priority load t3d models instead of e3d. Takes yes or no.
2025-04-01 02:24:25 +02:00
WLs50
a5f6397eca merge manul 2025-03-09 15:36:11 +01:00
ce4c3b46f3 Revert "Add security locks for material manager"
This reverts commit 8b3baa84fe.
2025-02-28 13:54:10 +01:00
8b3baa84fe Add security locks for material manager
thanks to @Milek7 for advice about material manager
2025-02-28 10:54:59 +01:00
Wls50
18b18eed08 fix e3d serialization issues:
failure to check for user data in submodel hierarchy
after creating gfx bank;
failure to increase chunk size when user data is present
2024-07-06 19:59:36 +02:00
Wls50
561b84a329 move vertex user data to a separate array
update vao creation to support optional vertex data
update mesh serialization to account for new user data location
change t3d spec: userdata:{float|uint|int} to userdata:bool
2024-07-06 16:04:35 +02:00
Wls50
dba0a035fd add user data vector to basic_vertex
update t3d, e3d & sbt specs accordingly
update node model to shape conversion to support indexed meshes
2024-06-30 16:13:19 +02:00
milek7
5e72bc1a55 fix invalid index_size in e3d serialization, fix missing parent message, move captureonstart after crashreporter gui 2022-03-12 19:43:24 +01:00
milek7
043ef610f2 add vertex deduplication range to config, multiply tolerancescale through whole chain 2022-03-12 18:39:32 +01:00
milek7
063db3d382 do not overwrite submodel opacity with material, which is contrary to all logic and reason, but it seems some horrible hacks expect not to overwrite it 2022-03-07 20:52:48 +01:00
milek7
6e9041a214 opacity handling hacks (part 2) 2022-03-07 20:36:36 +01:00
milek7
520342f6f0 opacity handling hacks 2022-03-07 20:32:51 +01:00
milek7
ce6d530aa8 changes for standalone e3d export 2022-03-06 18:18:07 +01:00
milek7
5bafa31f9d Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim 2022-01-05 22:21:05 +01:00
tmj-fstate
7b816594ba maintenance: string search methods 2021-05-27 14:23:00 +02:00
tmj-fstate
517c9c89f8 build 210303. vehicle control hint system, virtual trainman toggle, configurable diesel engine rpm deceleration rate, vehicle repair enhancement, debug panel enhancements, customizable vehicle displays refresh rate, idling compressor sound, traction ac motor sound, braking sound enhancement, sky state enhancement, minor bug fixes 2021-03-04 03:41:53 +01:00
milek7
10c396943a Merge remote-tracking branch 'tmj/master' into sim 2020-10-21 19:23:19 +02:00
tmj-fstate
4b38395cb6 binary model vertex tangent calculation fix 2020-10-21 19:20:59 +02:00
milek7
494f4fbef2 Merge remote-tracking branch 'tmj/master' into sim 2020-10-21 02:52:49 +02:00
milek7
b0d46b9ddc scale matchtolerance, add VNT2 chunk type 2020-10-20 17:30:31 +02:00
tmj-fstate
f9a8c1fbb3 indexed geometry tangent calculation, explicit optional material parameters, uint8 serialization fix 2020-10-20 17:23:58 +02:00
milek7
181249b1e7 scale matchtolerance, add VNT2 chunk type 2020-10-19 16:47:25 +02:00
milek7
6a48293a40 indice-aware calculate_tangents 2020-10-19 15:04:03 +02:00
milek7
5b50a39610 indexed geometry for vr rendermodels 2020-10-19 14:14:23 +02:00
milek7
af0052995a Merge remote-tracking branch 'tmj/master' into sim 2020-10-19 03:00:24 +02:00
milek7
29f8f91ad8 Merge remote-tracking branch 'tmj/master' into sim 2020-10-18 23:35:14 +02:00
tmj-fstate
ccfdf5e003 build 2010181. t3d parser fix, crash fix 2020-10-18 16:55:20 +02:00
tmj-fstate
94a3b2fa1f build 201018. idexed geometry submodel format tweak 2020-10-18 16:10:53 +02:00
tmj-fstate
5d252745bd basic indexed geometry support, geometry data packing 2020-10-18 14:51:52 +02:00
milek7
1dc1bd5fcb pre-merge renames 2020-09-30 18:27:43 +02:00
milek7
936effa9db openvr WIP 2020-09-29 22:27:13 +02:00
tmj-fstate
e74a614385 build 200728. basic train passenger information system, event condition diagnostics enhancement, ai door control logic fix 2020-07-29 03:29:02 +02:00
tmj-fstate
c22f4c900f build 200322. coupler adapter, automatic coupling vehicle setting, parked vehicle manual brake activation, ai braking logic enhancement, opengl 3.3 renderer diffuse color visualization fix, minor cab control logic bug fixes 2020-03-24 16:12:25 +01:00
tmj-fstate
642b8fb623 compartment lighting vehicle subsystem, submodel diffuse impact on ambient lighting, minor gfx renderer bug fixes, minor ai logic tweaks 2020-03-01 03:09:55 +01:00
tmj-fstate
2ce3091e8f line breaker cab control enhancement, minor bug fixes 2020-02-02 22:30:36 +01:00
tmj-fstate
f14b2c1343 build 200124. scenario parameters control sliders, material reload support, material opacity driven translucent geometry alpha test, command keyboard mapping tooltip hints, camshaft logic tweak, motor connector logic tweak, ai power use logic tweak, ai pantograph control logic tweak, converter sound pitch fix. additional cab control localization 2020-01-24 17:25:57 +01:00
tmj-fstate
63619d13a6 opengl 3.3 renderer cascaded shadow maps, minor gfx renderer optimizations 2019-12-05 17:19:49 +01:00
tmj-fstate
33c3e5354a default vehicle sounds tweak, model error logging tweak 2019-11-11 00:01:57 +01:00
tmj-fstate
ae3cecfa42 opengl 3.3 renderer integration, minor renderer tweaks 2019-10-31 19:38:11 +01:00