.x screwed up when transforming
Hiya! Is there a step I´ve missed when trying to transform .x files. I´ve loaded it and it renders fine, but when I try to transform it in any other way than rotation it gets all screwed up or it disappears. Any suggestions?
quote:Original post by shakazed
Any suggestions?
Try to drink at least 8 glasses of water a day and get plenty of excerise.
As far as your transformation problem, I wouldn''t be surprised if your aren''t moving it in some way past your camera. Without code, you are pretty much asking the impossible of people here...
What values are you putting in your translation and scaling matrices? Perhaps you are using screen coordinates, which a lot of people mistakenly do at first.
Another thing that it might be is that you are not multiplying your transformation matrices in the correct order (matA * matB != matB * matA).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement