Problem with .x models

Started by
17 comments, last by Best 21 years, 7 months ago
A point that could be important:
If i first render the track, you see first the track and then the car. If i first render the car, you see first the car.





[edited by - Best on September 5, 2002 6:53:33 PM]
Advertisement
Sorry man, I don''t know what else to say :/

Those truly are the wierdest screenshots I have ever seen
I had a similar problem.

Turned out that I did not have the view matrix set. Make sure you have both a world and view transform active. From what you have shown it seems you have done that, but might want to double check.

Strangest thing, when I did not have the D3DTS_VIEW set, and just the D3DTS_WORLD set, it seemed my models were rendering inside out.
do you want me to post the code? I hope someone could help me...
Yes, that would be very helpful...just cut out some code from your matrix code.
Ok, i will post it in a moment.

PD: VAMOOSS ARGENTINA CARAJOO!!!! Ahora toca Yugoslavia.
Make sure the ZWRITE render state is on, and make sure your near plane in your projection matrix is not 0.0f. Make it like 1.0f
The problem has been solved. The problem was in the projection matrix. I put 0 in the Max distance, i changed it and walla!
thanks to all.

This topic is closed to new replies.

Advertisement