Jump to content
  • Advertisement


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



This topic is 5616 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!