Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

I was having a problem trying to use the mesh.intersect method however i have solved it. I have no idea what the problem was however my solution was to create the mesh from an x file instead of from code so i guess i need to know some more about how to make a mesh from code. the current mesh was just a 150x150 square. what i was using to create the mesh was

mesh = new mesh(2,4,customvertex.positiononly.format,d3d.device)

then creating a 4 vertex array and using the mesh.vertexbuffer.setdata method. But this doesnt seem to work. Any one know of a proper tutorial on creating mesh's from code?

Edited by rifter1818

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...