Original Post
🔒 Locked
Meshes
Advertisement
to move the meshe:
do u know how Direct Input works? (u use Dx?)
to load:
the meshe that u downloaded probably isn''t the same type that the SDK meshes...or then...i don''t know what u did and ur meshe...
sorry about my english
do u know how Direct Input works? (u use Dx?)
to load:
the meshe that u downloaded probably isn''t the same type that the SDK meshes...or then...i don''t know what u did and ur meshe...
sorry about my english
First it shouldn''t hang while loading the mesh unless the mesh is invalid. If the mesh is something like an animation mesh with more set it will default and load the first. So I believe your mesh is invalid or you aren''t including all the textures.
As for moving around it around the screen is a little tougher. In fact you really move it around the world unless you are taking screen coordinates and projecting to the worlds space.
But for moving in the worlds space it is simple. Just find a tutorial on it, it is basically just rotating and translating a matrix and then setting that as the world matrix before it is rendered.
As for moving around it around the screen is a little tougher. In fact you really move it around the world unless you are taking screen coordinates and projecting to the worlds space.
But for moving in the worlds space it is simple. Just find a tutorial on it, it is basically just rotating and translating a matrix and then setting that as the world matrix before it is rendered.
Directx has a method to create a bounding box around the mesh, once you get that you know it''s width and height and then scale to width or height when you draw the mesh. You could also just resize the mesh with the program you used to draw it.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement