Teardown
Almost Golden Gate Bridge
 此主题已被置顶,因此可能具有重要性
HyperPoss  [开发者] 2023 年 10 月 6 日 上午 6:45
Longer Bridge
The update has been uploaded to Steam. The relevance of this topic is questionable, but it will be here, the long bridge still lags.
Hi all! In this discussion I would like to tell about the longer bridge. I have been asked more than once to make this bridge longer, but I did not consider this request something important, now I tried to make a longer version, but I encountered the same problem as I wrote about in the comments, terrible lags.

Lags even just when physics is turned on, you can see what it looks like here:
Youtube

I don’t know yet what can be done with lags, but I gonna try 1 one method, but if it doesn’t work out (I think it not work), I don’t know.

Maybe you know methods of deeper optimization?
最后由 HyperPoss 编辑于; 2023 年 10 月 9 日 上午 10:16
< >
正在显示第 1 - 14 条,共 14 条留言
Tetra 2023 年 10 月 7 日 上午 2:36 
Sorry, I would love to help (I think it's a great map?) however, I do not know teardown modding.
Tired-Bean 2023 年 10 月 7 日 下午 12:57 
ah i see, well if you were to add it in, just have a warning that says laggy
HyperPoss  [开发者] 2023 年 10 月 7 日 下午 1:27 
引用自 Tired-Bean
ah i see, well if you were to add it in, just have a warning that says laggy
Okay, okay. I'll do that. Maybe tomorrow, or something like that.
最后由 HyperPoss 编辑于; 2023 年 10 月 7 日 下午 1:31
Tired-Bean 2023 年 10 月 8 日 下午 5:48 
引用自 HyperPoss
引用自 Tired-Bean
ah i see, well if you were to add it in, just have a warning that says laggy
Okay, okay. I'll do that. Maybe tomorrow, or something like that.
take your time
Doomdrvk 2023 年 10 月 9 日 下午 11:18 
The reason your bridge is so laggy is the amount of air the raycasts from the camera have to go through to actually hit something to render. You should have the bridge and the catwalk underneath as separate objects still bound together. https://i.imgur.com/7i14ZxK.png the stairs are also extremely inefficient https://i.imgur.com/WXu6EDK.png. Creating a large bounding box full of air.
HyperPoss  [开发者] 2023 年 10 月 10 日 上午 5:09 
引用自 Doomdrvk
The reason your bridge is so laggy is the amount of air the raycasts from the camera have to go through to actually hit something to render. You should have the bridge and the catwalk underneath as separate objects still bound together. https://i.imgur.com/7i14ZxK.png the stairs are also extremely inefficient https://i.imgur.com/WXu6EDK.png. Creating a large bounding box full of air.
Interesting... I'll think about that, and maybe fix it in the next update. Thanks!
HyperPoss  [开发者] 2023 年 10 月 10 日 上午 5:13 
引用自 Doomdrvk
The reason your bridge is so laggy is the amount of air the raycasts from the camera have to go through to actually hit something to render. You should have the bridge and the catwalk underneath as separate objects still bound together. https://i.imgur.com/7i14ZxK.png the stairs are also extremely inefficient https://i.imgur.com/WXu6EDK.png. Creating a large bounding box full of air.
I just noticed that the profiler has the longest delay on "Physics". But... Perhaps it could even be related. It probably also matters that (As long as i remember) each column is a physical body, it’s probably useless especially after I fixed it to the concrete.
最后由 HyperPoss 编辑于; 2023 年 10 月 10 日 上午 5:16
Doomdrvk 2023 年 10 月 10 日 下午 4:08 
引用自 HyperPoss
引用自 Doomdrvk
The reason your bridge is so laggy is the amount of air the raycasts from the camera have to go through to actually hit something to render. You should have the bridge and the catwalk underneath as separate objects still bound together. https://i.imgur.com/7i14ZxK.png the stairs are also extremely inefficient https://i.imgur.com/WXu6EDK.png. Creating a large bounding box full of air.
I just noticed that the profiler has the longest delay on "Physics". But... Perhaps it could even be related. It probably also matters that (As long as i remember) each column is a physical body, it’s probably useless especially after I fixed it to the concrete.
Yes it can definitely be related, the weight calculations still have to skip through all the air voxels connecting the object and it has to understand the voxels in that location can pass through.

Let me be clear, "air" and "empty space" are two different things. Voxel objects which are made as one thing with space inbetween will have air voxels fill in that space, those are still accounted for in calculations and still need to continuously skipped through when doing those calculations. Empty space is space in the game which is no where in a shape bounding box.

Any time the rendering system comes comes in contact with this "air" it is fast to skip through unless there is a lot in the direction its going. Weight calculations for physics have to include the air as it checks each voxel and its structure and creates a collision box and maintains proper collision.

So it is fast to skip through the air but when you have thousands to hundreds of thousands of EXTRA voxels to pass through or check it slows down the shape calculations massively in different areas.
最后由 Doomdrvk 编辑于; 2023 年 10 月 10 日 下午 4:09
HyperPoss  [开发者] 2023 年 10 月 11 日 上午 10:00 
引用自 Doomdrvk
引用自 HyperPoss
I just noticed that the profiler has the longest delay on "Physics". But... Perhaps it could even be related. It probably also matters that (As long as i remember) each column is a physical body, it’s probably useless especially after I fixed it to the concrete.
Yes it can definitely be related, the weight calculations still have to skip through all the air voxels connecting the object and it has to understand the voxels in that location can pass through.

Let me be clear, "air" and "empty space" are two different things. Voxel objects which are made as one thing with space inbetween will have air voxels fill in that space, those are still accounted for in calculations and still need to continuously skipped through when doing those calculations. Empty space is space in the game which is no where in a shape bounding box.

Any time the rendering system comes comes in contact with this "air" it is fast to skip through unless there is a lot in the direction its going. Weight calculations for physics have to include the air as it checks each voxel and its structure and creates a collision box and maintains proper collision.

So it is fast to skip through the air but when you have thousands to hundreds of thousands of EXTRA voxels to pass through or check it slows down the shape calculations massively in different areas.
Hmm, if so, I'll definitely fix it. Thank you! :steamthis:
HyperPoss  [开发者] 2023 年 10 月 12 日 下午 1:24 
引用自 Doomdrvk
引用自 HyperPoss
I just noticed that the profiler has the longest delay on "Physics". But... Perhaps it could even be related. It probably also matters that (As long as i remember) each column is a physical body, it’s probably useless especially after I fixed it to the concrete.
Yes it can definitely be related, the weight calculations still have to skip through all the air voxels connecting the object and it has to understand the voxels in that location can pass through.

Let me be clear, "air" and "empty space" are two different things. Voxel objects which are made as one thing with space inbetween will have air voxels fill in that space, those are still accounted for in calculations and still need to continuously skipped through when doing those calculations. Empty space is space in the game which is no where in a shape bounding box.

Any time the rendering system comes comes in contact with this "air" it is fast to skip through unless there is a lot in the direction its going. Weight calculations for physics have to include the air as it checks each voxel and its structure and creates a collision box and maintains proper collision.

So it is fast to skip through the air but when you have thousands to hundreds of thousands of EXTRA voxels to pass through or check it slows down the shape calculations massively in different areas.
It doesn't seem to work. Maybe I did something wrong... But here's another video YouTube Perhaps it's just too big dynamic building.
Doomdrvk 2023 年 10 月 13 日 上午 2:22 
I'd like to review what you did if you could post another version on the workshop as an unlisted map and link it here I would be happy to review it.

Though after viewing it again and understanding the length of the bridge it is very possible the long bridge is seriously too much

. Also theres a warning about going over 400 meters with the shadow volume as it seems to seriously mess with AMD gpus. What your video showed and my own test showed was that the bridge was the most taxing on the physics aspect.
最后由 Doomdrvk 编辑于; 2023 年 10 月 13 日 上午 2:48
HyperPoss  [开发者] 2023 年 10 月 13 日 下午 4:50 
引用自 Doomdrvk
I'd like to review what you did if you could post another version on the workshop as an unlisted map and link it here I would be happy to review it.

Though after viewing it again and understanding the length of the bridge it is very possible the long bridge is seriously too much

. Also theres a warning about going over 400 meters with the shadow volume as it seems to seriously mess with AMD gpus. What your video showed and my own test showed was that the bridge was the most taxing on the physics aspect.
Okay, I'll post this for the link so you can try it, as far as I remember it's possible) I'll also try to reduce it by one "Segment" (That's 2 towers). And make some other minor changes. Thanks again.
HyperPoss  [开发者] 2023 年 10 月 14 日 下午 12:02 
引用自 Doomdrvk
I'd like to review what you did if you could post another version on the workshop as an unlisted map and link it here I would be happy to review it.

Though after viewing it again and understanding the length of the bridge it is very possible the long bridge is seriously too much

. Also theres a warning about going over 400 meters with the shadow volume as it seems to seriously mess with AMD gpus. What your video showed and my own test showed was that the bridge was the most taxing on the physics aspect.
Here you go!
Doomdrvk 2023 年 10 月 14 日 下午 9:05 
Its disappointing but it does just seem Teardown can't handle such a massive million voxel+ physical body.
< >
正在显示第 1 - 14 条,共 14 条留言
每页显示数: 1530 50