any way to improve performance with too many sprites?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

any way to improve performance with too many sprites?

Postby MalcolmCZ » Thu Nov 26, 2020 1:06 pm

I have a intetion to build more open areas like forests or meadows but I worry if I place to many sprites in the level it will lost performance. Is there a way to implement for example some sort of a LOD system to have a sprites in a much lower quality when you are observing them from afar? Or any onther solution?


User avatar
MalcolmCZ
 
Joined: 09 Nov 2020
Location: Prague, Czechia
Discord: Malcolm#1426
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: any way to improve performance with too many sprites?

Postby Cherno » Thu Nov 26, 2020 3:29 pm

Give them the NOINTERACTION flag if they don't need collision.
Use can also, if using zscript, write a custom override Tick() that doesnt't have as much overhead.
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: any way to improve performance with too many sprites?

Postby MalcolmCZ » Thu Nov 26, 2020 4:07 pm

well trees, statues and such have collision but I didn't set any for the grass, flowers, etc does that NOINTERACTION will do anything if the object doesn't have any collision at all? And I am not very familiar with zscript tbh
User avatar
MalcolmCZ
 
Joined: 09 Nov 2020
Location: Prague, Czechia
Discord: Malcolm#1426
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)


Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest