Jump to content

List of brushes: Difference between revisions

From fCraft Wiki
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 38: Line 38:
=Cloudy Brush=
=Cloudy Brush=
:Creates a swirling pattern of two or more block types ([http://en.wikipedia.org/wiki/Perlin_noise Perlin noise]). If only one block name is given, leaves every other block untouched. Usage similar to Random brush.
:Creates a swirling pattern of two or more block types ([http://en.wikipedia.org/wiki/Perlin_noise Perlin noise]). If only one block name is given, leaves every other block untouched. Usage similar to Random brush.
<gallery widths=200px heights=135px perrow=3>
<gallery widths=200px heights=135px perrow=3>
Image:Cloudy c red obsidian.png|<code>/c red obsidian</code>
Image:Cloudy c red obsidian.png|<code>/c red obsidian</code>
Line 49: Line 48:
</gallery>
</gallery>


=Marbled Brush=
There are three optional parameters you can use with the cloudy brush:
:Creates a turbulent pattern of two or more block types. Usage similar to "Cloudy" brush. If only one block name is given, leaves every other block untouched.
* <code>__%</code> is for texture scale: <code>100%</code> is default. Anything between <code>10%</code> and <code>1000%</code> works. Larger percentage = larger clouds
* <code>__T</code> is for turbulence: Default is <code>100T</code>. Anything between <code>10T</code> and <code>1000T</code> works. Higher turbulence = rougher texture. Lower turbulence = more smoothed texture.
* <code>__S</code> is for seed: Default is random. any hex number between <code>0000S</code> and <code>FFFFS</code> works. Texture of brushes with same seed number will line up.
Any or all of these parameters can be put before or after the list of blocks, in any order. They were introduced in fCraft {{Changelog|0.632}}. Here is an example of a command using all these features:
 
'''{{cmd|Brush|cloudy 200% 50T 1234S red orange yellow}}'''
 
(200% scale -- double the texture scale; 50% turbulence -- 2x smoother than usual; '1234' seed; red-orange-yellow gradient)
 
 
<gallery widths=t150px heights=150px perrow=3 caption="Comparison of scale/turbulence parameters">
Image:Cloudy-50%-50T.png|<code>50% 50T</code>
Image:Cloudy-50%-100T.png|<code>50% 100T</code>
Image:Cloudy-50%-200T.png|<code>50% 200T</code>
Image:Cloudy-100%-50T.png|<code>100% 50T</code>
Image:Cloudy-100%-100T.png|<code>100% 100T</code> (default)
Image:Cloudy-100%-200T.png|<code>100% 200T</code>
Image:Cloudy-200%-50T.png|<code>200% 50T</code>
Image:Cloudy-200%-100T.png|<code>200% 100T</code>
Image:Cloudy-200%-200T.png|<code>200% 200T</code>
</gallery>


=Replace Brush=
=Replace Brush=

Latest revision as of 21:08, 30 November 2013

See /Brush page for general information on using brushes.

Checkered Brush

Checkered brush makes a checkerboard pattern.
If two block names are given, brush alternates them. If one block name is given, this brush only draws every other block (leaving half of blocks untouched).


Rainbow Brush

Rainbow brush is simple: it makes a rainbow pattern. It was originally made just as a test, but testers liked it. It takes no parameters.


Random Brush

Random brush makes a random pattern from one or more blocktypes.
If two or more block names are given, each block has an equal chance to appear on the pattern (50/50 for two blocks, 33/33/33 for three, 25/25/25/25 for four, etc). If only one block name is given, this brush leaves half of blocks untouched.
For advanced use, you can specify percentage or ratio of each block in the mix. For example: /brush random red/60 white/40 makes a pattern that's 60% red and 40% white blocks. Same thing can be accomplished by doing /brush random red/3 white/2 (3 red blocks for every 2 white block). You can omit the number if ratio is 1 (writing someBlock/1 is same as just someBlock).

Cloudy Brush

Creates a swirling pattern of two or more block types (Perlin noise). If only one block name is given, leaves every other block untouched. Usage similar to Random brush.

There are three optional parameters you can use with the cloudy brush:

  • __% is for texture scale: 100% is default. Anything between 10% and 1000% works. Larger percentage = larger clouds
  • __T is for turbulence: Default is 100T. Anything between 10T and 1000T works. Higher turbulence = rougher texture. Lower turbulence = more smoothed texture.
  • __S is for seed: Default is random. any hex number between 0000S and FFFFS works. Texture of brushes with same seed number will line up.

Any or all of these parameters can be put before or after the list of blocks, in any order. They were introduced in fCraft 0.632. Here is an example of a command using all these features:

/Brush cloudy 200% 50T 1234S red orange yellow

(200% scale -- double the texture scale; 50% turbulence -- 2x smoother than usual; '1234' seed; red-orange-yellow gradient)


Replace Brush

Replaces blocks of a given type(s) with another type. Usage similar to /Replace

ReplaceNot Brush

Replaces all blocks except the given type(s) with another type. Usage similar to /ReplaceNot command.

ReplaceBrush Brush

Replaces blocks of a given type with a pattern created by another brush. Usage similar to /ReplaceBrush command.