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.

3 Dimensional Chat / Problem using UV mapping

Author
Message
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 1st Oct 2006 19:18
Hey.
I am using wings3d's UV mapping to give my models textures, but when i export it as a .3ds then convert it to a .x using DBconv, there seems to be no data of a UV mapping reference of the .bmp texture (so i have heard). How do i find what is the problem and if so, how do i fix it? here is the .x file if it helps.
Thanks!
P.S. The Texures are entitled "Racing 8" and "racing 9"

Attachments

Login to view attachments
james1980
22
Years of Service
User Offline
Joined: 18th Sep 2002
Location:
Posted: 1st Oct 2006 21:54
i think you should stick to the .x file for in game, the .3ds file seems to do that.
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 2nd Oct 2006 14:36
thanks, but i do stick the .x file in my T3DGM. Is it something to do with me converting it? also, what am i supposed to be looking for inside the .x file and how do i fix it?
Cheers!
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 2nd Oct 2006 23:45 Edited at: 2nd Oct 2006 23:45
This is how to get your 3ds file into DBPro with correct UV textures.

1. Export your model as a 3ds file.

2. Place it into a directory with the texture files and DBConv.exe

3. Run DBconv.exe.

4. Open the new direct x file it created in notepad.

5. Do a search for "tif".

6. You'll find that whatever the format of the textures, for some reason DBConv.exe makes them .tif

7. Rename them correctly so that if it is called "door.png" not "door.tif" name it so. Do this for all the textures.

8. Try loading the direct x file and the textures should load in.

BLACKMESA:SOURCE - mod for HL2 - Texture Artist
BIRTHSTAR:FRONTLINE - Texture & Environment Artist
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 4th Oct 2006 15:10
Cool! Thanks!!
P.S. U rock!
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 5th Oct 2006 20:09
I can't believe it! it still doesn't work!! i've searched for 'tif' and it can't find anything, but when i search for 'bmp' it finds only one when there are two... is this anything to do with it? Please help me, it's getting really frustrating! I have no idea.
THANK YOU!!!
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 5th Oct 2006 21:37
Do you know what the textures are called?

Search for the first part of the name. See if you have all the textures you used listed in the file. If some are missing, then you know that the problems is with Wings 3d.

Open the 3ds file in a text editor and also search for all the textures.

I don't think Direct x does not support multiple textures on a single mesh either.

I'm afraid there has always been problems with art pipelines in game engines. I don't actually know a workflow for DBPRo that actually works flawlessly! (except perhaps 3dsmax->panda exporter->DBPro and maybe milkshape3d).

I use Softimage XSI and the above technique works until I try to use the Dark lights on it and then I discover the exported polygon normals ("directions") aren't right.

So either I don't rely on UV mapping and CAN use dark lights or I rely on the UV mapping and I can't. But I want both - so at the moment... i'm stumped (and don't have the time to waste on technical issues!).

To be honest, I'm as frustrated with it as you are!!

BLACKMESA:SOURCE - mod for HL2 - Texture Artist
BIRTHSTAR:FRONTLINE - Texture & Environment Artist
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 7th Oct 2006 11:50
ahh... so what i have to do is have all my textures in one .bmp file, right? but will that solve the problem of there being no texture at all? I use DBconv and when it previews the texture, it comes up white, but the wheels come up a grey colour. Just keeping you updated. Thanks for all the help!
Redmotion
21
Years of Service
User Offline
Joined: 16th Jan 2003
Location: Mmm mmm.. Marmite
Posted: 7th Oct 2006 13:05 Edited at: 7th Oct 2006 13:06
DBconv always shows the texture missing and the model all white whether it is textured or not! Sorry about the misunderstanding!

You need to open the file in DBPro to see if it works as thats where it will end up, type in DBPro:-


Just make sure all the media required is in the same directory as the code/exe. It should work ok.

Let us know if it's working ok.

Some advice, you have to tinker a lot more - it's the only way to win! (For example: I've just spent nearly 3 hours this morning trying to export an animation only to discover that the thing making DBPro crash wasn't with the exporter/animation creation/DBPro but with the animation starting at frame -1, I switched it to start at 2 and now its working fine!)

BLACKMESA:SOURCE - mod for HL2 - Texture Artist
BIRTHSTAR:FRONTLINE - Texture & Environment Artist
Alex T3DGM guy
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 8th Oct 2006 21:15
ah, uh... sorry but I don't have DBpro, I only have the 3D gamemaker. I could open it in Notepad though. I would tinker alot, but i just don't know what to do. In Notepad there's just a load of symbols and numbers and perhaps 1 or 2 file names. Everything is in the right place, but i save it in 'My Documents' then convert it and transfer it to C\Program Files\Dark Basic Software\The 3d Gamemaker\Objects\blank Stock Car 2 (the model name directory). Might this have anything to do with it?
Sorry for overcrowding you, I'm just realising possible mistakes and hoping (rather desparately now) that someone will find out what it is.
Thank you SO much
Computer Blob
20
Years of Service
User Offline
Joined: 6th Apr 2004
Location:
Posted: 8th Oct 2006 23:04
Can't help directly with T3DGM issues, but maybe clarify a point made about textures. It is not that you can't have more than 1 texture file, but that it might not be permissible to apply 2 textures to the same part of your model; i.e., a tire on your car model. However, it is a common practice to see all textures for a single object "skin" placed in a single texture file, with UV mappings projecting the appropriate parts of the image to desired model parts.

My general thought is, I can't imagine the movement of the model and texture files as being a problem, as long as you move everything into the prescribed gaming directories (however warrented by T3DGM). Model import/export always seems to be a troublesome issue, so hang in there to find the right mix.

Tony Tobianski
Dallas, TX

Login to post a reply

Server time is: 2024-11-26 20:24:43
Your offset time is: 2024-11-26 20:24:43