3D Trees in 2 minutes with TreePlanter

3D Trees in 2 minutes with TreePlanter 0.81

Login or Register an account to download this content
Bug fix. Releasing camera when deactivating Flyby to give control back to user.

Note that went switching off Flyby camera, the free cam might be tilted. This is a bug with CSP that will be fixed future CSP release.
TreePlanter 0.8 is designed to streamline the process of adding 3D trees to existing tracks.

Note that 3D trees requires CSP 0.1.79 or greater.

Install:
Drop zip file in ContentManager or copy Lua folder to assettocorsa\app\.

Changes:
  • New UI
  • Ability to edit, change, move existing trees
  • Auto save
  • Enable/Disable 2D and 3D trees
  • Flyby
  • Edit global settings
  • Reground levitating trees ;)
Feature:
  • Live Preview
  • Can locate trees individually, on edges or in areas (polygon)
  • Tree file versioning
  • Ability to select different trees (use your own)
  • Tree base WILL follow the terrain or whatever objects it's placed on :)
Limitation:
  • For better results try using a view pointing down
  • Your GPU. Be careful not to add too many trees
  • Making the application compatible for CSP 0.1.79 and 0.1.80 preview was challenging. You might find bugs depending on your version of CSP 0.1.80 preview.
TODO:
  • Unlimited undo
  • Edit multiple trees
  • Live editing (requires CSP 0.1.80 RELEASE version not available yet)
Demo: Youtube. New demo coming soon

ui-anim.gif


ezgif.com-gif-maker.gif


Many are asking for more trees or are expecting me to provide some.

random.jpg


I am not a 3D modeler and will not create trees.

Here is a none exhaustive list of the tree I use. I will not package them as I want the creators to keep the credits for their work
Just drop the .bin or .zip in the extension/trees folder under your track.

Tree creation softwares:
  • Treeit (used by me to create maple.zip and by tcfshcrw)
  • SpeedTree (used by CSP team to create tree0.zip)

Happy tree planting!

Thanks to Marc-André for helping with the UI and x4fab for their awesome CSP support.
TreePlanter 0.51 is a Lua app designed to streamline the process of adding 3D trees to existing tracks.

3D trees requires CSP 0.1.79 or greater.

Install:
Drop zip file in ContentManager or copy Lua folder to assettocorsa\app\.

Changes:
  • Random tree type selection
  • Tree list filename is now trees.txt
  • Automatic load of existing trees.txt
  • Few bug fix
  • Inclues 1 new maple tree
  • Ability to remove rendered trees. Hover the green cross at the tree base and press DEL when cross is red
Feature:
  • Live Preview
  • Can locate trees individually, on edges or in areas (polygon)
  • Tree file versioning
  • Ability to select different trees (use your own)
  • Undo
  • Tree base WILL follow the terrain or whatever objects it's placed on :)
Limitation:
  • For better results try using a view pointing down
  • Your GPU. Be careful not to add too many trees
  • Single undo
Note that I was able to put any object types, peoples, 2d trees,... Investigating if it is performance wise to do so. Try it yourself by converting your fbx to bin and dropping them in trees folder. Let me know if a tutorial is needed.

TODO:
  • Unlimited undo
  • Change tree type
  • Move trees
  • Display tree type and position on hover
Demo: Youtube SirSpats

random.jpg
Many are asking for more trees or are expecting me to provide some.

I am not a 3D modeler and will not create trees.

Here is a none exhaustive list of the tree I use. I will not package them as I want the creators to keep the credits for their work. Here is the list:
Just drop the .bin or .zip in the extension/trees folder under your track.

Some are asking how to hide the 2d trees.

To hide existing objects (like 2d trees) you have 2 options using CSP ext_config:

Note that I will automate this in futur version of TreePlanter

A)
1. Get the mesh name of the objects you want to hide using object inspector​
2. Add this to [yourtrack]/extension/ext-config.ini (create it if it does not exist)​
[MODEL_REPLACEMENT_...]​
FILE = model.kn5 ; name of KN5 (track kn5)​
HIDE = name1, name2 ; meshes or nodes to hide (no protected meshes)​
B)
1. Get the material name of the objects you want to hide using object inspector​
2. Add this to [yourtrack]/extension/ext-config.ini (create it if it does not exist)​
[SHADER_REPLACEMENT_...]​
MATERIALS = material1, material2,...​
LOD_IN = 10000​
Ref.: SHADER_REPLACEMENT

Lastly, thanks to SirSpats for promoting my app on Youtube.

ADD 3D TREES To EVERY Assetto Corsa Map In Seconds - Tutorial And Mod!
Hi all,

New version is coming soon with random tree type selection. Will also read the current tree file on startup.

Waiting for more comments and bugs report before releasing.

I figured a way the share tree assets across all tracks. Let me know if interested has I do not want to document/automate it for nothing. The idea is not to duplicate 100Mb of bin files for nothing.

random.jpg

palm alley.jpg

Latest News

What is the reason for your passion for sim racing?

  • Watching real motorsport

    Votes: 82 65.1%
  • Physics and mechanics

    Votes: 55 43.7%
  • Competition and adrenaline

    Votes: 55 43.7%
  • Practice for real racing

    Votes: 18 14.3%
  • Community and simracers

    Votes: 30 23.8%
Back
Top