Author Topic: Has the texture replacement bug been fixed?  (Read 4521 times)

0 Members and 1 Guest are viewing this topic.

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Has the texture replacement bug been fixed?
It's working now.  I think that's some kind of record. :D

Should hit CVS tomorrow.  Oh and it's actually quite fast to use the replacement texture this way.  It's nothing special and the code has to go through all of these checks before trying to use the normal texture anyway.  It should be as fast, if not slightly faster than accessing the original texture.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Has the texture replacement bug been fixed?
Is there really any reason to keep the duplicate model thing around, and not just default to 'regular'?

Edit: Although, if there's a simple function to make a specific ship use a duplicate model, I may have a use for that.
-C

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Re: Has the texture replacement bug been fixed?
Should I go through the missions for the FS2 nameplated campaign and replace the duplicate with regular style for Media VP inclusion?  Would take 5 mins with find and replace.
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 
Re: Has the texture replacement bug been fixed?
Should I go through the missions for the FS2 nameplated campaign and replace the duplicate with regular style for Media VP inclusion?  Would take 5 mins with find and replace.

That would be great...

I have an
Athlon Thunderbird 1.333 MHz
with an GeForce 3 (64 MB DDR-RAM)
and 512 Non-DDR-RAM (133 MHz CL-2, Infineon).

FS2_Open runs fine... But it takes its time to load- and "modify" (duplicate) the models...
So the missions hang for a time...

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Has the texture replacement bug been fixed?
It's working now. I think that's some kind of record. :D

Much thanks. :) What was the problem?  Was it HTL related, or just some screwup on my part?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Has the texture replacement bug been fixed?
What was the problem?  Was it HTL related, or just some screwup on my part?
Just a screwup on your part.  ;)  It didn't know how to figure out what texture to use.  The Interp_replacement_bitmap wasn't needed, and wouldn't have worked properly anyway.  And then getting the correct value from the Interp_replacement_textures array was wrong too.  It should work properly for HTL and non-HTL now with a minimum of fuss.  I've debugged through all of that model code quite a few times at this point so when I got that far in figuring out what was wrong it was pretty apparent what the problem was.