L3DT users' wiki
Large 3D terrain generator

 

Differences

This shows you the differences between two versions of the page.

tutorials:l3dt:roads [2017/08/31 05:43] (current)
Line 1: Line 1:
 +====== Making roads in L3DT ======
  
 +^  Author | [[user>Aaron]] |
 +^  Last modified | 11th of October 2009 |
 +
 +This tutorial will walk you through the complete process for making a road on your terrain using L3DT.
 +
 +
 +===== Before we start =====
 +
 +To follow this tutorial, you will need L3DT Professional release 2.5d build 0 or later, as released on the 28th of May 2008. This is because the tutorial will make use of the [[bundydocs>l3dt:userguide:tools:am_brush|attributes map brush]] tool, which was updated in that release. To check that you have the correct version, select the '//Help->About//' menu item. This will show the about box, which includes the version number.
 +
 +<html><div align="center"></html>
 +{{:tutorials:l3dt:roads:versioncheck.png|:tutorials:l3dt:roads:versioncheck.png}}
 +<html></div></html>
 +
 +If you are using L3DT Standard (free), you will //probably// be able to follow most of the tutorial, but the results won't be quite as pretty, since you won't be able to generate the high-resolution attributes/light/texture maps at the end. 
 +
 +
 +
 +===== Tutorial sections =====
 +
 +  - [[tutorials:l3dt:roads:basic|Building the basic terrain]] <- **Start here!**
 +  - [[tutorials:l3dt:roads:template|Making a rough template]]
 +  - [[tutorials:l3dt:roads:add_road_to_hf|Adding the road to the heightmap]]
 +  - [[tutorials:l3dt:roads:calc|Some calculations]]
 +  - [[tutorials:l3dt:roads:add_road_to_am|Adding the road to the attributes map]]
 +  - [[tutorials:l3dt:roads:morecalc|More calculations]]
 +
 +
 +===== Final result =====
 +
 +Without further ado, the results in 3D:
 +
 +
 +<html><div align="center"></html>
 +| {{ :tutorials:l3dt:roads:3d9.jpg |:tutorials:l3dt:roads:3d9.jpg}} | 
 +| {{ :tutorials:l3dt:roads:3d10.jpg |:tutorials:l3dt:roads:3d10.jpg}} |
 +<html></div></html>
 +
 +<note important>
 +If you enabled the 'Use run-time lighting over texture' option in //Sapphire// when painting the attributes map, disable it now, as it will make your texture look dark and ugly in the 3D view.
 +</note>
 +
 +===== Further work =====
 +
 +Were I to write this tutorial again (and I probably will, someday), I would like to replace the green grassy edges of the roads with pebbles or concrete. A better asphalt texure might help too. Stay tuned for tutorial v2.0!
 +
 +===== FAQs =====
 +
 +==== How do I paint lines on the road? ====
 +
 +You could write a plugin to do it, but...
 +
 +The texture level of detail required to sharply render lines on a unique precalculated terrain texture is beyond that which can be supported in most 3D renderers for all but the tiniest terrain sizes. Instead, it is recommended that the lines be applied in your rendering system (e.g. game engine, ray-tracer, etc), using a texture decal or splatting system. This is something you have to implement; L3DT can't do it for you.
 
tutorials/l3dt/roads.txt · Last modified: 2017/08/31 05:43 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki