Jump to content
  • Advertisement
Sign in to follow this  

Problems with directx 8 and visual basic 6

This topic is 4420 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am programming with directx 8 in visual basic 6.To model and export my objects I use blender 3d(GRAPHICS SUITE) .However when I export an object from blender to the .x format it does not appear in my application when it renders.This happens with all objects except from the cube.Also when I am trying to load suzzane , I get an error message(this does not happen with the rest of the meshes) Here is the code I use in visual basic 6 to load the object. Set Obj.Mesh = d3dx.LoadMeshFromX("c:\1.x", D3DXMESH_MANAGED, d3ddevice, Nothing, buf, 1) mesh is a D3DXMesh variable d3ddevice is a Direct3DDevice8 variable buf is a D3DXBuffer Thanks in advance [Edited by - SmaTheGreek on September 14, 2006 3:15:35 PM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!