VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
RE: What happened to the 'VB DX' "foundation& Soop (2 replies, 0 views) (2000-Dec-6) OH NO, light hearted humour.. we can't have that terrible thing here..
not to fear people, to conteract this devillish thing they call "humour" I have brought you :
"Introduction to Bezier Curves and Surfaces"
Bezier curves are parametric curves defined by a set of n+1 control points (P0-Pn), which define the “basic shape” of the curve, and a parameter (t), in the range of [0..1].
Bezier curves are polynomials of n-th degree that interpolate between the control points, where C(0) = P0 and C(1) = Pn.
Bezier surfaces are two-parameter expansions to the Bezier curve concept. Bezier surfaces are defined by an (n+1) x (m+1) matrix of control points (P), which define the “basic shape” of the surface, and two parameters (s and t), both in the range [0..1].
Lighting and reflection mapping calculations require the normal vector for each surface point (s, t). To calculate this vector, we first differentiate the surface equation with respect to s and t. The resultant partial derivatives define two vectors in the plane tangent to the surface at (s, t).
..phew I hope we all feel better and hope no one EVER does that again
|