Cool, I got it up.
All I really had to do was change the z coordinated to 0s and you can see the triangle. Of course, this probably has to do with the way the camera was set up.
Thanks for all the help
Drawing Primitives with DXUT
Just out of curiosity, why would the triangle disapear when I add the z coordinate?
I'm planning on just doing 2D stuff, but I might need to do some rotation. Is there some Z buffer function I need to call?
I'm planning on just doing 2D stuff, but I might need to do some rotation. Is there some Z buffer function I need to call?
Hi!
Can you show me the variables declarations, I have the same issue, I have my code working without DXUT, I can rotate it, an do some basic stuff.
Now I want to modify the code and take it to DXUT. Can you help me with the 'translation'?
Best
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement