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

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Has the texture replacement bug been fixed?
On some of hte more recent 3.6.6. versions and the 3.6.7. texture replacement doens't wrok by me.
I use it mostly fro nameplates but it doesn't change (it did in older versions)
Has this been fixed?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Has the texture replacement bug been fixed?
Are you using Duplicate Model mode?
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

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?
$Duplicate Model Texture Replace:
+old: nameplate
+new: NTCMylae

does work.  They other method does not.
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.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Has the texture replacement bug been fixed?
I just set the texture replacement in FRED. that SHOULD wrok but it doesn't...
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Has the texture replacement bug been fixed?
Texture replacement has two modes. Make sure Duplicate model is selected. Then it will work.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

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?
Use the duplicate model replacement type, not the regular texture replacement type:

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.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Has the texture replacement bug been fixed?
I see...
Why doesn't hte normal texture replacement work?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Has the texture replacement bug been fixed?
Bugs. Bugs and a lack of coders to fix them.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Has the texture replacement bug been fixed?
Bugs, a lack of a coder to fix them, and a perfectly viable alternative with exactly the same functionality, hus preventing anyone from getting any serious motivation to fix what can be, more or less, relegated to a backup alternative I'd say.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Has the texture replacement bug been fixed?
What is the difference?
-C

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Has the texture replacement bug been fixed?
I've never really been able to figure that one out.

How about we just remove the radio buttons in FRED until the bug is fixed? At least that way everyone thinks that texture replacement is working as designed :D 
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Has the texture replacement bug been fixed?
The words 'duplicae model' bother me, because it sounds like it's creating a new model in memory with different texture values, thus adding a fair amount of data that is totally unneccessary.
-C

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Has the texture replacement bug been fixed?
Hell, and it's not working either! :mad:

I use standard PCX for nameplates and allways only the original nameplates show up (GTD Orion on a orion insted of GTD Liberty, that is set in FRRED)
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Has the texture replacement bug been fixed?
The words 'duplicae model' bother me, because it sounds like it's creating a new model in memory with different texture values, thus adding a fair amount of data that is totally unneccessary.

This is exactly what happens.  "Duplicate model" creates a new instance of the original ship model and then reskins it.  "Regular" simply switches in the new texture during rendering.

"Regular" worked when it was first released, but at some point early on it stopped working and I haven't gotten around to finding out why.  It's possible it has something to do with the HTL upgrade.

The reason for the two modes is for efficiency's sake.  "Regular" should be sufficient for most situations, like nameplates, but if you have a whole bunch of textures replaced (like the Orion/Hatshepsut in JAD2) then "Duplicate" might be a better strategy.  I've never conducted any benchmark tests, but here are the tradeoffs:

"Regular" pros:
Uses less memory, because it doesn't need to copy the model

"Regular" cons:
Very slightly slower, because it has to do a texture check every time it renders the model.  This probably doesn't matter for simple one- or two- texture jobs, but the more textures you replace, the more checking and switching you have to do.

"Duplicate" pros:
There's no slowdown at all during the mission, because once the duplicate model is created, it's rendered exactly in the same manner as an unmodified model

"Duplicate" cons:
Significant increase of memory because of all the model data (an entire polymodel struct) that's copied.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Has the texture replacement bug been fixed?
Er...that's a little ridiculous.

You're talking some sizable portion of a MB of video card memory in exchange for, what, a couple nanoseconds per frame? :no:

Drawing the lead indicator probably takes at least six times that long.
-C

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Has the texture replacement bug been fixed?
As I said, I've never conducted any benchmark tests. :)

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Has the texture replacement bug been fixed?
So basicly, when there are big battles involved, with 5-6 nameplated ships, which approach ould be best?

and is anyone planning on fixing hte regular replacement?
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: Has the texture replacement bug been fixed?
Obviously duplicate model replacement, since it's the only one that works :p

However, in that instance it really means that "normal" texture replacement is the best option.  That doesn't mean that it works though and until the Mantis bug gets dragged back up and people start clamoring to get it fixed I wouldn't expect it to be given much thought since there's already a working method.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Has the texture replacement bug been fixed?
I don't mind having a look at fixing it if someone can post a mission that demonstrates the problem.  I'd bet that one has been posted before but it's not attached to the Mantis bug and I don't care to hunt around for it.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Has the texture replacement bug been fixed?
I made two missions to test it myself a while ago.  I uploaded them to Mantis. :)