1 registered members (henrybane),
1,246
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
MED model Texture Problems.
#350465
12/16/10 11:38
12/16/10 11:38
|
Joined: Dec 2010
Posts: 12
Psygnal
OP
Newbie
|
OP
Newbie
Joined: Dec 2010
Posts: 12
|
I'm having an odd issue with .mdl and MED that I can't seem to get a handle on.
I can load the sample models that came with the GStudio application just fine, and have been using them (specifically the mig mdl) just fine as placeholders while coding a space shooter.
I've since replaced them with models exported from elsewhere as .obj, and saving them as .mdl for use in GStudio.
In MED they look fine. The textures look just as I would expect them to, and everything seems perfectly normal. However, when using the engine to preview them, or when using them via ent_create they simply don't seem to display.
The entities are physically there, as my collision events work fine - it's just that you can't see them. The only change to the code is that I've replaced the placeholder .mdl with the new .mdl I've imported into MED and saved.
I've tried remapping the models, and loading the textures in separately, and even flagging them as having external textures.
If I don't skin the models, they appear just fine (but without textures) - if I do skin the model, they just disappear.
At this point, I'm somewhat stuck. I've banged my head on this one for hours. Any help would be appreciated.
Rob
|
|
|
Re: MED model Texture Problems.
[Re: TerraSame]
#350472
12/16/10 12:11
12/16/10 12:11
|
Joined: Dec 2010
Posts: 12
Psygnal
OP
Newbie
|
OP
Newbie
Joined: Dec 2010
Posts: 12
|
Here's an example of the model in question. http://www.mordorbbs.com/temp/minfrig.mdl (5.9mb) I'm quite prepared to believe that I'm doing something very newbie in relation to MED and alpha channels. Thank you for your assistance. Rob
|
|
|
Re: MED model Texture Problems.
[Re: TerraSame]
#350561
12/17/10 02:26
12/17/10 02:26
|
Joined: Dec 2010
Posts: 12
Psygnal
OP
Newbie
|
OP
Newbie
Joined: Dec 2010
Posts: 12
|
Hi, Thanks for that. I've gone so far as to create a totally new texture as a test, which I know has no alpha channel issues, and that hasn't fixed the problem either. I'll take your advice on board about sharing the textures though. (I didn't know it was an option) - anything to cut down on overall file size is a good thing. Looking forward to further comments. Rob
Last edited by Psygnal; 12/17/10 02:26.
|
|
|
Re: MED model Texture Problems.
[Re: TerraSame]
#350569
12/17/10 03:28
12/17/10 03:28
|
Joined: Dec 2010
Posts: 12
Psygnal
OP
Newbie
|
OP
Newbie
Joined: Dec 2010
Posts: 12
|
Hi Terra, Thanks for that. Could you please do me a favour and create a junk TGA or PCX texture and see if it works on the model at your end? I tried that a little while ago, and it still didn't work at my end, which is what confused me. If it works at your end, I know for certain it's purely a problem with the .dds - otherwise, I'm messing something else up. Rob
|
|
|
Re: MED model Texture Problems.
[Re: Psygnal]
#350592
12/17/10 12:23
12/17/10 12:23
|
Joined: May 2009
Posts: 439
TerraSame
Senior Member
|
Senior Member
Joined: May 2009
Posts: 439
|
It works fine with a new .tga image but you need to re-do all four textures... Here's a link to a pic that I took... http://www.terrasame.com/mig1.jpg
Last edited by TerraSame; 12/17/10 12:24.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|