![]() ![]() If you do not calculate the parents, you will see warning messages to alert you of this. You should click this Recalculate Parents button any time you add or move trees around in your scene, to ensure that all the trees know which trees are their parents. But when the camera comes close, the parent tree turns its children on, so that they begin to calculate their distance to the camera, and perform their smooth transitions as needed. This saves a lot of otherwise wasted processing power. When the parent sees that the camera is very far away, it literally shuts off the scripts on all of its children trees, so that those child trees no longer run their Update() functions at all. The trees around it are called "children" trees. Each parent tree will control all of the trees around it. ![]() That's where parent trees come to the rescue. But if you have thousands of trees in your scene, it would take a lot of processing power for every tree to calculate its distance to the camera. This allows the tree to fade between the low quality billboard, and the high quality tree mesh. Each tree calculates its distance to the main camera. To understand what parents are, and what they do, I first need to explain why they are needed. Recalculate Parents : This button recalculates the parents in your scene.There are quite a few options in the manager, so let's see what each option does. The rest of this tutorial assumes that you've done the Quck Start Guide, and your manager is already finished with its basic setup in your scene. ![]() FAR MANAGER TUTORIAL HOW TOTo learn how to create it, please check out the Quick Start Guide, and then return to this tutorial when you are finish with the basic setup of the manager. The manager isn't there by default, you will need to create it. This can be a huge time saver, especially if you have thousands of trees in your scene! You can change the color and quality of all the trees at once, so that you don't have to try to modify them one at a time. The LushLOD Trees Manager is a script that allows you to easily control most of the common settings for all the LushLOD Trees in your scene. An up-to-date version of this guide is available to be viewed online at: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |