SpeedTree tweaks

wkwood

Nuclear Option
In other games that use SpeedTrees there are properties, usually that can control foliage and wind velocity. Looking at the wiki for TrainzOptions I don't see any properties exposed covering SpeedTrees. Are there any settings that you can adjust, say wind speed = 0 or Wind Direction = North etc?
 
Otto no longer has that on his site. He has also taken a break from forums due to his health. You may find him on Train-sim and ask him to put it out or permission to host it elsewhere. Might catch him in the Railworks section.
 
Is this a big part of why there is so much stuttering and pauses? Ive yet to fix that and my PC is no slow machine by any means.
 
It almost doubled my frame rates where Speedtrees were used. I'm back to an older version of Trainz as well as the Mac version when to lazy to boot into Windows. No idea if it would help with stutters in 12 or not. Smoothed things out nicely in the Mac version.
 
Hi all.

Does anybody have the text/directions for Otto's fix, since it is no longer online? I'd really like to try it out (and maybe stop removing trees from my route...).

Thanks!
 
From memory, the wind can be controlled using Main Menu > Environment in Surveyor.

Shane

Yeah I was aware of that one, I was looking for another alternative Control Knob to turn down the wind. Just going to medium wind settings makes an improvement.

I'm going to look at Ottos fix as well, that definitely sounds like a must have.
 
Is this a big part of why there is so much stuttering and pauses? Ive yet to fix that and my PC is no slow machine by any means.

It can be, I've noticed a big difference just turning the wind down in the environment settings but you have to do that while editing the route in Surveyor. Really Wind = 0 should be the default because when you look at speed trees in the normal sense they do move too much and all that movement takes computational cycles. I have one route where just looking in Cab Mode is funny with speed trees because they look like time lapsed growth photography; The trees/bushes appear to grow in seconds. Other game engines that use speedtrees let you have more control over the aspects but it appears that only the wind control in Surveyor is the only knob in Trainz right now. I've been hunting for Otto's fix but unfortunately I can't find it anywhere.
 
If you want to see what if any difference no speed trees will make you can simply temporarily remove the SpeedTreeTNI.dll from the plugin folder, no speed trees loaded in game then and doesn't cause any problems, simply stick it back and the trees reappear. Actually this is a useful trick if you want to do any route editing and the trees are getting in the way.
 
If you want to see what if any difference no speed trees will make you can simply temporarily remove the SpeedTreeTNI.dll from the plugin folder, no speed trees loaded in game then and doesn't cause any problems, simply stick it back and the trees reappear. Actually this is a useful trick if you want to do any route editing and the trees are getting in the way.

Thanks, I was aware of that trick but there's also tweaks that are adjustable that just aren't exposed in Trainz but are exposed by SpeedTrees. You can see it in other games/game engines. Right now I get decent performance with Speed Trees and zero wind speed, up to 40,000 instances at around 20FPS, so not too bad but it would be nice if we could adjust the other aspects of speed trees, and especially the most annoying performance one, wind when we're playing vs. having to edit the route in Surveyor. I mean we can adjust the rain, the time of day.. In other game engines that incorporate Speed Trees you can control all the foliage aspects dynamically, so change your layout with a slider from spring to winter to fall as it were. That's what I was originally hoping for but within the context of play.
 
Otto's fix doubled my frame rates where Speedtrees were used. Very simple to use.
I put TS12 in the garbage months ago, but, use it on the Mac version.*
Get ahold of him on Train-sim to ask if he will host it again or allow you to. In game sliders did nothing for me. Otto's fix made TS12 usable.
Nothing to lose by trying it.
 
Otto's fix doubled my frame rates where Speedtrees were used. Very simple to use.
I put TS12 in the garbage months ago, but, use it on the Mac version.*
Get ahold of him on Train-sim to ask if he will host it again or allow you to. In game sliders did nothing for me. Otto's fix made TS12 usable.
Nothing to lose by trying it.

Thanks, I will go look him up.
 
On my system running the speedtree wind tweak fails because XCOPY (in the BAT file) is marked as an error. Saying there is no such command. I had run this tweak a long time ago without errors.

Turning Speedtrees Animation OFF
********************************
'XCOPY' is not recognized as an internal or external command,
operable program or batch file.
'XCOPY' is not recognized as an internal or external command,
operable program or batch file.
'XCOPY' is not recognized as an internal or external command,
operable program or batch file.

Press any key to continue . . .
 
Last edited:
Blocked speedtrees DLLs and NO STUTTERS...

C:\TS2012\bin\plugins

A test that I use is to go to a populated area and use the arrow keys to rotate the scene in edit mode. Withe speedtrees there is always a pause as the scene rotates. Eliminating all speedtrees (as above) and the scene rotates with no pauses.

These are CL Trees which are acceptable billboard trees WITHOUT the transparancy of the old style bill boards. Search CL Trees on the Content Manager.
bo9p.jpg
 
Last edited:
I'm fairly sure someone else is hosting it, just can't remember who, maybe one of the AU sites?

xcopy works ok here in Win7, is this a Win8 issue?
 
No, Windows 7 Home Premium. Tried different file names and options but to no avail. Right now I have blocked speedtrees and will see how CL Trees work out. He just added 4 more to the DLS. There is a web site but I did not store the URL. I am guessing that while the Otto fix is a big help, blocking all speedtrees may also give you higher FPS on top of that fix. However, it may take a lot of Replaces on some routes to use the CL Trees. I would be happy if I could get the Otto/XCOPY fix to work and then have the option to replace all of the speed trees with up-to-date CL Trees.
 
If the XCopy command is not working, try changing xcopy to copy in the batch file. I'm surprised though, as XCopy works fine on mine - make sure you run the batch file as administrator though.

Shane
 
In other games that use SpeedTrees there are properties, usually that can control foliage and wind velocity. Looking at the wiki for TrainzOptions I don't see any properties exposed covering SpeedTrees. Are there any settings that you can adjust, say wind speed = 0 or Wind Direction = North etc?

Hi Will,

You can actually control this using the Edit Environment settings for your route. Go to the File Menu, choose Edit Environment. Click on the calendar button and change the date. As the date goes from Spring to Summer, the trees will change to thicker foliage.

For better trees, with less motion to them, check out those by McGuirel, Pofig, JVC, and others. Their motion is more realistic with occasional an wind burst in a single direction as though wind is actually blowing across them. This is, as you know, totally unlike the gale-like blowing that the default trees have.

Regarding the sprouting tress in driver: This is more noticeable with ATI video cards for some reason.

John
 
The COPY command worked in place of XCOPY.

Unfortunately, despite several combinations of settings I continue to see stutters and seizures. Speedtrees on with NO WIND Otto option. Blocked Speedtree DLLs. And, the usual fiddling with the in-game options.

Having spent considerable time trying to fix the game nothing has really worked. Yes, without speed trees you gate double FPS but a 2 second stoppage tells me there are are other problems.
 
Back
Top