Treez

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
Line 27: Line 27:
 
There are two new materials to use for trees.
 
There are two new materials to use for trees.
  
'''m.leafcard''' - Use this material for your transparent leaf cards that are not camera facing. This material structure is identical to m.pbrmetal. The only difference in setup is the name of your material.
+
'''m.leafcard''' - Use this material for your transparent leaf cards that are not camera facing. This material structure is identical to [[m.pbrmetal]]. The only difference in setup is the name of your material.
  
'''m.leafcardbillboard''' - Use this material for your transparent leaf cards that are to be camera facing. This material structure is identical to m.pbrmetalmasked. The only difference in setup is the name of your material.
+
'''m.leafcardbillboard''' - Use this material for your transparent leaf cards that are to be camera facing. This material structure is identical to [[m.pbrmetalmasked]]. The only difference in setup is the name of your material.
  
  

Revision as of 15:30, 24 May 2024

This is a step by step tutorial that will teach you how to create a 3D TREE model for use in Trainz. This method uses PlantFactory (free software) to create the 3D tree model but you could use Blender or any other 3D modelling software in it's place. The principles are the same.

Trainz trees join the beta.jpg Discord community trees foliage.jpg

Contents

Software Requirements

Before you start you will need:

  • A copy of Trainz. Currently this is in development so in order to test this new foliage system you must be part of the BETA - JOIN.
  • A copy of PlantFactory 2024. Click the Download button on that page, agree to the EULA and the next page the software should show for download.
  • You need a set of textures (Bark and Leaves at a minimum) for your trees. These can be created from scratch using the likes of Photoshop (paid) or GIMP (free). You can look to source them from many different websites including Adobe Substance Library or other stock places. There are many other places you can purchase tree stock as a base or to get ideas to build from including CGTrader, TurboSquid and more.

PlantFactory

Examples

A good place to start is with one of our PlantFactory templates. This can speed up your development a lot, especially if you are new to PlantFactory.

Download Youtube Video 1 Example Files

Download Youtube Video 2 Example Files

Materials

There are two new materials to use for trees.

m.leafcard - Use this material for your transparent leaf cards that are not camera facing. This material structure is identical to m.pbrmetal. The only difference in setup is the name of your material.

m.leafcardbillboard - Use this material for your transparent leaf cards that are to be camera facing. This material structure is identical to m.pbrmetalmasked. The only difference in setup is the name of your material.


PlantFactory Tutorial

Once the software starts up and you've either loaded one of the templates above or you've started a new tree from scratch, if you are new to PlantFactory, you will want to read the "PlantFactory — Reference Manual" (specifically 'Section 5 - Modifying Plants: Using Parameters') which can be accessed by clicking on the Main Menu -> Help -> Reference Manual. This manual explains everything you need to know about the software. It is definitely worth the read.

For those that want to come back to the manual later, here is a video breakdown on a very raw PlantFactory / Trainz explanation you can get started with.

Plantfactory trainz 1.jpg

Plantfactory trainz 2.jpg

Work-in-Progress Test Trees

There isn't one way to create trees in PlantFactory but these trees were created using the procedural node method.

Plantfactory trainz 2 i.jpg Plantfactory trainz 2 g.jpg

Plantfactory trainz 3 i.jpg Plantfactory trainz 3 g.jpg

Plantfactory trainz 4a i.jpg Plantfactory trainz 4b i.jpg Plantfactory trainz 4 g.jpg

Plantfactory trainz 5a i.jpg Plantfactory trainz 5b i.jpg Plantfactory trainz 5 g.jpg

Plantfactory trainz 6 i.jpg Plantfactory trainz 6 g.jpg

Plantfactory trainz 7 i.jpg Plantfactory trainz 7 g.jpg

Personal tools