.
Results 1 to 8 of 8

Thread: Increasing asset visibility

  1. #1

    Question Increasing asset visibility

    Hi, all.

    I have this asset ( some vegetation ). It has a three-level lod system, and I want the detailed parts to be visible from farther away. I should change the config.txt file, I guess; but how and where ? Thanks in advance.

    PS : It isn't a reskin and the change will be strictly for my own usage.

  2. #2
    Join Date
    Nov 2006
    Location
    Canada, Ontario, Ottawa
    Posts
    13,969
     

    Default

    Quote Originally Posted by tfr.stmalo View Post
    Hi, all.

    I have this asset ( some vegetation ). It has a three-level lod system, and I want the detailed parts to be visible from farther away. I should change the config.txt file, I guess; but how and where ? Thanks in advance.

    PS : It isn't a reskin and the change will be strictly for my own usage.
    It might help if you gave us the kuid number. There are at least three different methods for changing the LOD distances some are only used in some versions of trainz so which version of trainz will you be running?

    Thanks John

  3. #3

    Default

    Quote Originally Posted by johnwhelan View Post
    It might help if you gave us the kuid number. There are at least three different methods for changing the LOD distances some are only used in some versions of trainz so which version of trainz will you be running?

    Thanks John
    Thanks, John.

    It is <kuid2:276266:100014:2> and I'm using TS2019 Platinum. Asset name : "Hedgerow".

  4. #4
    Join Date
    Nov 2006
    Location
    Canada, Ontario, Ottawa
    Posts
    13,969
     

    Default

    Quote Originally Posted by tfr.stmalo View Post
    Thanks, John.

    It is <kuid2:276266:100014:2> and I'm using TS2019 Platinum. Asset name : "Hedgerow".
    It uses mesh-table which gives no control over where the LOD changes are made. However you can upgrade it to TS19 change the 3.5 version to 4.6? Then add in a mesh-table-lod-transition-distances tag http://online.ts2009.com/mediaWiki/i...tion-distances

    Not something I've played with but the basic information is there.

    Good luck.

    Cheerio John

  5. #5

    Default

    Quote Originally Posted by johnwhelan View Post
    It uses mesh-table which gives no control over where the LOD changes are made. However you can upgrade it to TS19 change the 3.5 version to 4.6? Then add in a mesh-table-lod-transition-distances tag http://online.ts2009.com/mediaWiki/i...tion-distances

    Not something I've played with but the basic information is there.

    Good luck.

    Cheerio John
    Many thanks, I'll try it.

  6. #6
    Join Date
    Dec 2010
    Location
    United States of America, Maryland, Westminster
    Posts
    60
     

    Default

    I have solved this problem for a number of buildings and rolling stock by modifying the config.txt file to specify the highest detail mesh for all of the LOD entries on the mesh tables. In the case of your Hedgerow asset, the mesh table section becomes:

    mesh-table
    {
    track-lod0
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod1a
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod1b
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod2a
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod2b
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod3
    {
    mesh "hedgerow_lod0.im"
    }

    track-lod0w
    {
    mesh "hedgerow_winter_lod0.im"
    }

    track-lod1w
    {
    mesh "hedgerow_winter_lod0.im"
    }
    }


    track
    {
    mesh-length 20
    adjust-cross-section-to-ground 0

    track-lod-tree
    {
    lod-distance 400

    high-detail
    {
    lod-season-index 1

    high-detail
    {
    mesh "track-lod0w"
    }

    low-detail
    {
    lod-distance 200

    high-detail
    {
    lod-distance 60

    high-detail
    {
    mesh "track-lod0"
    }

    low-detail
    {
    lod-random-bias 0.8

    high-detail
    {
    mesh "track-lod0"
    }

    low-detail
    {
    mesh "track-lod0"
    }
    }
    }

    low-detail
    {
    lod-random-bias 0.5

    high-detail
    {
    mesh "track-lod0"
    }

    low-detail
    {
    mesh "track-lod0"
    }
    }
    }
    }

    low-detail
    {
    lod-season-index 1

    high-detail
    {
    mesh "track-lod0w"
    }

    low-detail
    {
    mesh "track-lod0"
    }
    }
    }
    }

    I tested this in TANE SP4, and the bushes remain "bushy" looking not matter how far I back my camera away (unlike the original hedgerow spline, that turns into "twigs" a bit too soon).

    Hope this helps!

  7. #7

    Default

    Many, many thanks, Goofus Clam ! Just what I was expecting !

  8. #8
    Join Date
    Dec 2010
    Location
    United States of America, Maryland, Westminster
    Posts
    60
     

    Default

    You're very welcome. I have found "graceless" LOD transitions to be a recurring issue. It's the main reason I don't use speed trees.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •