CakeZCanaaN / metro2033-tools

Automatically exported from code.google.com/p/metro2033-tools
2 stars 0 forks source link

DDS textures not loaded automatically #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Store your textures in any folder other than F:\Met\textures.
2. Load a mesh.
3. Witness as 3ds Max can't find your textures because the texture path has 
been hard-coded into the plug-in as F:\Met\textures.

What is the expected output? What do you see instead?

As per the latest revision, I expected Max to automatically load corresponding 
DDS texture files (or .512/.1024/.2048 textures, if they happen to be in that 
format). I've added my Metro texture directory (F:\Metro 2033\Textures) to my 
user-defined external paths so 3ds Max will automatically search there for 
missing textures.

Unfortunately, this doesn't matter because the default texture path is 
*hard-coded* into the plug-in as "F:\Met\textures\<texture_path>," instead of 
the truncated "<texture_path>" like it should. As long as the root path is 
hard-coded, Max will *not* search for textures using alternate paths.

Note: I've verified that Max *does* auto-load the DDS textures when I change my 
resource path to F:\Met instead of F:\Metro 2033, but none of us should have to 
do this. We keep our files organized a certain way for our convenience. 
Incidentally, I'm among extraordinarily few people whose resource drive just 
happens to be 'F:', so this isn't a huge inconvenience for me, but still... 
think about the children!

*** On a side note, is there any chance we can get corresponding bump maps 
fitted into the Bump slot? Not all objects use bump maps, and the bumps are in 
a unique format — green is height, alpha is specular — but this can be 
remedied very easily by applying a Color Correction (or similar channel control 
map) to fix the channels. Please consider adding this feature (loading bump 
maps), or at least making it an option and providing a plug-in config so that 
we can turn it on/off. (Incidentally, providing a plug-in config and allowing 
us to configure the root texture path would fix the loading issue as well; we 
could simply leave the root path blank to let Max search our alt paths.) ***

What version of the product are you using? On what operating system?

3ds Max Design 2011, Windows 7 Ultimate (64-bit), not that any of this matters 
because it's the bitmap path that's causing the problem.

Please provide any additional information below.

Please revise the plug-in to set the bitmap path to include only the texture 
path, not the drive or root path, and not the root "textures" folder. Do this, 
and it should work exactly as expected.

Original issue reported on code.google.com by thatfiel...@gmail.com on 1 Jun 2011 at 7:24