project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
26 Jul 2021, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2020-10-13, 00:05   #1
ismaelassassin
Supporting Member

ismaelassassin's Avatar
Default Heightmap not loading properly into 4km

Hello
Im trying to work on a map but when i load the RAW file it gives me 6303750 != 2101250 ((1025x1025x4)*1,5) != (1025x1025x2) and the geometry is all a mess.

The photshop file of the heightmap has 1025x1025 size and saved as IBM PC.
the map was created with 1024 size and scale 4.

Please i want to get working on this but i have no idea why its giving me this problem.

https://imgur.com/a/harn8zn
https://imgur.com/a/Hk9umG8
ismaelassassin is online now Reply With Quote
Old 2020-10-13, 13:27   #2
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Heightmap not loading properly into 4km

Wrong format. Did you edit the heightmap in Photoshop?

Outlawz7 is offline Reply With Quote
Old 2020-10-13, 17:51   #3
ismaelassassin
Supporting Member

ismaelassassin's Avatar
Default Re: Heightmap not loading properly into 4km

Yeah. i saved it as RAW and choose IBM PC option
https://imgur.com/a/WgEKnLC
ismaelassassin is online now Reply With Quote
Old 2020-10-14, 12:55   #4
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Heightmap not loading properly into 4km

And what settings did you use to open it?

Outlawz7 is offline Reply With Quote
Old 2020-10-14, 13:52   #5
ismaelassassin
Supporting Member

ismaelassassin's Avatar
Default Re: Heightmap not loading properly into 4km

i created a new file of 1025 x 1025 and edited it with pics of heightmaps. There was nothing before.
https://imgur.com/a/Yi8XxK9
ismaelassassin is online now Reply With Quote
Old 2020-10-14, 13:55   #6
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Heightmap not loading properly into 4km

You should open an existing heightmap with correct settings, edit it and then save. At least that's the way I know to edit and save heightmaps successfully.

Outlawz7 is offline Reply With Quote
Old 2020-10-14, 14:43   #7
ismaelassassin
Supporting Member

ismaelassassin's Avatar
Default Re: Heightmap not loading properly into 4km

Uhh guess ill try that. Although, i had trouble trying to open heightmaps in photoshop. When i open something like yamalia all i can see is a mess of black and white pixels as if its TV static. Would it still work when i try to modify it and saving it?

https://imgur.com/a/xsUbDJS
ismaelassassin is online now Reply With Quote
Old 2020-10-14, 14:47   #8
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Heightmap not loading properly into 4km

When I open I get a prompt on what settings to open with


Outlawz7 is offline Reply With Quote
Old 2020-10-14, 15:36   #9
[R-DEV]Mineral
PR:BF2 Lead Designer
Supporting Member
PR Server License Administrator

Mineral's Avatar
Default Re: Heightmap not loading properly into 4km

AFAIK secondary terrain should be 8bit depth and resolution+1 (ex. 257x257 and not 256x256).

For primary it's 16bit IBM PC depth and resolution+1 (ex. 1025x1025 and not 1024x1024).

Mineral is offline
Last edited by Mineral; 2020-10-14 at 16:02..
Reply With Quote
Old 2020-10-14, 15:39   #10
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Heightmap not loading properly into 4km

No, secondary is 257*257

Outlawz7 is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 23:34.