17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-26 21:44:53 +01:00
Commit Graph

3593 Commits

Author SHA1 Message Date
maj00r
81a6b855d0 feat(editor): buttons in the switch tool setting a model of timbers on all the switches and crossings of the scenery at once, one for each model of timbers of the scenery data and one for the model of eu07.ini, in one step of the undo; the selftest switchtimbers does the same 2026-10-24 01:40:47 +02:00
maj00r
85b76acca5 perf(sleepers): the instances of the sleepers and timbers of a track sent to the gpu once, as it's laid, and kept there in a buffer of their own; in each pass the runs of them in sight turned by the modelviews of their cells into the instance buffer of the frame by a compute pass, one dispatch and one barrier a pass, and drawn in one instanced draw for each model, part and level of detail, in place of the cpu turning every instance every frame 2026-10-24 01:40:34 +02:00
maj00r
f155956669 perf(sleepers): the rails of each track for the fastenings worked out once and kept until its geometry is made again, it goes far or the crossings change, not again for every track laid around it; the fastenings laid only out to 30 m past where they're drawn, the tracks further out keeping their beams to lay them on as they come near; out past 50 m the tracks laid while the laying in a frame took under 2 ms, the rest in the frames after 2026-10-24 00:23:50 +02:00
maj00r
2e00619d7f feat(sleepers): the crossings at wide angles laid on timbers: where two tracks cross so wide they're laid as a grid, the one track carries timbers square to it through the crossing, two side by side under each rail of the other, which lays none there; the rail running along the two held on their seam by fastenings as far apart as the beams at most, clear of the fastenings of the rails across; the guard rails of the crossings at wide and middle angles held as the rails beside are, a running rail with its guard rail in the fastening of both, the rails crowding at the corners under one plate; the beams under the guard rails timbers as far as the guard rails reach; the fastenings selftest lists the rails on each timber with detail rails 2026-10-23 23:37:28 +02:00
maj00r
997a8da41d fix(rails): the rail going on from the heel of a blade raised as the blade at the heel and forged down to the plain rail along 0.5 m, no step at the heel; the wing rails made over into the low section by a share of their own along them, the rise apart from it; a fastening holding raised rails, as the plate of a frog under the wing rails and the nose, moved up on a pad as far as the least raised of them, its clips with them, a rail not raised sunk in it, a rail raised more on a pad of its own on it; the fastenings selftest lists the lifts and the pads 2026-10-23 22:00:11 +02:00
maj00r
0513a92bc3 fix(sleepers): the fastening of the rails of a frog, holding more of them than its seats, stretched under them all as the plate of the frog, its ends with the clips past the feet of the wing rails, short of the feet of the rails beside, and not narrowed then; the wing rails no longer lying off its ends with no clip 2026-10-23 21:19:14 +02:00
maj00r
890ebebebd feat(rails): the wing rails of the low section drawn of its profile, Zu1-60 (60E1A1), not the plain one shortened: below the head the web thickened to 44 mm, the foot 55 mm inwards and 85 mm outwards of the middle, the edges of the foot and the root of the web higher, of the measures of the profile drawn, made over as far as the foot is raised along the forged ends; the end faces of the rails of the same 2026-10-23 21:19:14 +02:00
maj00r
d3aef50257 feat(rails): the wing rails of the frogs of the low section of the blades, as Zu1-60, where the timbers have slide chairs: from 1.5 m before the throat to their ends the foot raised as much as the blades ride, the web shortened, the heads level with the rails beside, forged down to the plain rail along 0.5 m; a wing rail which is the stock rail of a blade too, as in the slips with the blades outside of the diamond, whole along its chairs; the fastening holding only rails raised as much moved up on a pad as wide as it, a raised rail on a fastening with others on a pad of its own 2026-10-23 20:21:13 +02:00
maj00r
153cdc550c fix(sleepers): the fastenings of a rail part between two carved cuts where the part is laid, not twice as far out: both cuts carry its carved lines, taken once as the rails are laid, by one rule for both 2026-10-23 19:39:07 +02:00
maj00r
9478f69203 feat(rails): the feet of two rails face to face across a flangeway, as a wing rail and the leg of the nose beside it or the two wing rails at the throat, planed off where they'd lie on each other, meeting in the middle of the flangeway as those of two rails back to back do; the heads left whole 2026-10-23 19:24:47 +02:00
maj00r
f7821eea99 fix(sleepers): the wing rails on the timbers as they're bent out: the rails of a track taken in their parts between the cuts at the crossings, as they're laid, a part going on over the gap at an obtuse crossing where its check rail lies; three rails or more close beside held by the fastening of two rails covering the most of them first, then those before and after it, one holding more rails than its seats not narrowed; a rail lying on the brace of a chair beside takes the brace away; a plate cut short at the fastening beside from where its narrowing left it 2026-10-23 19:24:47 +02:00
maj00r
fa62a61389 fix(sleepers): no rail left lying on a timber without a fastening: the stock rails on a plate as wide as their foot between the brace and the slide plate, the stock rails back to back, as the wing rails of the slips with the blades outside of the diamond, on one plate under both; three rails or more close beside one another under fastenings of two rails in turn; a plate lying over the fastening of the rail beside cut short at its edge, as on one plate with it, a rail with its check rail on the fastening of the rail beside in such a plate, not left out; selftests checkseats and the bare rails in fastencheck 2026-10-23 18:25:00 +02:00
maj00r
62f8932f15 fix(sleepers): a rail with its check rail on the side away from a rail close beside, as the outer rails at the acute crossings of the slips with the blades outside of the diamond, in the fastening with its check rail, the rail beside in a plate of its own; a plate still lying over a fastening of more than a plate after the narrowing left out 2026-10-23 17:44:35 +02:00
maj00r
b512460fdf feat(sleepers): the fastenings fitted on the switches crossing and the double ones: the chair of the model split into its brace and its slide plate, the slide plate from the edge of the foot of the stock rail on, not under it; the plates and the slide plates narrowed where the rails lie close, the fastening of two rails centred between them, a rail lying on the fastening of the rail beside it left without one of its own, the brace dropped where the rail beside comes too close; selftest fastencheck 2026-10-23 17:25:02 +02:00
maj00r
5aedbcdc1b feat(sleepers): the timbers of a switch get the fastenings of the rails from the submodels plate, chair and check of their model: a plate under each rail where it lies on a timber, slide chairs under the stock rails along the blades, a fastening of both where a check rail or another rail of the frog lies close beside, the legs of the nose in one plate where they're joined; the rails sit on the plate, the blades ride on the slide plates of the chairs as high as the model has them, their webs shortened; the fastenings drawn within 120 m; selftest fastenings 2026-10-23 16:46:58 +02:00
fc714d50ec perf(debug): cpu timers of the simulation and the main loop, cpu time of the frame parts next to the gpu, renderer data of the debug panel in folding sections 2026-10-22 20:54:30 +02:00
5d3f857c39 perf(gl46): leave out instance buckets before the culling, lod bounds once per model, shared walks of the shadow cascades 2026-10-22 20:13:25 +02:00
b343e98e22 fix(roads): a level crossing watches the rails within its warning distance measured from where it is, however long the track through it 2026-10-22 18:42:36 +02:00
8fbf056749 fix(ai): a road order holding the vehicle keeps the road orders past it from telling the vehicle to drive on 2026-10-22 18:01:04 +02:00
f4f8c75e49 fix(ai): orders of road junctions and level crossings measured along the lane they lie on, so they aren't misplaced on short lanes 2026-10-22 17:16:33 +02:00
29f624024f feat(ui): memory cells section in the debug panel, to look up and set them while the simulation runs 2026-10-22 16:42:56 +02:00
1cc1ba27d2 fix(roads): an axle getting on a crossroads takes the way the other axle took, one starting where it gets on 2026-10-22 16:22:49 +02:00
c7f4790aa9 fix(track): the blending at the joints exactly as long as set, however far apart the vertices 2026-10-22 00:29:00 +02:00
c17d77fe6c fix(track): a blending length of 0 on either side keeps the joint sharp 2026-10-22 00:11:26 +02:00
173fe2ec3c feat(editor): ballast and rails blending lengths apart, as sliders 2026-10-21 23:51:43 +02:00
925f5910bb refactor(track): the ballast fades into that of the tracks joined, as the rails do 2026-10-21 23:36:03 +02:00
b8eb5c71a1 feat(track): parallax track materials blended at the joints 2026-10-21 23:25:40 +02:00
674abfeeab fix(track): seasonal and specgloss track materials blended at the joints 2026-10-21 23:15:29 +02:00
283b8523e6 feat(track): normal mapped track materials blended at the joints too 2026-10-21 23:04:53 +02:00
6b87fe43b3 chore(track): log why a material isn't blended at the joints of the tracks 2026-10-21 22:52:59 +02:00
c5a894a674 feat(track): rails and ballast blended into those of the tracks joined, where their textures differ 2026-10-21 22:34:57 +02:00
407a555803 fix(track): 3D sleepers of a track's own sleeper model at the height it was fitted to 2026-10-21 22:01:30 +02:00
2d7942786d feat(track): each 3D sleeper at the level of detail of its own distance 2026-10-21 21:48:17 +02:00
12c2aaf1db chore: remove the NVRHI-based betterRenderer 2026-10-21 19:30:32 +02:00
9c2520ea52 fix(track): 3D sleepers let go of the beams of the tracks far away 2026-10-21 18:19:21 +02:00
83c8c23c80 feat(editor): presets of the track properties, applied on the selected tracks 2026-10-21 16:09:05 +02:00
16c77ab6fb feat(editor): texture of the rails of path 2 of a switch set apart 2026-10-21 15:50:00 +02:00
30cb83584d fix(track): timbermodel of a track lays switch timbers without sleepers3d in eu07.ini 2026-10-21 15:37:11 +02:00
3c890e4eb9 Make the default material matte 2026-10-21 15:03:14 +02:00
ae3e063df0 Add a list of the terrain chunks to the editor 2026-10-21 13:15:44 +02:00
7d0f76aaa9 Make the material shaders physically based 2026-10-20 18:39:31 +02:00
cf36b24e8d Let the smoke leave the exhaust as a widening jet that fades in 2026-10-20 18:00:51 +02:00
abbdca4773 Let the templates of smoke sources set how fast their particles rise or fall 2026-10-20 17:12:23 +02:00
867497b658 Simulate and light the smoke on the GPU and make rain and snow of particles 2026-10-20 16:44:27 +02:00
6a109e984c perf(gl46): skip shapes out of the pass frustum and the motion blur when nothing moves 2026-10-20 15:23:03 +02:00
dfbe8a6d9e feat(gl46): leave out instance buckets beyond their range before the culling 2026-10-20 14:57:30 +02:00
07ac7406a0 feat(terrain): grass follows the seasons and fades out over gfx.grass.fadedistance 2026-10-20 02:20:03 +02:00
ceb439b218 Fix windows build 2026-10-20 01:38:33 +02:00
f3bdadad66 feat(terrain): holes cut in the heightmap terrain and shader grass painted over it 2026-10-20 01:32:01 +02:00
d7ba6926fc Enable rail crossings and sleepers 2026-10-19 22:17:09 +02:00