## Tutorial bump map?

Tutorials/guides/tips on how to use Indigo and the Indigo exporters
35 posts
Posts: 206
Joined: Thu Jun 11, 2009 9:05 pm
Location: in France, near Orange (84)
Contact:

### Re: Tutorial bump map?

StompinTom wrote:
madcoo wrote: It has displacement of 0.01, which should be 10cm...
Nope. That should be 1 cm.

0.01 x 100 cm = 1 cm.
StompinTom, I think I need to go back to school !!!
Thanks!!!
(now I really feel dumb)
Visit my website!
http://www.fairview-3d.com Studio 3D

Soup
Posts: 444
Joined: Sat Jun 13, 2009 1:20 am

### Re: Tutorial bump map?

Just to clarify, here's something I wrote for the manual (might have to simplify it, not everyone knows calculus )
To be honest, "A,B,C" should not be used in the exporters, I think we will try and remove that lingo and go just with Quadratic, Scale, and Offset.

A,B,C Values
The A, B, C values are modifiers for the texture map. This is the equation used (for those that have studied calculus this equation will be familiar):
x = ax^2 + bx + c

The A, B, C, values are taken from here. Thus:

You will not often need to use this, usually it easier to get expected results by modifying the texture map with an image editing program.
Scales values by a quadratic, so low values stay low, and larger values become massive!

B value - scale/multiplier

Scales the texture map values. Can be associated with contrast. Maps the value range of 0-255 to 0-1 (for a usual LDR texture), which is then multiplied by this number. For example: a B value of 2 makes a pure red RGB 255,0,0 to 510,0,0.

C value - Offset

Total RGB offset, generally making the texture brighter or darker.

Exponent: Used for converting texture RGB values to display values (gamma). A typical value is thus 2.2. Here is how it fits into the equation:
f(x) = a*g(x)^2 + b*g(x) + c
and
g(x) = exponent

Dordixs
Posts: 1
Joined: Fri Mar 26, 2010 6:10 am

### Tutorial bump map

Excellent

I figured out how to use the bump material to get the details I was looking for, all I was missing was the displacement tips.

Good job, and thanks for sharing. Im itching to get to use Z2 this weekend. I wish I didnt have to work LOL

Posts: 991
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA

### Re: Tutorial bump map?

Good explanation. I always wondered how the exponent fits into the calculation.

A few more real-live texture examples would be nice. No simplifications please.

PowStudios
Posts: 62
Joined: Tue Mar 16, 2010 5:21 am
Location: Hessia

### Re: Tutorial bump map?

Headroom wrote:A few more real-live texture examples would be nice. No simplifications please.
'+1' - More examples with pictures would be great. The explanation above is valid?
MacBook 2.4Ghz, 2GB + i7-920, 6 GB