Jump to content
  • Advertisement


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


My mesh don't upscale:(

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

Hey guys, I''m trying to animate a simple mesh to upscale using a loop, but instead of scaling I see a line of instances of meshes of increasing size for a mere micro second. I''m calling the functions through classes and all. What could be the problem: here is my code
CreateExplosion(int i)
D3DXMATRIX matrixScale, matrixCurrentPos, matrixTransformation;
D3DXMatrixScaling(&matrixScale, i,i,i);
D3DXMatrixTranslation(&matrixCurrentPos, x,y,z);
lpDevice->SetTransform(D3DTS_WORLD, &matrixTransformation);
Actually i''m tring to emulate an explosion using just a simple circle mesh, but I would gladly welcome other suggestion explosion effects.

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!