Changing The Loading Distance For An Asset In A Route. How.

Discussion in 'General Discussion' started by Kim Olesen, Jul 19, 2023.

  1. Kim Olesen

    Kim Olesen Well-Known Member

    Joined:
    Jun 21, 2018
    Messages:
    764
    Likes Received:
    621
    I have one route where a certain type of tree is loading much later than anything else. It’s driving me bonkers.

    Is there a way to change the loading distance of an asset in a route?
     
  2. Oystein

    Oystein Well-Known Member

    Joined:
    May 24, 2018
    Messages:
    321
    Likes Received:
    325
    LOD - level of detail

    Identify the tree and open the geopcdx file.

    You can open it by adding .bin to the filename, then drag it into serz.exe to convert it to an xml. Just don't forget to remove .bin on the geopcdx file, if not TS will crash upon loading.

    Look for this part (on the top I think)

    Code:
        <LODController>
            <cHcGeometryLODController d:id="286694144">
                <LOD>
                    <e d:type="sFloat32" d:alt_encoding="0000000000C08240" d:precision="string">600</e>
                </LOD>
            </cHcGeometryLODController>
            <cHcGeometryLODController d:id="286694156">
                <LOD>
                    <e d:type="sFloat32" d:alt_encoding="0000000000C06240" d:precision="string">150</e>
                </LOD>
            </cHcGeometryLODController>
        </LODController>
    600 and 150 are distances. 600 is probably for the LOD 2 level, low detailed object. Then 150 is for the LOD 1 level, with most details. Try changing these.

    Drag the xml file back to serz.exe and remove the .bin from the filename (so that it is a geopcdx file again)

    If it is an asset block then it has a fixed loading distance (tile based I think), so it can't be changed.

    I hope this helps. Keep in mind that I have never edited the LOD in a geopcdx file so it might not work :)
     
    • Like Like x 1
  3. Kim Olesen

    Kim Olesen Well-Known Member

    Joined:
    Jun 21, 2018
    Messages:
    764
    Likes Received:
    621
    Thanks. Will experiment tomorrow :)
     

Share This Page