Online MTM2 truck viewer

Downloads: https://www.mtm2.com/~trucks/trucks.php
User avatar
Kmaster
Member
Posts: 1548
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Re: Online MTM2 truck viewer

Post by Kmaster »

OG_RuDeE wrote: Sun Aug 30, 2026 11:04 am Got it. Works now. Left and right arrow keys are nice. Might as well add forward and back now too? ;)

I notice that transparency for the new material types is not being handled quite right by your engine.

On the GMC 1500, you can also see parts from inside the truck showing through faces with (modified) glass material type. Note, my faces use cutout (alphatest) transparency rather than blend, in case that makes a difference.
thanks for the heads up. I'll fix it and add forward/backward navigation.
User avatar
Kmaster
Member
Posts: 1548
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Re: Online MTM2 truck viewer

Post by Kmaster »

added forward backwards navigation with up/down arrow keys and fixed the glass material bug. i also reworked the wireframe view to mimic JSPOD texture+wireframe rendering.
Captura de pantalla 2026-08-30 a la(s) 11.43.30 p.m..jpg
User avatar
Kmaster
Member
Posts: 1548
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Re: Online MTM2 truck viewer

Post by Kmaster »

added MTM1 truck support
Captura de pantalla 2026-09-02 a la(s) 12.55.39 a.m..jpg
User avatar
Fila
Member
Posts: 2145
Joined: Mon Jul 02, 2001 2:01 pm
Location: Lost in Translation
Contact:

Re: Online MTM2 truck viewer

Post by Fila »

Oh nice!
User avatar
Kmaster
Member
Posts: 1548
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Re: Online MTM2 truck viewer

Post by Kmaster »

Added Evo 1&2 vehicle support
Captura de pantalla 2026-09-10 a la(s) 2.51.25 a.m..jpg
User avatar
Kmaster
Member
Posts: 1548
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Re: Online MTM2 truck viewer

Post by Kmaster »

JSTruckViewer v1.5.6 - Lights and Magic

Captura de pantalla 2026-09-26 a la(s) 4.30.53 a.m..jpg
Captura de pantalla 2026-09-26 a la(s) 4.30.53 a.m..jpg (53.42 KiB) Viewed 10 times
  • Added full MTM2 truck-light rendering, including flare sprites and textured beam cones.
  • Added support for headlights, roof light bars, brake lights, reverse lights, spinning beacons, and timed blinkers.
  • Added individual controls for light types and beam visibility. Controls unavailable for the selected truck are disabled automatically.
  • Added generated fallback flare and beam textures when the original light artwork is unavailable.
Captura de pantalla 2026-09-26 a la(s) 4.32.56 a.m..jpg
Captura de pantalla 2026-09-26 a la(s) 4.32.56 a.m..jpg (54.95 KiB) Viewed 10 times
  • Added support for the classic DirectX 5 tinted-window hack used by legacy MTM2 trucks.
  • Fixed the transparent windows using collapsed UV color-key filtering. <- the fancy name of the hack. See https://learn.microsoft.com/en-us/windo ... -filtering
  • Improved RAW color-key detection for custom palettes whose transparent entry is not pure RGB black.
  • Improved texture smoothing with mipmaps and anisotropic filtering, reducing distant texture shimmer.
  • Added smoothed BIN vertex normals while preserving sharp body edges.
Post Reply