What's new

Need help with VB.NET + Direct3D

Teamz

J'aime tes seins
ok I'm trying to load a mesh from a .x file but it returns an exception and I really dunno why, the exception occurs when this method is called :

mesh.FromFile("BM-TOU-08.x", MeshFlags.SystemMemory, device, materials)

btw, the exception string is E_FAIL

:ermm:
 
catch it as a different exception (eg system.exception.arithmatic) that at least will tell you what kind of problem it is better
 
OP
Teamz

Teamz

J'aime tes seins
I was able to load the mesh file, the problem was with the 3ds->x converter

now the problem is that the mesh isnt showing off in my window, if any1 has a suggestion ...
 

Top