.
Results 1 to 4 of 4

Thread: NVIDIA Turf Effects or TurfFX for Trainz

  1. #1
    Join Date
    Dec 2011
    Location
    USA Florida, Illinois and Virginia
    Posts
    1,632
    Blog Entries
    1
     

    Default NVIDIA Turf Effects or TurfFX for Trainz

    2 assets are needed to create a turf effect.

    • The one you create, more or less a template
    • The saved settings of what you do with the template


    The first one, or the template is easily findable, shows up as a dependancy of a route. The second one shows up as a dependant of the the first, and can not be found any other way.

    So now, how does the second asset find its way into the route, it is not really referenced. How do you you use it else where? Is it a setting that gets put into the route at the program level (not a loadable asset)?

    Here is an example

    1st asset, the template;

    Code:
    season-turffx
    {
      0
      {
        albedo-texture                      "summer_albedo.texture"
        normal-texture                      "summer_normal.texture"
        parameters-texture                  "summer_parameters.texture"
        num-control-points-per-blade        3
        expansion-constant                  0.2
        expansion-multiplier                0.25
        number-of-seeds-multiplier          0.2
        density-clamp-far                   500
        density-clamp-near                  0
        density-compensation-max            2
        density-falloff-power               6
        edge-offset-far                     0,0,0,0
        edge-offset-minimum                 0.004
        edge-offset-near                    0,0,0,0
        smoothness-clamp-far                20
        smoothness-clamp-near               0
        smoothness-falloff-power            2
        tessellation-level-far              1
        tessellation-level-near             16
        clutter-asset                       <kuid:661281:96392>
        clutter-draw-distance               100
        clutter-spacing                     1.4
        
        blade-control-points
        {
          0                                 0.02,0.7,0.1
          1                                 0.63,1.25,0.6
          2                                 1.1,1.15,0.95
        }
      }
      
      1
      {
        albedo-texture                      "winter_albedo.texture"
        normal-texture                      "summer_normal.texture"
        parameters-texture                  "summer_parameters.texture"
        num-control-points-per-blade        3
        expansion-constant                  0.2
        expansion-multiplier                0.25
        number-of-seeds-multiplier          0.2
        density-clamp-far                   500
        density-clamp-near                  0
        density-compensation-max            2
        density-falloff-power               6
        edge-offset-far                     0,0,0,0
        edge-offset-minimum                 0.004
        edge-offset-near                    0,0,0,0
        smoothness-clamp-far                20
        smoothness-clamp-near               0
        smoothness-falloff-power            2
        tessellation-level-far              1
        tessellation-level-near             16
        clutter-asset                       <kuid:661281:96392>
        clutter-draw-distance               100
        clutter-spacing                     1.4
        
        blade-control-points
        {
          0                                 0.02,0.7,0.1
          1                                 0.63,1.25,0.6
          2                                 1.1,1.15,0.95
        }
      }
    }
    2nd assets, the settings;

    Code:
    effect-properties
    {
      turffx-asset                          <kuid:647907:102003>
      turffx-density                        "4,3,0.000000,0.000000,0.000000,0.000000"
      turffx-height-scale                   "4,3,1.000000,0.000000,0.000000,0.000000"
      geometry-scale                        2
      blade-width                           0.03
      blade-width-noise                     0.33
      blade-height-noise                    0.33
      width-scale-near                      "1,1,1,0"
      width-scale-far                       "1,1,1,0"
      bending-scale                         0.4
      dispersal                             0.07
      bunching                              1
      expansion-constant                    0.2
      expansion-multiplier                  0.1
      number-of-seeds-multiplier            0.3
      avoid-water                           "1"
      altitude-range                        "-3000,3000"
      gradient-range                        "0,90"
    }
    If it's not broke, don't fix it.


  2. #2

    Default

    What happens if i delete / disable those asetsin the CM ?

  3. #3
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    2,152
     

    Default

    Hi

    What happens if i delete / disable those asetsin the CM ?
    Why not duplicate the asset then you can experiment with the duplicate without affecting the original?

    Regards

    Brian

  4. #4
    Join Date
    Nov 2007
    Location
    United States of America, Pennsylvania, Murrysville
    Posts
    4,383
     

    Default

    It still takes a "sense of art" to create the object.
    Dick near Pittsburgh, Pa. i5-2500K 4.0ghz, 8gb memory, GTX1060 3gb video card. 117009 116912.

Tags for this Thread

Posting Permissions

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