Jump to content
  • Advertisement
Sign in to follow this  

how to make a rect.

This topic is 4522 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
You're going to want a triangle strip. Take a look here for how to put two triangles together as a strip.

How much do you know about DX?

That's actaully a great tutorial all around, so if the code on that page doesn't make sense, take a look.

Share this post


Link to post
Share on other sites
Try to make use of the d3ddevice->clear() parameters and see if it fits your needs, but using vertices would be the way to go...

Share this post


Link to post
Share on other sites
Quote:
Original post by kingnosis
You're going to want a triangle strip. Take a look here for how to put two triangles together as a strip.

How much do you know about DX?

That's actaully a great tutorial all around, so if the code on that page doesn't make sense, take a look.


Actually, a triangle strip is pretty much pointless for one quad.

Share this post


Link to post
Share on other sites
Quote:
Original post by Dave
Quote:
Original post by kingnosis
You're going to want a triangle strip. Take a look here for how to put two triangles together as a strip.

How much do you know about DX?

That's actaully a great tutorial all around, so if the code on that page doesn't make sense, take a look.


Actually, a triangle strip is pretty much pointless for one quad.


ok, so how would i do it?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!