RE: Custom road baseplates
2019-07-22, 0:20 (This post was last modified: 2019-07-22, 0:23 by Michael Horvath.)
2019-07-22, 0:20 (This post was last modified: 2019-07-22, 0:23 by Michael Horvath.)
(2019-07-21, 23:25)Orion Pobursky Wrote: LDraw does support textures via the !TEXMAP extension:
https://www.ldraw.org/documentation/ldra...pping.html
It's intended for patterned parts but I don't see any reason it couldn't apply to a model file as well.
Which method would be best to map a single flat texture to a single triangle? Imagine a short section of road made of four vertices and two triangles. (The triangles need not be coplanar.) The texture should be oriented correctly in the direction of travel.
Can textures repeat? That would be very useful. Typically, the parametric functions I will be using create shorter road sections where the curvature is greater, and longer sections where the curvature is minimal. But the textures themselves need to always remain the same scale.