安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








It happens only and every time you use this script?
I can't think of anything that might be causing this, so at first glance I would say it's an engine issue, but I'll try to recreate it and see.
Yes, everytime. I apply the wallpaper, close the editor and for the first 10 to 20 seconds everything shown in the wallpaper lags and stutters even when no video is visible. If I disable one or two of the videos it stops and runs smooth again, looks like WPE does something with the videos when the wallpaper is applied or resumed after pausing it. Maybe they are played but not shown because I use your script? Don't know if this makes sense. ^^
Tomorrow I'm going to remove the video control script from all the videos and let them play all once. Just to see if the video engine load is the same and if it stutters. Just to have a comparison.
Try changing "pause" with "stop" at line 200, I do get a difference but in my case the issue is too small to reliably tell.
Also, try playing with WE's video settings and see if something changes.
Now I removed the script from all the videos and the overall load when playing them all together at once is at something around 55-60%, running smooth and no lagging when the wallpaper is resumed.
Man, this is weird. Seems like WPE does something to the script or the other way round.
Would it be helpful if I send you my project files so you'll have the same starting situation as I do?
I also tested the wallpaper on my 1070 GTX and on a Nvidia Quadro RTX 5000 just to be sure that it's not my 2070 I use at home normally. Same outcome, even on the Quadro 5000, which is one hell of a GPU but lags the same as all the other cards I tried.
Does it do the same in a new project?
At this point yes, it would be easier to test.
first of all sorry for the delay. I was a bit busy with other stuff and did not find the time to pack the project and upload it to my cloud storage. I'll try to do this over the weekend.
But I noticed something interesting when using the video control script. I added another video that fills the whole screen. This video has a refraction effect applied to and after adding your control script the video is not visible from the start because I set a min, max value but the effect is visible the whole time.
Might this be related to the problem I was talking about? "Hide when paused" seems to not unload the video layer because the effect was still visible. Sorry if I might be totally wrong here with my lack of coding skills. Don't know if it is even possible to unload the video layer, and if so the control script would most likely be unloaded too and stops working. ^^
Currently the script only changes opacity, but I don't know if the engine unloads the layer if opacity is 0.
You can add this line between line 184 and 185 to disable visibility when opacity is 0, this way it unloads the layer.
Try with this and see if something changes