Frictional Games Forum (read-only)
Optimization? Anyone know how? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Optimization? Anyone know how? (/thread-9310.html)



Optimization? Anyone know how? - Rel - 07-22-2011

Does anyone know what is used to help optimize maps?

Something similar to the nodraw/hint/areaportal textures for anyone who has used hammer.

I get some fps drops in spots but i have no idea what causes it, I do know they tend to be around corners or where the floor touchs a wall.

Im hoping someone here knows how frictional optimizes there maps.


RE: Optimization? Anyone know how? - xiphirx - 07-22-2011

How many objects are on screen at any time? Are you sure you don't have some overlapped objects or something?


RE: Optimization? Anyone know how? - Rel - 07-22-2011

(07-22-2011, 08:18 PM)xiphirx Wrote: How many objects are on screen at any time? Are you sure you don't have some overlapped objects or something?

It happens in some spots when Walls/ceilings/floors meet and connect, and all my walls/floors/ceilings are perfect because i checked and what i have is very simple. Its actually almost empty im just using it for tests.

What im guessing is that the room leaks out and will load the entire map and have it on screen and running even though walls are blocking it.

an example is So im in a room, enclosed, then i face the way the rest of my map is and even though i cant see the rest, its still loaded and running like it is.

Are there any textures or scripts used to only load parts of maps that are only being used and can only be seen, Amnesias got to have one or a way. Anything at all.



RE: Optimization? Anyone know how? - xiphirx - 07-22-2011

Does this happen in the main game as well?


RE: Optimization? Anyone know how? - Rel - 07-22-2011

(07-22-2011, 08:35 PM)xiphirx Wrote: Does this happen in the main game as well?

No not at all, it runs perfect and never had an issue at any point. The main game has to be optimized some way and i hope with the tools we have we can also do the same.

I mean if im wrong and Amnesia has none, then i cant imagine how flawless it would run with it.

Im hoping someone knows, ill look and see if i find anything.




RE: Optimization? Anyone know how? - xiphirx - 07-22-2011

This is pretty odd... Care to share the map?


RE: Optimization? Anyone know how? - Rel - 07-22-2011

(07-22-2011, 08:47 PM)xiphirx Wrote: This is pretty odd... Care to share the map?

Its not the same anymore, this happened a few days ago on a map i that i am now using for pictures for the wiki at the moment and the few rooms are gone.

Im going to try and recreate it soon so i can use it as testing for optimizing once i figure out what is used for it.


RE: Optimization? Anyone know how? - palistov - 07-23-2011

Are you using a lot of shadowcasting spotlights in those spots?