Skip to main content
GameDev.net gamedev.net
🔒 Locked

tangentspace view vector?

Started by Dragon_Strike Sep 24, 2006 at 3:25 PM 2 replies 1.1k views
Original Post
Dragon_Strike
Dragon_Strike
i seriously dont get this tangent space stuff... been looking around but to no prevail.. how do i get the tangentspace viev vector from the camera vectors t?
jpetrie
jpetrie
That depends on what you have already. If, for example, you have the view vector in world space, you just multiply it by a matrix that tranforms from world space to tangent space. If you have it in view space, you'd have to use a matrix that transforms from view space to tangent space, or you'd have to first bring the view space vector into world space and then use the first matrix.

This page has a discussion of the derivation of the tangent space matrix.
INVERSED
INVERSED
Actually it's spelled voila... it's french. Not to be confused with viola, which is like a large violin. Neither are to be confused with the topic which I seem to be off.
Write more poetry.http://www.Me-Zine.org

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.