Product Chat / Trees animation speed (standart entity)

Author
Message
Tauren
9
Years of Service
User Offline
Joined: 25th Jun 2015
Playing: PUBG,Conan Exiles,WoW,HoMM III,MoO 2,Master of Orion 2016
Posted: 20th Jan 2019 09:19
Hello, respectable community! Perhaps someone solved an analogous problem:
I'm trying to change the swinging speed of Animated trees (from the standard set of GG, such as: Spruce 01(Animated), Tree 09 (Animated) and etc).
I set animspeed=20(or even 5) and change the parameter vsync=1 to the setup.ini file (according to advice in one similar forum thread).
however, in the test mode, the speed of swaying trees remains visually unchanged.

Is there a chance to change the speed of animation of these trees using the capabilities of the GameGuru?
I would be grateful for any advice.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 20th Jan 2019 13:26 Edited at: 20th Jan 2019 15:51
This is more then likely controlled in the shader. I will see if I can find it.

EDIT:
Found the article from Lee on this fro may of 2014. Let me retest his method.

https://forum.game-guru.com/thread/208726

Edit 2:
Tested again and it does appear that this is broken with the treeabasic.fx shader.
One more test.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx660, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 20th Jan 2019 16:37 Edited at: 20th Jan 2019 17:49
I will need to go thru GitHub, as this indeed is broken now.

RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx660, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Tauren
9
Years of Service
User Offline
Joined: 25th Jun 2015
Playing: PUBG,Conan Exiles,WoW,HoMM III,MoO 2,Master of Orion 2016
Posted: 20th Jan 2019 21:42
Pirate Myke, big thanks for the reply and for your time on it.

Hopefully this issue will be fixed in the future builds..
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 1st Feb 2019 22:30 Edited at: 4th Feb 2019 23:28
Taking over tree animations and speed via LUA has and does work fine for me. So if any changes are being made to this let me know because I actually have current projects relying on it. I don't believe shaders are involved here, just animation speed controls you can touch on in LUA.

Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 1st Feb 2019 22:49
Nice work mr T,that’s cool

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 2nd Feb 2019 06:22
Hey Teabone nice weather dealing there.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
Preben
20
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 2nd Feb 2019 07:57
Animation speed is not controlled in the shaders , not saying that there is no problems with this , but it will never be shader related
Subscribe and checkout great GameGuru/AGK video's here: Videos click here
Latest GameGuru Loader news: News click here
Get GameGuru Loader PBR version here: Steam click here
best regards Preben Eriksen,
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 2nd Feb 2019 08:11 Edited at: 2nd Feb 2019 08:29
@Teabone - just awesome!!

Are you using particle for the rain and snow?

Reliquia....
aka OldFlak
i7-4790 @ 3.2GHz. 8GB Ram. NVidia GeForce GTX 750. M1: Samsung 31.5" @1920x1080 M2: Acer 24" @ 1920 x 1080. M3: Acer 24" @ 1920 x 1080. OS: Windows 10 Pro 64-bit Insider.
PM
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 4th Feb 2019 05:44
oh that was before particles. Its actually a much older video but recently uploaded.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link | Patreon - Teabone3

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960
Tauren
9
Years of Service
User Offline
Joined: 25th Jun 2015
Playing: PUBG,Conan Exiles,WoW,HoMM III,MoO 2,Master of Orion 2016
Posted: 30th Mar 2019 06:29 Edited at: 30th Mar 2019 07:54
Hi all! Found nuances with animated trees. If set the value defaultstatic = 0 then animspeed=XX starts working!
And even more: if animated trees have defaultstatic = 1 their animation plays fast like mad (which actually made me look for ways to change the animation speed of trees).
My conclusion: for animated plants need to set value defaultstatic = 0 in fpe.
But, I do not know how this will affect performance. On ~300 trees, I did not notice the difference between defaultstatic=0 and defaultstatic=1
However, in any case, I think this way is better than modifying the tree - making 1600 frames of animation in fragmotion (inserting 3 frames after each 1 original frame) to slow the swing speed

Thanks to Lafette II for his free trees: it was in their .fpe that I discovered the value defaultstatic = 0 and was puzzled, what motivated me to test on stock plants.
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 30th Mar 2019 12:03
Excellent, Thank you for posting the solution.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




Tauren
9
Years of Service
User Offline
Joined: 25th Jun 2015
Playing: PUBG,Conan Exiles,WoW,HoMM III,MoO 2,Master of Orion 2016
Posted: 27th Apr 2019 19:25 Edited at: 27th Apr 2019 19:57
After dozens of tests, it turned out that this is not the best solution yet...

All the same, performance decreases when the anim.trees are not static (the difference becomes noticeable at 500 trees and above).

In addition, collisionmode like 50-59 do not work as needed with dinamic entity (which have a value defaultstatic=0 in fpe).
But with defaultstatic=1 the animation of trees is mad again and not regulated through animspeed=XX, and this applies to any animated plants, including from third-party modellers.

Honestly, I do not know what to do: insert "excess" animation frames for each plant to slow down them (which will increase the number of frames by 4-5 times.. however, there is a suspicion that on different computers and monitor refresh rates the speed of tree animation will be different) ..or wait for bug fixes.
PM

Login to post a reply

Server time is: 2024-11-23 23:27:09
Your offset time is: 2024-11-23 23:27:09