Welcome, Guest. Please login or register.

Author Topic: Direct3D  (Read 2822 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tkgshowTopic starter

  • Newbie
  • *
  • Join Date: Mar 2009
  • Posts: 9
    • Show all replies
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);