Jump to content
Sign in to follow this  
bludski

Does anybody know what class Subdivision does in config.cpp?

Recommended Posts

I have modified mine slightly but can't see any changes..

 

        class Subdivision
        {
            class Fractal
            {
                rougness = 20; //5
                maxRoad = 0.02;
                maxTrack = 0.5;
                maxSlopeFactor = 0.2; //0.05
            };
            class WhiteNoise
            {
                rougness = 10; //2
                maxRoad = 0.01;
                maxTrack = 0.05;
                maxSlopeFactor = 0.0025;
            };
            minY = -0.0;
            minSlope = 0.02;
        };

Share this post


Link to post
Share on other sites

Probably just a hangover from OFP days, where terrain heightmap vertices were on a 50m grid. The terrain was automatically subdivided by the engine into a higher detail grid, with noise adding bumpiness to the terrain. The resolution of the grid was controlled by the users terrain detail setting (see setTerrainGrid), and the level of bumpiness by the terrrain's Subdivision class.

 

This method of automatic subdivision was removed from the engine in Arma 1.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×