0
101 Feb 11, 2003 at 02:02

Am currently attempting to make a software renderer and lookin into doin bumpmapping.

Dont no if this is the best technique?? but have been lukin at Alan Watts - 3D Computer Graphics and the following equations to displace a point P and then calculate its new perturbed normal:

-to displace point
P(u,v) = P(u,v) + B(u,v) N

-to calc normal
N = Pu + Pv
Pu = Pu + Bu N + B(u,v) Nu
Pv = Pv + Bv N + B(u,v) Nv

where Pu and Pv are partial derivatives lying in tangent plane

Understand the theory behind wats goin on but dont quite understand wat are, and how to calculate Bu, Bv ,Nu, and Nv?