Convert a vector to another vector's space?

Blitz3D Forums/Blitz3D Programming/Convert a vector to another vector's space?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This stuff is still hurting my head too.

this is messy, it's a mash of Fredborgs original DOT3 code, a snippet of yours Halo, and some of my own. It produces ok results, but I'm not sure when stuff is rotated.

b.t.w this is slightly different from one I posted a few weeks back, the shading wasn't correct, but it is using Halos tangent>rgb math.

The problem for rotating meshes seems to be hierarchial tranformations.

http://www.tomspeed.com/test/normal-mapping-2.zip

Tom