Filename = MediaUtilities.FindFile(Filename)
SystemMemoryMesh = Mesh.FromFile(Filename, MeshFlags.SystemMemory, Device, AdjacencyBuffer, Mat)
(Resolved)Frame Transformation Mesh.FromFile
Hi,
Using Vb.net 2003 and Dx9.0c
I have a mesh class very similar to dxmutmesh
in the sample framework.
I need to get the Frame Transformation matrices
out of the .x files
This class uses the Mesh.FromFile method like:
Is there anyway to get the Frame Transformatiom matrices so that I can
use them without having to read the file again.
Thanks
Steve
[Edited by - Steve5050 on June 20, 2008 12:46:00 PM]
I'm not very familiar with VB. However, the docs for FromFile state:
"If the file contains a frame hierarchy, all of the transformations are applied to the mesh."
which implies it generates no frame info.
If you're intending to use a skinned mesh, I think you should be looking at LoadHierarchyFromFile.
"If the file contains a frame hierarchy, all of the transformations are applied to the mesh."
which implies it generates no frame info.
If you're intending to use a skinned mesh, I think you should be looking at LoadHierarchyFromFile.
Hi again,
I can't use LoadHierarchyFromFile,In my other posts on here
I was trying for months trying to get animation working but
it would never work and I don't want to revisit the issue
because there never was a solution.
I am going to have to find a way to use the transformations.
I know what they are,I don't need worry about finding them or
about the Hierarchy because I found a way to deal with that part.
Being that I know what they are is there a way get at them.
Thanks
Steve
I can't use LoadHierarchyFromFile,In my other posts on here
I was trying for months trying to get animation working but
it would never work and I don't want to revisit the issue
because there never was a solution.
I am going to have to find a way to use the transformations.
I know what they are,I don't need worry about finding them or
about the Hierarchy because I found a way to deal with that part.
Being that I know what they are is there a way get at them.
Thanks
Steve
I'll ask this also.
Is there away I can use Mesh.LoadHierarchyFromFile
to just load a model?
I'm going to try and see if I can work on that, I haven't
seen anybody using Mesh.LoadHierarchyFromFile other than
with the skinned mesh sample.
Thanks
Steve
Is there away I can use Mesh.LoadHierarchyFromFile
to just load a model?
I'm going to try and see if I can work on that, I haven't
seen anybody using Mesh.LoadHierarchyFromFile other than
with the skinned mesh sample.
Thanks
Steve
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement