• Welcome to World Machine Community. Please login or sign up.
 
July 15, 2019, 08:59:35 pm

News:

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


High-Pass filter UPDATE: Frequency Splitter and Combiner

Started by nikita, November 24, 2008, 08:54:53 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nikita

Hello internet people!

!! UPDATE !!
Originally, I wanted a macro to extract high frequencies, manipulate them and then merge them with the low frequencies again. The High Pass didn't do that.
So I present: the Frequency Splitter! I has two outputs. One contains the low frequencies, the other the high frequencies. I also made a correponding combiner called Frequency Combiner. It uses the outputs of the Freq.Splitter to reconstruct the original terrain.

The Frequency Spliiter and Combiner enable you to change the look of the details of a terrain while keeping the original shape. For example, you can now invert the small-scale structure of a terrain! Try and do that without a macro. :) You can even use multiple Frequency Splitters to split your terrain into more heightfields, each containing a different band of frequencies!

As usual, you can download it from my World Machine page or directly:
Download FreqSplitter.dev
Download FreqCombiner.dev


The original post:
I made a macro that extracts the high frequencies from a terrain (i.e. small features like rocks) and supresses low frequencies (hills, mountains).
It can be found on my macro page or you can download it below.

Here is a screenshot:

To the north you can see the original terrain itself. The further you go south, the smaller the radius of the filter and the smaller the frequencies that pass the filter.

It's no perfect high-pass filter but close enough in my opinion.

Download: High-Pass.dev

PS: If you run Blur afterwards you get a band-pass filter.
"Every time you read or write beyond the end of an array, somewhere a fairy dies."
Richard Buckland

Nav

Ii can allready see some areas where i can use this..as to when I will actually get time..but thanks and good work as allways
:D

Traker

This is a verry cool macro...so far it helps me create some equal patterns for my terrains :D

Dan777


nikita

There are two new macros now replacing the High-Pass!
Frequency Splitter is the successor to High-Pass. It hasn't changed except for the additional output port which contains the low frequencies.
Frequency Combiner merges previously frequency-split heightfields into a terrain containing all frequencies again.
Download FreqSplitter.dev
Download FreqCombiner.dev

Have a happy new year everybody!
"Every time you read or write beyond the end of an array, somewhere a fairy dies."
Richard Buckland

marmil


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