Jump to content

  • Log In with Google      Sign In   
  • Create Account

diolee

Member Since 12 Mar 2012
Offline Last Active Apr 09 2012 03:41 AM

Topics I've Started

How to get a correct TBN matrix and TBN quaternion?

04 April 2012 - 04:03 AM

Hi,

For saving the bandwidth of video memory, my project decided to use a quaternion to store a TBN.

Now I get a tangent, bi-tangent and a normal vectors. for converting them to a quaternion, I use a 3x3 matrix that the Rows i, j, k of the matrix stored t, b, n. for sure I have already been to normalized the t,b,n and did the Schimdt orthonormal.

Then, I transformed the matrix to a quaternion. In order to test the quaternion, I transformed the quaternion back to matrix. unfortunately, the values of these vectors were all wrong.

I doubted the 3x3 Matrix which I built was not correct, or something else. I'm not sure.

Who knows how to deal with this?

Regards,
Dio

Does boost::pool really header-only in 1.49.0 ?

12 March 2012 - 12:41 AM

Before I used the boost::pool version 1.43, it's head file only indeed.

Now I update the boost lib to version 1.49, although the document said:

The Boost Pool library is a header-only library. That means there is no .lib, .dll, or .so to build;


But when I compile my project, here it is the error information:

2>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-gd-1_49.lib'


I googled for answer, but nothing helpful.

Does Anyone know the reason?

PARTNERS