Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Sat May 25, 2013 1:27 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: My models textures aren't loading properly.
PostPosted: Sun Dec 11, 2011 3:52 am 
Offline
Very Senior Forum Poster
User avatar

Joined: Sun May 29, 2005 10:02 pm
Posts: 7082
Location: Here, not there.
Here's what I see when I load up the weapon model in game:

Attachment:
File comment: Messed up look
shot00007.jpg
shot00007.jpg [ 47.63 KB | Viewed 96 times ]


Now, all I do is go to the console and type "reloadimages" and it then gives me this:
Attachment:
File comment: correct look
shot00008.jpg
shot00008.jpg [ 58.15 KB | Viewed 89 times ]


Doing the "reloadengine" command gives me the messed up view. I even renamed the material thinking maybe somewhere it was referenced but it still messed up. Here's my material code:
Code:
models/weapons/rocketlauncher/presentlauncher
{
        noselfShadow
   unsmoothedTangents
          diffusemap   models/weapons/rocketlauncher/rocketlauncher.tga
//           specularmap    models/weapons/rocketlauncher/rocketlauncher.tga
}


In the md5mesh I have this:
Code:
shader "models/weapons/rocketlauncher/presentlauncher"


Shouldn't mess up at all but it does. I didn't even make a new material file, I extracted the weapons.mtr file. Making a new custom .mtr didn't help. Console shows no errors/warning related to the RL or that texture.

_________________
Fuzzy Logic Inc
PAINTBALL DOOM 3!!!!
Check out my Q2 server! q2server.fuzzylogicinc.com :D
Doom 3, Paintball! d3server.fuzzylogicinc.com


Top
 Profile E-mail  
 
 Post subject: Re: My models textures aren't loading properly.
PostPosted: Sun Dec 11, 2011 10:19 am 
Offline
Invisibility
User avatar

Joined: Fri Aug 13, 2004 4:39 pm
Posts: 3654
Location: Right there! Look!
Some tips:

- Check if there's DDS's, it looks like it's first loading an old image, then reloading a new one (etc. first showing a TGA then a DDS or first showing a DDS, then a TGA, depending on your quality settings).
- Don't use the same image for different stage (e.g. both height and spec, or both diff and spec but only one tga).
- Check the material file

_________________
Check out GRIMM Quest for the Gatherer's Key!
Grimm's Youtube Channel

Follow Grimm Quest on Twitter!


Top
 Profile E-mail  
 
 Post subject: Re: My models textures aren't loading properly.
PostPosted: Sun Dec 11, 2011 12:54 pm 
Offline
Site Admin
User avatar

Joined: Tue May 28, 2002 6:17 pm
Posts: 11027
Location: Munich / Germany
Something is cached somewhere.

_________________
Image Staff - The Wörld is Yours
Our iOS Apps


Top
 Profile  
 
 Post subject: Re: My models textures aren't loading properly.
PostPosted: Sun Dec 11, 2011 1:52 pm 
Offline
Very Senior Forum Poster
User avatar

Joined: Sun May 29, 2005 10:02 pm
Posts: 7082
Location: Here, not there.
Didn't think of a dds... Changing the name of the tga from "rocketlauncher.tga" to "presentlauncher.tga" solved the problem.

Never saw that one coming! THANKS! :D

_________________
Fuzzy Logic Inc
PAINTBALL DOOM 3!!!!
Check out my Q2 server! q2server.fuzzylogicinc.com :D
Doom 3, Paintball! d3server.fuzzylogicinc.com


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group