• Welcome to World Machine Community. Please login or sign up.
 
April 23, 2019, 11:59:31 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Looking for Help. Using an image as a texture. I've researched for a few days...

Started by thorneakavar, August 17, 2018, 11:40:05 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thorneakavar

I'll try to be clear on what I'm trying to accomplish. I'm new to WM and I've tried to research independently and searched to the best of my ability, coming up with nothing. I'm not sure if I'm using the wrong terms or thinking about this the wrong way.. I'm exhausted at this point and just want a straight answer.


I'm using the professional edition, not sure if that matters.

My WM so far contains a File Input (containing the Height map) and it is connected to the Output Node. I'm happy with the physical results of the terrain right out of the box. It works really well for what I'm trying to accomplish.

The height map is built from a 2D map I built for a project I'm working on. I also colored this map to reflect the worlds deserts, tundras, grasslands, jungles, and etc.

Complete accuracy between the 3D version and the 2D map is a must.

The only difference between these two files is one is gray for the map data, and the other has been colorized.

What I need to do is lay the colored version of this map over top of my terrain so that it reflects my biomes, rather than the standard grassy to mountain look being applied to the whole terrain.

I'm hoping I can do this in WM itself because it would provide me with a bit more flexibility for later.

The only thing I can think is maybe I can't do it in WM and I can overlay the colored version on top of the terrain in another program (I'm using Unreal)

WFab

"A picture speaks a thousand words". Screenshots help solving a problem. Tip for the next time.

From your explanation, I guess you have a heightmap and a texture. You want to overlay the texture on the terrain, and visualize the output. Similar to the screenshot attached.


You can input a color texture using the "file input" node. Check the box named "interpret as RGB. Then import your color map. Heightmap can similarly be imported in in other file input with "interpret as RGB" unchecked.
Next add an "overlay view" device from "outputs" tab. Plug the heightmap into the first input, texture into the second (screenshot attached). Then build the world at your preferred resolution, and switch to 3D view. Select "overlay view" to see it's output.

Do let me know if it works for you. Following this thread.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview