TextureEditor: textures and maps

GIG reference manual

TextureEditor: textures and maps

____________________________________________________________________________________

Section contents

____________________________________________________________________________________

Textures

bump

Basic bump texture. NB for having a complete texture one should at least plug in a diffuse texture.
parameters:

	bump	place to plug in bump textures

bumpnoise

Basic bump texture with the bumpmap bumpnoise plugged in. NB for having a complete texture one should plug in a diffuse texture.
parameters:

	bump		place to plug in bump textures
	bnoise_detail	detail of bumpnoise
	bnoise_val	value of bumpnoise

diffuse
Basic diffuse texture.
parameters:

	diff_val	value of diffuse
	diff_col	color of diffuse
	diff_amb	ambiant color of diffuse

glass
Basic glass attribute
parameters:

	glass_refl	reflection part of glass
	glass_col	glass surface color
	glass_index	refraction index of glass
	glass_tran	glass tran color

reflect
Basic reflect texture
parameters:

	refl_val	reflection value
	refl_col	reflection color

refract
Basic refraction color. This texture is basicly the same as the glass texture except for the calculation of the internal reflections. Therefore this texture is rendering faster than the glass texture.
parameters:

	refr_val	value of refracted light
	refr_col	color of refraction
	refr_index	refraction index
	refr_trancol	trancolor

specular
Basic specular texture
parameters:

	spec_val	specular value
	spec_col	specular color
	spec_index	specular index

____________________________________________________________________________________

Maps

____________________________________________________________________________________

Value maps

maps which are (only) usefull when plugged into a value map parameter:

m3ball
3D spherical projection map for value texturemaps from disk
parameters:

	m3_map	place to plug in color texturemaps from disk

m3cil
3D cilindrical projection map for value texturemaps from disk
parameters:

	c3_map	place to plug in color texturemaps from disk

map3
3D projection map for value texturemaps from disk
parameters:

	map		place to plug in value texturemaps from disk
	map_reverse	to adjust the value of the generated value map

map3ball
3D spherical projection map for value texturemaps from disk
parameters:

	map		place to plug in value texturemaps from disk
	map_reverse	to adjust the value of the generated value map

map3cil
3D cilindrical projection map for value texturemaps from disk
parameters:

	map		place to plug in value texturemaps from disk
	map_reverse	to adjust the value of the generated value map

marble

3D value map with the pattern of marble
parameters:

	v1	size of the pattern
	v2	with of veins
	v3	dark versus light balance

mask
2D value map for masking out parts of the mapping space
parameters:

	m_dx	x position of mask
	m_dy	y position of mask
	m_sc	x size of mask
	m_sy	y soze of mask

mbrick

2D value map with a brick like pattern
parameters:

	brick_chaos	adjust chaos of pattern
	brick_detail	detail of pattern transitions
	brick_width	width of pattern
	brick_blur	amount of blur in the pattern
	brick_reverse	reverse pattern

mcloud

2D value map based on a fractal algorithm with a cloud like pattern.
parameters:

	cloud_detail	detail of pattern
	cloud_blur	blur of pattern
	cloud_val	value of created pattern
	cloud_reverse	reverse pattern

mcos

2D value map based on a cosinus curve.
parameters:

	band_blur	blur of pattern
	band_width	width of pattern
	bend_inverse	inverse pattern

mdcloud

more complex form of mcloud

mdrip

Value map with a special pattern. Check it out
parameters:

	drip_chaos	see what it does.
	drip_width	adjust the width of the pattern
	drip_val	value of generated value map

mfract

2D value map based on a fractal algorithm.
parameters:

	fract_detail	detail of pattern
	fract_blur	blur of pattern
	fract_val	value of created pattern
	fract_scale	scale of pattern

mline

2D value map based on map vsin()
parameters:

	line_num	number of lines
	line_width	percentual width of line
	line_rot	rotate map
	line_blur	smooth line edges

mmarble2

2D value map based on a fractal map
parameters:

	veins_detail	detail of veins
	back_veins	mix value of background and foreground in the map
	veins_width	veins width factor
	marble_reverse	reverse map factor

mmarble3
3D value map based on map bnoise()
parameters:

	marble_size	detail of map texture
	back_veins	mix value of background and foreground in the map
	veins_width	veins width factor
	marble_reverse	reverse map factor

mmask
2D map usefull for creating b/w rectangles
parameters:

	m_dx	x start position
	m_dy	y start position
	m_sc	x width
	m_scy	y width

mmsk
2D map function for manipulating other maps
parameters:

	mask_map	map to control (insert an other map)
	mask_val	multiply value of map between -1 and 1
	mask_reverse	reverse mask_map

mmsk3
3D map function, same as mmsk but the given 2D map is converted to a 3D projection map in the mx() and my() direction
parameters:

	mask_map	map to control (insert an other map)
	mask_val	multiply value of map between -1 and 1
	mask_reverse	reverse mask_map

mmv

2D map for creating smooth (color) transitions
parameters:

	band_width	width of transition
	band_pos	position of transition

mmv3
3D map for creating smooth (color) transitions
parameters:

	band_width	width of transition
	band_pos	position of transition

mnoise
3D noise map
parameters:

	nois_detail	detail of noise map
	noise_reverse	change dark and bright values of map

mrspot

2D map for creating rectangular spots
parameters:

	spot_focus	focus of spot
	spot_size	size of spot
	spot_inverse	change dark and bright values of map

mrspot3
3D map for creating rectangular spots
parameters:

	spot_focus	focus of spot
	spot_size	size of spot
	spot_inverse	change dark and bright values of map

msmooth
Map for clipping other value maps
parameters:

	clip_valA	lower clip value
	clip_valB	upper clip value
	clip_blur	smooth value for the calculated clipping values edges
	clip_map	value map to be clipped

msmooth2
Initially the same map as msmooth except with 3 instead of 2 clipping values

mspor

2D map which creates circular effects. Check it out !
parameters:

	fig_spots	number of generated quadrants
	fig_rings	number of generated rings
	fig_offset	offset of rings calculated from the middle of the circle pattern
	fig_blur	smooth factor of genereated pattern
	fig_width	width of generated pattern
	fig_spiral	spiral distortion of pattern

mspot

2D map for creating round spots
parameters:

	spot_focus	focus of spot
	spot_size	size of spot
	spot_type	change type of white/black transition
	spot_inverse	change dark and bright values of map

mspot3
3D map for creating rectangular spots
parameters:

	spot_focus	focus of spot
	spot_size	size of spot
	spot_type	change type of white/black transition
	spot_inverse	change dark and bright values of map

mspr

2D map with a spiral like pattern
parameters:

	fig_rings	number of generated quadrants
	fig_spiral	spiral distortion of pattern
	fig_width	width of generated pattern
	fig_blur	smooth value for the calculated black/white edges

mstreet

2D map with a street like pattern
parameters:

	street_chaos	distortion of pattern
	street_detail	detail of created distortion
	street_width	width of pattern blocks
	street blur	smooth value for calculated pattern
	street_reverse	change dark and bright values of pattern

mtile

2D map with a tile like pattern
parameters:

	tile_chaos	distortion of pattern
	tile_detail	detail of created distortion
	tile_width	width of pattern blocks
	tile blur	smooth value for calculated pattern
	tile_reverse	change dark and bright values of pattern

mtral

2D pattern with a wave like pattern
parameters:

	fig_rimple	freauency of generated curves
	fig_width	width of pattern curves
	fig_offset	change 'shadow' position of pattern

mu

2D black/white transition along the u-space definition
No parameters.

mv

2D black/white transition along the v-space definition No parameters.

mval
2D map for changing the saturation of other value maps. Other maps can be adjusted towards black or white.
parameters:

	value_map	value map to be adjusted
	map_val		parameter to control the saturation

mwild

2D pattern. Check it out !
parameters:

	fig_chaos	distortion of pattern
	fig_detail	detail of created distortion
	fig_width	width of generated pattern
	fig num		number of generated quadrants

mwoodx

3D wood like pattern with the initial direction of the pattern along the x-axes
parameters:

	wood_rings	number of generated rings
	wood_chaos	distortion of pattern
	wood_detail	detail of created distortion
	wood_width	width of generated rings
	wood_reverse	change dark and bright values of pattern
	wood_posx	change x position of pattern
	wood_posy	change y position of pattern
	wood_size	change size of pattern

mwoody
Same map as mwoodx except the direction of the intial map is along the y-axis.

mwoodz
Same map as mwoodx except the direction of the intial map is along the z-axis.

mx
3D black/white transition along the x-space definition.
No parameters.

my
3D black/white transition along the y-space definition.
No parameters.

mz
3D black/white transition along the z-space definition.
No parameters.

____________________________________________________________________________________

Color maps

maps which are (only) usefull when plugged into a colormap parameter:

c3ball
3D spherical projection map for color texturemaps from disk
parameters:

	c3_map	place to plug in color texturemaps from disk

c3cil
3D cilindrical projection map for color texturemaps from disk
parameters:

	c3_map	place to plug in color texturemaps from disk

cclou

2D color map for mixing two colors
parameters:

	clou_colA	color A, can be replaced by a color texture map from disk
	clou_colB	color B, can be replaced by a color texture map from disk
	clou_curve	to adjust the mixing curve of the two colors

colmap
3D color projection map for projecting a given color map and for adjusting its red, green and blue elements
parameters:

	rgb_map		for a procedural color map or a color texture map from disk
	map_red		for adjusting the red parts of the given color map
	map_green	for adjusting the green parts of the given color map
	map_blue	for adjusting the blue parts of the given color map

colmap3
Creates a 3D color projection map of a given map
parameters:

	map	color texture map from disk

colmap3cil
Creates a 3D color cilindrical projection map of a given map
parameters:

	map	color texture map from disk

colmap3ball
Creates a 3D color spherical projection map of a given map
parameters:

	map	color texture map from disk

csky

2D color map for mixing two colors
parameters:

	clou_colA	color A, can be replaced by a color texture map from disk
	clou_colB	color B, can be replaced by a color texture map from disk
	clou_curve	to adjust the mixing curve of the two colors

____________________________________________________________________________________

Bump maps

maps which are (only) usefull when plugged into a bumpmap parameter:

bmap3
3D Projection map for bump texturemaps from disk
parameters:

	bmap_map  place to plug in bump texturemaps from disk
	bmap_val  value of created projection bumpmap

bmap3ball
3D spherical Projection map for bump texturemaps from disk
parameters:

	bmap_map  place to plug in bump texturemaps from disk
	bmap_val  value of created projection bumpmap

bmap3cil
3D cilindrical Projection map for bump texturemaps from disk
parameters:

	bmap_map  place to plug in bump texturemaps from disk
        bmap_val  value of created projection bumpmap

bmatmap
Bumpmap which is random for each calculated ray of the raytracer
Can generate long render times. Can be used for creating glass with mat surfaces. parameters:

	matmap_val  value of generated bumpmap

bnep

Bumpmap which generates metal like surfaces
parameters:

	bnep_value  value of created projection bumpmap
	bnep_rings  number of generated rings

bnoise
Bumpmap with a noise like character
parameters:

	bnoise_detail  detail of created noise pattern
	bnoise_val     value of generated bumpmap

bumpdrip
Bumpmap with a special pattern. Check it out
parameters:

	bdrip_chaos  see what it does.
	bdrip_width  adjust the width of the pattern
	bdrip_val    value of generated bumpmap

bumpmarble3

A stone-like bumpmap based on the 3D noise algoritme
parameters:

	bmarble_size   size of bumpmap
	bmarble_veins  to adjust the 'dark' parts of the pattern
	bmarble_val    value of generated bumpmap

bumpnoise
Bumpmap based on the 3D noise algoritme
parameters:

	bnoise_detail  detail of noise in bumpmap
	bnoise_val     value of generated bumpmap

bwave

Bumpmap based on the use of the 2D bumpwave map. Only one so called seed is used. This map has a water-like appearance
parameters:

	wave_posx    x position of seed
	wave_posy    y position of seed
	wave_freq    frequency of generated waves
	wave_offset  start value of waves near the seed point
	wave_value   value of generated bumpmap
	wave_decay   decay value of waves

bwavex
Bumpmap based on the use of the 2D bumpwave map. 3 seed points are used. The seed points of the bwavex... textures are situated along a "virtual spiral" within the given texture. This "virtual spiral" has two parameters which can be adjusted: the "wave_rot" parameter, which determines how quickly a given spiral curves, and the "wave_radius" parameter, which determines the distance from the center of the spiral to the first completed rotation of the spiral. By adjusting these parameters, it is possible to place the seed points in seemingly random locations within the texture
parameters:

	wave_rot     x position of seed
	wave_radius  y position of seed
	wave_freq    frequency of generated waves
	wave_offset  start value of waves near the seed point
	wave_value   value of generated bumpmap
	wave_decay   decay value of waves

bwavexx

Same as bwavex but with 5 seed points

bwavexxx

Same as bwavex but with 8 seed points

____________________________________________________________________________________

Miscellaneous maps

dmap
A render intensive solution for creating bumpmaps out off 2D procedural maps. Result is a bumpmap, so it should be pasted in a bumpmap variable.
parameters:

	dmap_valmap	2D procedural valuemap (try mfract)
	dmap_dist	interpolation precision
	dmap_val	value of created bumpmap

dnoise

Bumpmap based on the noise algoritme. Should be pasted in a bumpmap variable.
parameters:

	dns_s	dnoise detail

empty_c
Empty color map. Should be pasted in a color map variable. Usefull for creating your own maps.
parameters:

	e_c	color variable, default black

empty_v
Empty map. Should be pasted in a map variable. Usefull for creating your own maps.
parameters:

	e_v	variable, default zero

mix_v
Value mix map for two values.
parameters:

	mix_v	string for mix map
	mix_1	value 1
	mix_2	value 2
	mix_p	mix value

mix_c
Color mix map for two colors
parameters:

	mix_c	string for mix map
	x_c1	color 1
	x_c2	color 2
	x_cp	mix value

fracbump

Fractal based bumpmap. Should be pasted in a bumpmap variable. No parameters

weef

2D value map with a pattern like crossing bars
parameters:

	wave_num	number of generated lines
	wave_chaos	distortion of pattern

noise
3D noise value map
parameters:

	ns_s	noise detail

trf2
2D transformation map. Can be used for transforming 2D maps.
parameters:

	dx	position in u-space
	dy	position in v-space
	rot	rotation
	scx	scale in u-space
	scy	scale in v-space

trf3
3D transformation map. Can be used for transforming 3D maps.
parameters:

	dx	position in x-space
	dy	position in y-space
	dy	position in z-space
	rx	rotation along the x-axes
	ry	rotation along the y-axes
	rz	rotation along the z-axes
	scx	scale in x-space
	scy	scale in y-space
	scz	scale in z-space

msmooth
Map for clipping other value maps
parameters:

	clip_valA	lower clip value
	clip_valB	upper clip value
	clip_blur	smooth value for the calculated clipping values edges
	clip_map	value map to be clipped

dclip
Map for clipping other value maps. No blurring on the edges.
parameters:

	clip_map	map to be clipped
	clip_val	clip value

dcliphigh
Map for clipping other value maps. No blurring on the edges. Map values above the given clip value are lowerd to 0 (black).
parameters:

	clip_map	map to be clipped
	clip_val	clip value

dcliplow
Map for clipping other value maps. No blurring on the edges. Map values below the given clip value are lowerd to 0 (black).
parameters:

	clip_map	map to be clipped
	clip_val	clip value

dnoise
3D bump map.
parameters:

	dns_s	noise detail

____________________________________________________________________________________