Questions tagged [.x]

Direct3D Object (Microsoft Corporation)

3D image file used by DirectX technology, which is often used for rendering 3D graphics in games; may contain specifications for meshes, textures, animations, and objects; can be exported using the DirectX SDK plugins for 3ds Max and Maya, or with custom exporters for programs such as Blender and DeleD

13 questions
3
votes
1 answer

Writing .x files

I have a bunch of polygons that are generated by my program (i.e. I manually calculate the position vectors for the vertices). I want to dump these to a .x file (or .fbx or any format I could reload later with XNA). Is there any C# or XNA API for…
Yaniv
  • 315
  • 1
  • 4
  • 8
3
votes
1 answer

Mapping Ragdoll to Model (DirectX and .X file + PhysX)

I'm trying to create ragdolls using an engine delivered by my teachers. We use DirectX 10, the .X format as mesh file (using assimp and a closed parser designed by the teachers) and Nvidia PhysX. I've got working animations (mesh deforms oke) and I…
TheGoozah
  • 101
  • 4
2
votes
1 answer

Loading a .X model in DirectX 9

I'm trying to make my first 3D demo for my portfolio but I'm having problems loading in multiple .X files so that I might be able to make a simple game. I've worked through the msdn tutorials and Frank Luna's book that show how to load in one mesh.…
Sean O'Brien
  • 75
  • 1
  • 6
2
votes
1 answer

Parse DirectX mesh file (.x) in C#

I have a requirement in which I have to save my 3D mesh figure in .x format. I am making my figures using WPF with C# (as DirectX support not present in Visual Studio 2010 - C#). After making 3D figures (sphere, cone etc), I have to store the…
Aman
  • 696
  • 1
  • 8
  • 26
2
votes
1 answer

How to load .x model in Three.js?

Is there any way to load an animated .x model in Three.js? I have no idea, how to do it. In addition, I tried to convert the .x model to collada, but I haven't found any free program, which can convert animated .x to collada.
Danny Fox
  • 38,659
  • 28
  • 68
  • 94
1
vote
1 answer

what is string strName<>?

I have seen code like this: struct failed_login_res { string errorMsg<>; unsigned int error; }; What does the <> at the end mean? How is it different from normal declaration like string errorMsg? Correction: this is for RPC stub, not C++…
Figo
  • 1,700
  • 3
  • 15
  • 24
1
vote
2 answers

Loading 3D studio Max generated animation in DirectX

I need to load 3DsMax generated animation in DirectX.File type(.X or any..) is doesn't matters.But the animation should have to played perfectly. Please if any budy have any sample code or any type of resource or any kind of help will be…
user839335
1
vote
0 answers

Heap Corruption Detected with .X Parser

I'm making a parser to read .X files to a renderer and I encountered a problem while parsing the file. The error apparently shows that a Heap Corruption has been detected in the parsing function. That problem only happens on a certain line from the…
1
vote
2 answers

XNA - How to access a texture from .x model?

I am just getting into XNA programming and have been unable to figure out how can I access the texture from a ".x" model. I am using a custom shader to display my model (just a cube with a texture mapped on it) with the filters set to point. To do…
Wabafet
  • 31
  • 5
0
votes
1 answer

Using a .x file mesh with textures is overwriting other objects colours?

Im currently writing a puzzle game in c++ directX 9. Not much of it has been a problem however some of my .x files that I am using (using a mesh class that reads them in etc) seems to overwrite the colours of other stuff. For example I have a green…
Rex87
  • 27
  • 1
  • 5
0
votes
0 answers

Eular angles to Matrix and visa versa

I have searched all across the forums including stack overflow. I found a solution that seems to work for XYZ but its only using 9 of the possible 12 parts of the matrix which I believe is the scaling part and would appreciate a little help as to…
0
votes
1 answer

"Unreplaced values treated as NA as .x is not compatible": Recoding numeric variables

I have a numeric variable (V110) that takes on values between 1-4. As the numbers stand for higher (1) and lower (4) trust in the govt, I want to recode them, so that the highest value signifies the highest and the lowest value the lowest trust. Now…
ureuss
  • 1
  • 1
  • 1
  • 1
0
votes
1 answer

Issue with animated .x files and multiple materials

I've been trying to export skinned and animated .x models with multiple materials on the same mesh but have found the skinning breaks when that happens. The animations work fine but the mesh stops wrapping around the bones properly (it seems) with…
meds
  • 21,699
  • 37
  • 163
  • 314