x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Is it possible to scale a landscape, or import a height map, referencing real world measurements?

Hi,

I am trying to import a height map to make a landscape 6.815km square (I have a specific interest in recreating a real area for an educational project I am involved with).

I have used a program called TerreSculptor and managed to figure out that if I import a 2662 x 2662 pixel heightmap, I get a terrain which measures 6.81km square. Is the resolution of my height map also going to determine the size of my terrain in UE4? And if so, what is the correct conversion from pixels to km?

If I use this map to try and create a terrain in UE4 the scale is way too small. I found the scaling controls for the landscape but without knowing how big it imported to begin with, I have no way of knowing how much (in %) to scale it up by.

Any help is greatly appreciated. This is such an amazing piece of software, I have dreamed of something like this coming along since wrestling with Worldcraft in the 90's. Yes, I'm old now.

Thanks community. x

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '14 at 01:15 PM in Using UE4

avatar image

Drogsterfloggy
11 2 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Here I am, I finally got a perfect match! There is some simple math involved, nothing fancy and you must be horribly precise in project setup, BUT IT WORKS. :D

Follow these stubs and you can do whatever you want with landscapes...I'll update my tutorials ASAP.

Landscape Size and Height

Landscape World Machine Integration

more ▼

answered May 29 '14 at 09:13 AM

avatar image

Budello
236 6 8 19

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Drogster:

This may not be exactly what you are looking for, but I found this while searching the forums:

According to the information listed, 1 UU (Unreal Unit) = 1 cm. Also, it mentions changing the FBX export unit prefrences in your modeling software (3ds, Maya, Blender etc..)

I hope this got you in looking in the correct direction, until someone more knowledgeable comes along.. ;)

Best regards,
-Matt

**source: https://forums.unrealengine.com/showthread.php?611-Unreal-Units-and-Character-Heights**

more ▼

answered Mar 27 '14 at 02:20 PM

avatar image

mdmoberly
205 13 25 27

avatar image Drogsterfloggy Mar 27 '14 at 10:04 PM

Thanks mdmoberly, the link definitely has some useful info and the UU tip is great. The FBX importer isn't an option for me though because I don't have 3dsmax, I am just using a PNG height map to create the terrain directly in UE4.

However, knowing the UU scale now means I can import my terrain and scale it until it is the same size as a pre-made object measuring 681,500 cm (UU's). It's a bit of a work around but ok for what I need.

Thanks again.

avatar image mdmoberly Apr 02 '14 at 07:58 PM

Awesome! Glad to hear! and you are very welcome!

avatar image Budello May 28 '14 at 08:54 AM

I'm working on it, to have a direct match directly on heightmap. I'll keep you updated, I'm nearly there. And thanks for the workaround! :D

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question