Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I can now create an object and load an object into DX9. What I can't seem to do is display an object as a wireframe? All I seem to be able to do is display it with a solid colour??

 

Any pointers please:)

My website
Posted

Yes but this type of code does not appear in the sample I've learned from the SDK;

 

For i = 0 To m_matSphere.Length - 1

    ' Set the material for this subset
     m_obj3DDevice.Material = m_matSphere(i)

     ' Draw the mesh subset
      m_mshSphere.DrawSubset(i)

Next i

 

So can't see how to do it?

My website

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...