• Advertisement


This topic is now archived and is closed to further replies.


This topic is 5496 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m trying to implement billboarding in a 3D scene, and it works if you look directly at the object from anywhere in the scene, but if you look away, the image stretches to fill the side of the scree you looked to, what''s going on? Here''s my Code: D3DXMatrixIdentity(&matWorld); lpD3DDevice->GetTransform(D3DTS_VIEW,&matView); D3DXMatrixTranspose(&matWorld,&matView); lpD3DDevice->SetTransform(D3DTS_WORLD, &matWorld); lpD3DDevice->SetTexture( 0, Texture ); lpD3DDevice->DrawPrimitive(D3DPT_TRIANGLEFAN, 0, 2); Thanks for any help you can give me.

Share this post

Link to post
Share on other sites

  • Advertisement