Tutorial bump map?

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

Re: Tutorial bump map?

Post by madcoo » Thu Jan 07, 2010 2:43 am

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)
:lol:
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?

Post by Soup » Tue Jan 12, 2010 10:06 am

Just to clarify, here's something I wrote for the manual (might have to simplify it, not everyone knows calculus :P)
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:

A value – Quadratic

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

Post by Dordixs » Sat Mar 27, 2010 10:10 am

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

User avatar
Headroom
Indigo 100
Posts: 1058
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA
Contact:

Re: Tutorial bump map?

Post by Headroom » Sun Mar 28, 2010 2:13 pm

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.

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

Re: Tutorial bump map?

Post by PowStudios » Tue Mar 30, 2010 7:22 am

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
My MacBook 'whines': http://www.google.com/search?q=macbook+whine
If anyone has a solution that works pls message!

Post Reply
35 posts

Who is online

Users browsing this forum: No registered users and 3 guests