Hide models behing fog
Moderator: Graf Zahl
- ChupaReaper
- Posts: 202
- Joined: Fri Jun 15, 2007 16:35
- Location: England
- Contact:
Hide models behing fog
Basically there's this huge map I have, and when playing on my laptop the lag is extreme, this is because I use a lot of models and particles -and a laptop! Things speed up when all these models aren't in view so a way to hide models that are a specific distance away from a player's view would help, this would have to be fixed into the map cameras too else everything would disappear. Doomsday had a feature that would use sprites instead of models if the actor was a certain distance away, but I don't use sprites.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
No - for a simple reason: It won't help sufficiently.
Although replacing a model with sprites will help a bit, all polygons in a model are rendered in one batch of instructions - which is relatively fast. By using sprites instead you will save some polygons - but not the processing overhead that really brings down performance.
As for fog that makes things disappear - never! Such a 'feature' only serves to hide bad design elsewhere.
Although replacing a model with sprites will help a bit, all polygons in a model are rendered in one batch of instructions - which is relatively fast. By using sprites instead you will save some polygons - but not the processing overhead that really brings down performance.
As for fog that makes things disappear - never! Such a 'feature' only serves to hide bad design elsewhere.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact: