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"

[Question] Cannot figure out how to bring Weightmaps into a landscape

We've been trying to figure out how to bring Weightmaps into a Landscape. In UDK we simply selected the layers when creating the Landscape from a Heightmap.

We also have tried using the LandscapeLayerBlend node in the Material Editor only to have it crash every time we try to save the material.

Can someone point us to a tutorial or set of clear instructions on how this process works?

edit: For a moment we were able to right click on one of the Layers in the create Landscape tool that brought up a dialog to import a RAW file (.r8). Thinking we had it figured out we cleared the scene with a new level and are no longer able to right click on any of the fields and see the import dialog.

Another thing; clicking on the icon with three dots used to Import a file as a layer, the import dialog allows us to import .r16, we're not familiar with Weightmaps being 16bit raws, is this a mistake? In UDK Weightmaps were always .r8 - help.

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 05:42 AM in Everything Else

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:42 AM

I would love to see a tutorial on landscaping too. If someone could writeup something that would be extremely helpful !

From my limited knowledge on this topic and this documentation link : https://rocket.unrealengine.com/docs/ue4/INT/Editor/Tools/Landscape/Creation/index.html, I think the height maps are indeed 16 bit raws.

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

1 answer: sort voted first

Work and experiment and we answer our own questions.

Click the Landscape icon

  • Import from file

  • Select a .R16 Heightmap file

  • Add Material if you've made it already

  • Click Import to build Landscape

To make your Material you will have to temporarily use the LandscapeLayerWeight node (as of Jan 26, 2014 - though this is supposed to be fixed in the next beta) - after the fix you can use the LandscapeLayerBlend node.

Add as many of these nodes so as to have a corresponding number of Layers as you will have Weightmaps.

If you have done this step prior to importing your .R16 Heightmap you added it in the previous step, if you have not:

Drag and drop this Material onto your new imported Landscape.

Click on the Paint icon in the Landscape module

In the Target Layers dialog you should your named layers listed (the names will correspond to the what you assigned as a name in the Material Editor when you added the LandscapeLayer node!

  • Click the "+" (Create Layer Info) and select "Weight Blended Layer"

  • Name the layer in the popup that will appear

  • Do the same for the remaining layers

  • Under the name of the layer right click on "None" and select Import from Raw

  • I select the .R8 option as that is how I save my Weightmaps - choose the corresponding file (its name must match the name you assigned the LandscapeLayer node.

  • Do the same for the remaining layers

Your Landscape should now pop with the assigned materials corresponding to the appropriate Weightmap attributes.

To paint the Landcape, simply click the layer in the Target Layers you want to paint with, hold CTRL and we are on our way :)

more ▼

answered Mar 11 '14 at 05:42 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3666 1996 9121

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:42 AM

Thank you for posting the in-depth answer to your own question. In the spirit of the UDN being a source of knowledge for all, we appreciate it.

(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