Sign in to follow this  

Problems with directx 8 and visual basic 6

This topic is 4111 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

This topic is 4111 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this