Author Topic: (Max) Where are the textures being hidden?  (Read 4524 times)

0 Members and 1 Guest are viewing this topic.

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
(Max) Where are the textures being hidden?
Basically when I'm rigging a fighter in Max, due to one reason or another
the modeler has left the spec, normal, glow, etc textures in the material editor.

Of course, everything except the diffuse shouldn't be in there, as FS2 "automagically"
finds/applies everything else on it's own.

Even though I go through each material slot and delete the offending material in both the
scene and the slot (sometimes it just gives a "this will cause all the mtl/map settings to be lost")
I still end up with the all the -whatever textures when I get the dae into pcs2.

So what or where is it, that I'm missing... to eliminate the textures?
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: (Max) Where are the textures being hidden?
I just make a new material (usually some generic texture) and apply it over, then re-texture it in PCS2 using the handy texture name replacing feature. It shouldn't export materials that aren't being used at all.

Very hackish way of doing it though (cause I suck).
(´・ω・`)
=============================================================

 
Re: (Max) Where are the textures being hidden?
This usualy indicates something is still using those textures.

Go to the utilities tab->more....->Bitmap/Photometric Paths->Edit Resources

This will give you a rundown on what's all being used  (the info button will show you what objects are using the texture that's selected)




btw a material can exist oin a scene yet not be shown in the material dialog window.  Simply removing the material from the dialog won't get rid of out.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
ok found the resource editor... (certainly something I need to add to the tutorial)

Next question is... is it better to try and reset the paths for the listed textures,
or strip the paths and use what is in the mtl editor?

Basically the modeler works on more than one project, so he's got a much different
folder structure, even though we have the same files. Naming is also something I tend
to edit.

Edit - and following your last thought Scooby, what do you have to do then to get rid of it?
Basically I've got 3 copies of textureA that reference the same nodes/geometry.
Another 3 textures that shouldn't be in there at all.
« Last Edit: March 23, 2010, 01:19:33 am by JGZinv »
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: (Max) Where are the textures being hidden?
I just handle geometry in max. I get the uv map to something resembling tidy then break out lithunwrap and finish it. Very drawn out and very tedious. But I know how to use it opposed to the max way.
Do textures in photoshop and paint shop pro.
 
Then I use max to render glowmaps. :)
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: (Max) Where are the textures being hidden?
No need to actually delete the material you can just turn off the check box in the render options for it and it wont export them. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 
Re: (Max) Where are the textures being hidden?
Also it doesn't hurt to get rid of the excess materials.... (try 3 copies of 6 2048*2048 and watch your computer grind to a halt)

Easiest way to remove unused textures:
Go to the material editor dialog
Utilities->Condense Material Editor Slots
Save the file. 

Check the bitmap/photometric paths to see if they really did get removed... If they're still used by something then they won't be removed.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
Nope, no luck - still in use evidently.

Not that you probably don't already know, but for visual aid what I'm dealing with:



True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 
Re: (Max) Where are the textures being hidden?
Ok try this:

Make a new material with just mako.dds
Apply this material to everything in the scene.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
That did it.

In Detail:

Went and used a new mtl slot and applied the mako.dds to all the LODs at once.
Checked the Bitmap Paths tool again, still showed a duplicate.
Went to the debris material and reset the texture it was using.

Still show one duplicate in the Bitmap Paths, but it comes out in PCS2 correctly after
export which is what I needed.

Thanks. Just about every model I deal with is like this, so it'll save me some trouble.
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: (Max) Where are the textures being hidden?
This all seems like quite a simple change to make to the Collada importer.

 
Re: (Max) Where are the textures being hidden?
Ya, that would solve a lot of these problems (anything thats not a diffuse map, ignore)

Personally I've gotten to where I have two multi-material entries... one without bumps/glow and one with.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
There's at least a few things I'd suggest for PCS2 if I had the chance.
But it would be helpful if it ignored everything named -whatever.

Scooby - there any better way of handling this same process for a cap
ship with 3 main lod0 textures and multiple debris pieces? The debris as
with the fighter above has a copy of the unbroken hull texture in use and the
ragged cutaway portions are textured with a debris map, similar to FS2's.

Basically I tried the above and figured what'd happen would be parts of the
ship would be incorrectly mapped when it's being applied across the hull entirely.

So is there any alternative to going back over it face by face and reapplying the correct
map?
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: (Max) Where are the textures being hidden?
So how do you want this to work? Ideas are:
  • Ignore any texture that ends with -{glow,shine,etc.}
  • Ignore any texture of the form prefix-{glow,etc.} where another texture named prefix exists
  • Ignore any texture of the form prefix-* where another texture named prefix exists

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
Quote
Ignore any texture of the form prefix-* where another texture named prefix exists

That one seems the most future proof to me. Nothing says we won't have more
types of maps in the future besides spec, norm, glow.

Plus even within that scheme I just listed, I've seen where sometimes people
use -normal instead of -norm, etc etc.

So -* or as I like to say "-whatever" please.  :nod:
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: (Max) Where are the textures being hidden?
That's what I was leaning towards. Any objections? Would this cause problems for anyone?

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: (Max) Where are the textures being hidden?
Probably wiser to ask this in the PCS2 U2U help section Spicious..

Thread's kinda dead and unrelated.
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: (Max) Where are the textures being hidden?
In case you aren't checking the other thread, filtering of unused textures should be working now in the build linked from my sig.