Welcome, Guest. Please login or register.

Author Topic: Direct3D  (Read 1188 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tkgshowTopic starter

  • Newbie
  • *
  • Join Date: Mar 2009
  • Posts: 9
    • Show only replies by tkgshow
Direct3D
« on: May 26, 2009, 01:04:15 AM »
Can anyone help with Direct3D C++?
Why would a program that renders the top, bottom, front and back of a box using

    d3ddev->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 0, 16, 0, 8);

crash my PC when changed to render the complete box using

    d3ddev->DrawIndexedPrimitive(D3DPT_TRIANGLELIST, 0, 0, 24, 0, 12);
 

Offline x303

Re: Direct3D
« Reply #1 on: May 29, 2009, 06:47:27 PM »
Maybe this article will give you some more insight: http://blogs.msdn.com/jsteed/pages/drawindexedprimitive-demystified.aspx

x303 :D :D :D