• Welcome to World Machine Community. Please login or sign up.
 
September 16, 2019, 07:16:52 pm

News:

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


BMP Grayscale Output

Started by HMac, July 15, 2010, 04:16:11 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HMac

This might seem like a stupid question, but it's something I've struggled with for a long time.

If there a way to force the grayscale output (using height output) to always put the highest elevation at grayscale 255 and the lowest at grayscale 0?

Whenever I export the grayscale height field, I need to use photoshop to adjust the range. Which I'm fairly certain is changing some features of the terrain.

Stephen

Yes, you definitely can do this!

Drop a Clamp filter device onto the wire leading to the height output. Then check the box that says "Normalize". This will enforce that the highest and lowest values are mapped to 0 and 255.

Cheers!
-- Stephen Schmitt
- Creator of World Machine

HMac

Thanks!

It works like a charm.

It's always something simple. I've used clamps in other places, but it never occurred to me to use them on the output side.

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