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


My mesh don't upscale:(

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