Computer Graphics

Moderators: Sephiroth
Number of threads: 1241
Number of posts: 2641

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Direct3D .x file format, where's my texture? Posted by TJay on 9 Jul 2002 at 6:24 PM
I'm having real problems getting any .x files that i create to display textures. I have used several 3d modelling tools (openfx, truespace, and blender) to create a model and then used crossroads to convert to .x format. Does anyone know why i get no texture info?

Thanks.
Report
Re: Direct3D .x file format, where's my texture? Posted by Sephiroth on 10 Jul 2002 at 12:10 AM
: I'm having real problems getting any .x files that i create to display textures. I have used several 3d modelling tools (openfx, truespace, and blender) to create a model and then used crossroads to convert to .x format. Does anyone know why i get no texture info?
:
: Thanks.
:
Never heard of a model format that "contains" textures. The modeling I know of and that game companies use contains only mesh data and references to the textures. You then have to load the texture from a seperate file or such and wrap it onto your model. If there is a model format that stores the mesh, then the textures, and any ID values, let us game programmers know, as it's news to us!

-Sephiroth

Report
Re: Direct3D .x file format, where's my texture? Posted by TJay on 10 Jul 2002 at 7:31 AM
: : I'm having real problems getting any .x files that i create to display textures. I have used several 3d modelling tools (openfx, truespace, and blender) to create a model and then used crossroads to convert to .x format. Does anyone know why i get no texture info?
: :
: : Thanks.
: :
: Never heard of a model format that "contains" textures. The modeling I know of and that game companies use contains only mesh data and references to the textures. You then have to load the texture from a seperate file or such and wrap it onto your model. If there is a model format that stores the mesh, then the textures, and any ID values, let us game programmers know, as it's news to us!
:
: -Sephiroth
:
: Indeed the model doesnt "contain" the texture, the "texture info" i was referering to is the reference to the texture, which is part of the .x file. So i load the mesh into the buffer and try to extract the material and texture names but nothing there.

Report
Re: Direct3D .x file format, where's my texture? Posted by Sephiroth on 10 Jul 2002 at 7:47 PM
Have you tried opening your X file in a hex or binary editor to verify that the texture data was being stored? If it isn't stored for some reason, that's why it can't get any out when loaded. I am unfamiliar with this X format, but I'll do some poking around. Check to make sure the texture info is being stored in the file first.

-Sephiroth

Report
Re: Direct3D .x file format, where's my texture? Posted by Englefunk on 30 Apr 2009 at 3:10 AM
I have the same problem - did u resolve this issue? if so PLEASE let me know - i'm using cinema 4D, and when looking its not saving the texture info....

seems silly not to use .x files if they can hold the data needed.

Thanks
Englefunk



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.