Drawing Primitives with DXUT

Started by
12 comments, last by Fanschop 10 years, 3 months ago
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

Advertisement
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?
Hmm, nevermind. I forgot to remove the RHW

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