Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / .x/.3ds model question

Author
Message
haYnguy
16
Years of Service
User Offline
Joined: 5th Jun 2008
Location: on my island
Posted: 7th Jun 2008 05:30
i was wondering if i have to manually apply the texture to a .x or .3ds model. I noticed in the tutorial that they didn't need to do anything else but load the model and it appeared textured, but when i load a .x model , all i get is an untextured model.

-- from my island, aloha wau 'ia 'oe --
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 7th Jun 2008 13:02
if the model has been textured in the software it was created in, then the texture is loaded automatically in GDK.

you have to make sure that the texture picture files are in the same path of your .x model.

if you are exporting an .x model from a .3ds one make sure you did not ommit to export textures (happens sometimes!)
haYnguy
16
Years of Service
User Offline
Joined: 5th Jun 2008
Location: on my island
Posted: 7th Jun 2008 15:01
see, i'm using blender and what i do is make the model, texture it, and export it as a .x or .3ds file when i like the way it looks. but when i try to get it to appear in the 3d space, only the model appears and no texture. Both the model and texture files are in the same folder.

it makes me angry :S

-- from my island, aloha wau 'ia 'oe --
CAJUN57
16
Years of Service
User Offline
Joined: 29th May 2008
Location:
Posted: 7th Jun 2008 21:55
I use blender to. All you have to do is open the direct x file with notepad. Scroll down until you see this


make sure that texture file name is right. if youe export from blender it will be wrong. just correct it and hit save.
Then it will load textures

The South Will Rise Again Software Development Comp.
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 7th Jun 2008 22:41
Huh, I had that same problem..... Thanks!

~~Its not about what you know, its about how you figure it out.~~
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 8th Jun 2008 01:07
If the textures are referenced in 3DS Max, then you'll need to include the texture files in the same path as said by bjadams.

And CAJUN57, you're a genius! I was having issues with blender exporting, but you fixed my problem. Thanks.

dbPrint ( "Sig" );
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 8th Jun 2008 01:09
Huh, it doesn't work with mine, because it doesn't even have textureFileName!!!! Where should I add it?

~~Its not about what you know, its about how you figure it out.~~
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 8th Jun 2008 01:31
You have to open it with notepad, and it has to be in .X format. Try using the find function: CTRL-F(if you haven't already).

dbPrint ( "Sig" );
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 8th Jun 2008 02:17
Yeah, I already used CTRL-F, nothing showed up. Where can I put the code? Where is it in a model that works?

~~Its not about what you know, its about how you figure it out.~~
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 8th Jun 2008 02:31
It depends on how big the file is. For me, it was at the end of the file.

Take a look at the attachment. It's a treasure chest in .X format. Unzip it and go to the models folder, right click the file in there, and hover over "Open With..." and click Notepad. Then press CTRL F and search for "TextureFileName" (no quotes). It's at the end of the file.

dbPrint ( "Sig" );

Attachments

Login to view attachments
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 8th Jun 2008 08:52
most probably you have to select "EXPORT TEXTURE" in Blender .X export
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 8th Jun 2008 13:49
Quote: "most probably you have to select "EXPORT TEXTURE" in Blender .X export "


I would. IF there was that choice.

(Need a Name)
haYnguy
16
Years of Service
User Offline
Joined: 5th Jun 2008
Location: on my island
Posted: 9th Jun 2008 17:24
yeah, there is no choice for exporting textures. What do I do now?

-- from my island, aloha wau 'ia 'oe --

Login to post a reply

Server time is: 2024-10-07 21:26:30
Your offset time is: 2024-10-07 21:26:30