Rotating objects around Y axis to face viewer
> I've now just got to get my head around converting camera<-
> world coords so I can generate the matrix
If your view matrix is changing every frame, it might be easier to extract
some vectors from the view matrix to orient your billboard towards the
camera. I've got a tutorial based on VB code here:
It makes a diamond shape, but you should be able to convert it to what you
> I wish I paid
> more attention in my 3D graphics course at university.
Would have been nice if my college had a 3D graphics class when I was
Microsoft Visual Basic DirectX MVP
The opinions expressed in this message are my own personal views and
do not reflect the official views of Microsoft Corporation. The MVP program
does not constitute employment or contractual obligation with Microsoft.