locked
Creating Meshes RRS feed

  • Question

  • I know it's a silly question but........... how do I create meshes using vertex buffers index buffers and vertices?  I really don't know how to ....... For example...... how do I create a mesh having those vertices:

    v[0].Position = new Vector3(0,1,1);

    v[1].Position = new Vector3(-1,-1,1);

    v[2].Position = new Vector3(1,-1,1);

    and how do I draw it?

     

     I really don't know how to

    Thursday, April 5, 2007 8:10 PM

Answers

  • Look up in the SDK's Managed D3D samples. Several of them does this...
    Friday, April 6, 2007 12:11 PM