Page 1 of 1

has anyone tried this method for heightmap editing?

Posted: Sat Dec 20, 2014 12:49 am
by Shrooms
Supposedly you can import a large heightmap into a smaller worldsized map and achieve a more detailed terrain http://i.imgur.com/14GnAYI.jpg does anyone have results to show?

Re: has anyone tried this method for heightmap editing?

Posted: Sun Dec 28, 2014 6:32 pm
by Swaffy
It looks the same to me? :\ Or there's just no objects there to scale it to.

Re: has anyone tried this method for heightmap editing?

Posted: Sun Dec 28, 2014 9:50 pm
by Apache Thunder
I believe you can. Just use higher resolution RAW files and set the terrain.con file correctly. Example:

Code: Select all

GeometryTemplate.create PatchTerrain patchGeometry
GeometryTemplate.file bf1942\levels\Example\Heightmap
GeometryTemplate.materialMap bf1942\levels\Example\Materialmap
GeometryTemplate.materialSize 2048
GeometryTemplate.targetTriCount 4096
GeometryTemplate.worldSize 1024
GeometryTemplate.yScale 0.64
GeometryTemplate.texBaseName bf1942\levels\Example\Textures\Tx
GeometryTemplate.texOffsetX 0
GeometryTemplate.texOffsetY 0
GeometryTemplate.detailTexName bf1942\levels\Example\Textures\Detail
GeometryTemplate.waterLevel 12
GeometryTemplate.waterTexName texture/WaterLayer2
GeometryTemplate.waveHeight 0
GeometryTemplate.seaFloorLevel 0
GeometryTemplate.waveScale 0.01
GeometryTemplate.lodDistance 1024
Set the materialSize to match the new resolution. Be sure that your materialMap raw file also matches this size. The "WorldSize" command defines the size of the terrain object on the map. As long as you do not alter that command, increasing the heightmap resolution shouldn't mess up texture alignment.

Re: has anyone tried this method for heightmap editing?

Posted: Wed Dec 31, 2014 7:33 am
by Swaffy
So, in other words ... keep the worldSize the same, double the size of materialSize, and double the size of the heightmap texture?

Re: has anyone tried this method for heightmap editing?

Posted: Wed Dec 31, 2014 5:24 pm
by Apache Thunder
Yeah, that should do it. It has been awhile since i've worked on any BF1942 map. But that's how I expect it to work. :P