Advertisement Jump to content

Archived

This topic is now archived and is closed to further replies.

RedeyeJedneck

---> my d3d app doesnt work right :(

This topic is 6580 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

Everything is ok in the app except that the index vertix doesn`t make a square...it makes a square without the top...and when i try to fix it it wont let me...it keeps making it look screwed up...It makes a square but it doesnt have a top...can someone post a fixed index please... here is the index vertix WORD cube_indices[36] = {0, 1, 2, 2, 1, 3, 2, 3, 4, 4, 3, 5, 4, 2, 0, 4, 6, 0, 0, 7, 1, 0, 6, 7, 7, 6, 4, 7, 4, 5, 7, 1, 6, 6, 5, 1,};

Share this post


Link to post
Share on other sites
Advertisement
{0,1,2,
2,1,3,
4,3,5,
4,5,6,
6,5,7,
6,7,0,
0,7,1,
1,7,3,
3,7,5,
0,2,6,
2,4,6};

has always worked for me..

Wazoo

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!