Please log in or register to post a reply.

No replies have been made yet.

- Upcoming Multiplatform Game Program...
- Network Emulation Tool
- Trouble with accessing GLSL array
- Game Programming Patterns: Bytecode
- Fiction
- Unreal Engine 4
- Skeletal Animation Tutorial with GP...
- Interactive WebGL Water Demo
- Microsoft xbox one selling poorly
- Using OpenGL Camera with Box2D in C++

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` = P`u + P`v

P`u = Pu + Bu N + B(u,v) Nu

P`v = 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?