<culling xzOffset="100" />

Your forum for all discussions around Modding.
User avatar
NorModding
Posts: 8
Joined: Fri Sep 10, 2021 3:56 pm
Location: Norway
Contact:

<culling xzOffset="100" />

Post by NorModding » Wed Oct 13, 2021 2:48 pm

Hi there.

Do you know what this parameter in mapDE.xml is for?

Code: Select all

<culling xzOffset="100" />
What' is its function?

Kindly thanks for your answer. :smileynew:

Stegei
GIANTS Software | CTO
Posts: 1589
Joined: Sat Jun 09, 2007 10:51 am

Re: <culling xzOffset="100" />

Post by Stegei » Wed Oct 13, 2021 3:42 pm

By default, the game uses the size of the terrain to define the size of the internal culling structures. Every object that is outside the culling structure will not show up properly anymore in all cases.
The zxOffset defines, how much further out the culling structure should extend. So basically this should match with how far the furthest objects you have, like map boundary rocks or trees.

A zxOffset value of 100 means, that objects can be up to 100 meters away from the terrain to be properly visible.

This value should be chosen to be as small as possible (and as big as necessary) to avoid wasting performance/memory.

User avatar
NorModding
Posts: 8
Joined: Fri Sep 10, 2021 3:56 pm
Location: Norway
Contact:

Re: <culling xzOffset="100" />

Post by NorModding » Wed Oct 13, 2021 8:39 pm

Stegei wrote:
Wed Oct 13, 2021 3:42 pm
By default, the game uses the size of the terrain to define the size of the internal culling structures. Every object that is outside the culling structure will not show up properly anymore in all cases.
The zxOffset defines, how much further out the culling structure should extend. So basically this should match with how far the furthest objects you have, like map boundary rocks or trees.

A zxOffset value of 100 means, that objects can be up to 100 meters away from the terrain to be properly visible.

This value should be chosen to be as small as possible (and as big as necessary) to avoid wasting performance/memory.
Thanks a lot! :)

Post Reply