.x screwed up when transforming

Started by
2 comments, last by shakazed 20 years, 3 months ago
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?
Advertisement
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.


Co-creator of Star Bandits -- a graphical Science Fiction multiplayer online game, in the style of "Trade Wars'.
Another thing that it might be is that you are not multiplying your transformation matrices in the correct order (matA * matB != matB * matA).
Got it working, made an error when enabling z buffer. Thanks anyways dudes!

This topic is closed to new replies.

Advertisement