Frictional Games Forum (read-only)
How to use Clip Planes - 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: How to use Clip Planes (/thread-9198.html)

Pages: 1 2


How to use Clip Planes - Tanshaydar - 07-17-2011

Hi all;
I'm trying to figure out how to use clip planes in level editor. Official maps use them to optimize the levels and prevent engine to render places.

Two of my levels are getting bigger and whenever I look at the some places, my FPS drops drastically. I can't reconstruct the level at this rate.

Any help would be appreciated Smile


RE: How to use Clip Planes - palistov - 07-17-2011

Add it by clicking the plus sign. Click the XZ, YZ, or XY button, whichever it is. This changes the orientation of the plane. Next change the height of it. The height corresponds to the discluded letter in the orientation. An XY plane will move horizontally along the Z axis, and the YZ plane will move horizontally along the X axis, but a XZ plane will move vertically.

Clicking the Pos or Neg button changes which side of the plane is culled. Any objects that aren't fully crossing the plane on the side which is to be culled are not shown. If an object passes that point even slightly it will still be shown. It has to be completely past it to be hidden.

I'd suggest putting your clip plane in the middle along a YZ or XY plane, then swapping between positive and negative culling as needed. This way you don't clutter your map with clip planes Smile

Good luck Smile


RE: How to use Clip Planes - Tanshaydar - 07-17-2011

Thanks palistov. I'm working on them and hopefully I'll manage to optimize things Smile


RE: How to use Clip Planes - palistov - 07-17-2011

Yeah they seem very handy. Hopefully FG will add more optimization features like that in HPL3, like hiding certain object types in the viewport or something.


RE: How to use Clip Planes - Tanshaydar - 07-18-2011

Well, I though Clip Planes could be used to optimize in game too, however it turns out to be for only Level Editor optimization :/
So my FPS drop cannot be helped...


RE: How to use Clip Planes - palistov - 07-20-2011

(07-18-2011, 12:48 AM)Tanshaydar Wrote: Well, I though Clip Planes could be used to optimize in game too, however it turns out to be for only Level Editor optimization :/
So my FPS drop cannot be helped...

Sorry for the delayed reply. Busy past few days Big Grin

Use a culling FogBox under Level Settings.




RE: How to use Clip Planes - plutomaniac - 07-20-2011

so that does not let you to see the whole map because of performance issues when everything is shown?


RE: How to use Clip Planes - nofsky - 07-20-2011

Clip planes are only for the level editor, so you can hide certain things to help its performance and make it easier to edit the level (hiding the ceiling for example). It doesn't do anything in-game.


RE: How to use Clip Planes - plutomaniac - 07-20-2011

yes I know that, for the leveleditor of course I meant.


RE: How to use Clip Planes - Tanshaydar - 07-20-2011

(07-20-2011, 02:55 PM)palistov Wrote:
(07-18-2011, 12:48 AM)Tanshaydar Wrote: Well, I though Clip Planes could be used to optimize in game too, however it turns out to be for only Level Editor optimization :/
So my FPS drop cannot be helped...

Sorry for the delayed reply. Busy past few days Big Grin

Use a culling FogBox under Level Settings.

Hmm, that sounds very logical. However I'm not that good with fog using. I'll try to see what happens Smile