Jump to content
Sign in to follow this  
hdchristopher

Need Help, terrain under water

Recommended Posts

I use L3DT to import my dem file, create my mask and sat 4 times the size of my heighfield, export sat,mask and heightfield to my source folder. Then I fire up the Terrainbuilder

add a mapframe, import the terrain,sat and mask, set all to 200000 and 0. Do the sample and processing requirements. I then run the MultiPAAConverter to convert my png to paa. Start buldoxer, export wrp file.

Run Mikero's pboproject to create the pbo.

No matter what I do my terrain always ends up flat and under water

http://s2.postimg.org/42vcxwbp5/image.png (170 kB)

my sat map looks good with all the bumps and hills

image.png

any ideas where I'm going wrong?

Edited by hdchristopher

Share this post


Link to post
Share on other sites

is the mapframe at the same location as the underlying data layers?

When you "Rebuild terrain" in the Mapframe Processing section, it "samples" the underlying heightmap data - at the size and resolution you specify - into the mapframe extents. This then appears in your Raster Layers list as a "mapframe heightfield" - this is the actual "heightmap" which will be used in your project...

Did you get one of those? - take a look at it... is it the same as your "original heightmap"? - or is it just a flat level plane which is underwater?

If it's just flat, then when you're "rebuilding terrain" the mapframe is sampling.... nothing, because either it, or your data, is in the wrong place...

B

Share this post


Link to post
Share on other sites

This may be what Bushlurker is talking about, and you might already be doing it, and for all I know it may not be necessary, but:

In every tutorial I've seen, and what works for me, is adding a 'second' mapframe. When starting a new project you create and then cancel out of a mapframe, import your data, set it to the correct easting and northing, and then create the actual mapframe you will use by selecting 'add mapframe' again and creating a bounding box around your resources (height map, satellite map, etc.). That step seems missing from your reported workflow.

Share this post


Link to post
Share on other sites

I've seen this "second mapframe" thing reported and mentioned quite a few times recently... due, I think, to some online video that people have been following...

There's absolutely no need for a "second mapframe" at all - there's (usually) nothing wrong with the first one you created...

Once all your data is imported (and you've saved your project just in case anything goes wrong) just open the properties panel for the mapframe you initially created - go to its locations tab and set it's Bottom Left coordinates to the required Easting and Northing - then you have a mapframe - in the correct position...

B

Share this post


Link to post
Share on other sites

I found my problem. Somehow my heightfield maps dimensions were not right when I imported it. It was suppose to be 6144x6144, but was 18233x18233.........:butbut:

Once I fixed that problem, everything fell into place.

Thanks for the help.

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  

×