Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Max maps path query
show user profile  jpedleham
Hey,

Can max look within the its current directory for maps?
Like with html files when they look for images they just use the path /images/test.jpg as they are referencing the folder that the current file resides in. I just want to be able to move folders around without losing my map paths.

Thanks
Jack
read 288 times
7/28/2016 10:59:37 AM (last edit: 7/28/2016 10:59:37 AM)
show user profile  herfst1
Press shift+t to bring up your texture list. Now select a texture, or textures, and right click, set path, now choose new path.

[edit] else, there's a maxscript built in... if you click on the right-most tab, utilities I think it's called, and choose "more..." it'll be one of the ones near the top, forgot it's name, don't have max open... anyway, this repathing script is cool, try find it.
read 274 times
7/28/2016 3:41:52 PM (last edit: 7/28/2016 3:44:30 PM)
show user profile  jpedleham
Im not sure i explained myself very well :P

Basically instead of my bitmap maths being say "C:\Jack\Desktop\Project1\textures"
Id like it to just be "\textures" when the max file is in the Project1 directory.

Much like when you set the max project directory it shows relative paths.
However when i tick the convert paths to relative paths checkbox in the customise dialog it only works for local files. All of the max projects at work live on a server so this doesnt work.
read 267 times
7/28/2016 6:32:33 PM (last edit: 7/28/2016 6:32:33 PM)
show user profile  Nik Clark
Are you using UNC or mapped paths?

I tend to use the bitmap collector and relinking the files so I can have them all in a known subdirectory for moving stuff about.


Click here to send me an emailClick here to visit my websiteClick here to visit my photo gallery on Flickr

read 258 times
7/28/2016 7:26:05 PM (last edit: 7/28/2016 7:26:05 PM)
show user profile  jpedleham
Im using mapped paths at the moment. I would just archive it but max's archive system is just awful especially when sometimes your textures are 4-5 folders deep. Im sure you know but it makes a folder for every subdirectory and its just really messy. I was hoping a relative path might work so i can just move the root folder around.
read 250 times
7/28/2016 11:33:47 PM (last edit: 7/28/2016 11:33:47 PM)
show user profile  c0
"Can max look within the its current directory for maps?"

Yes, Max can do that (even though it tries very hard not to).

1. Export to Archive.
2. Extract ZIP file contents.
3. Move all textures (.JPG, .PNG, etc) to same folder as .MAX scene.
4. Open .MAX scene.

I think the 'current directory' is used as a last resort if none of the texture paths contain your textures. The odd thing is that if you want to set this behavior as the default when saving files, you can't(!) With terabyte hard disks aplenty I don't want to use texture paths to build a repository of textures; I don't care about storing duplicate copies of textures. I really prefer the simplicity of being able to save textures flat - in the same directory as the .MAX scene. But I can't tell 3dsmax to just dump everything in the same directory.
read 247 times
7/29/2016 12:01:10 AM (last edit: 7/29/2016 11:04:28 AM)
show user profile  jpedleham
My problem exactly!
read 220 times
7/29/2016 3:06:04 PM (last edit: 7/29/2016 3:06:04 PM)
show user profile  Krogoth
It's actually not hard to do, but you can't do it inside of Max, as far as I know, you have to modify an .ini file.

Browse to here:
C:\Users\USERNAME\AppData\Local\Autodesk\3dsMax\20XX - 64bit\ENU

Open 3dsmax.ini
Look for the [BitmapDirs] section
Add a new directory for it look in

You want to do:
Dir##=.\Textures

A .\ will have it look in directories within the current directory
A ..\ will have it look in directories one level up

Here's what mine looks like:
[BitmapDirs]
Dir1=C:\Program Files\Autodesk\3ds Max 2016\Maps
Dir2=C:\Program Files\Autodesk\3ds Max 2016\Maps\glare
Dir3=C:\Program Files\Autodesk\3ds Max 2016\Maps\adskMtl
Dir4=C:\Program Files\Autodesk\3ds Max 2016\Maps\Noise
Dir5=C:\Program Files\Autodesk\3ds Max 2016\Maps\Substance\noises
Dir6=C:\Program Files\Autodesk\3ds Max 2016\Maps\Substance\textures
Dir7=C:\Program Files\Autodesk\3ds Max 2016\Maps\mental_mill
Dir8=C:\Program Files\Autodesk\3ds Max 2016\Maps\fx
Dir9=C:\Program Files\Autodesk\3ds Max 2016\Maps\Particle Flow Presets
Dir10=.\downloads
Dir11=.\
Dir12=.\Textures
read 214 times
7/30/2016 5:03:16 AM (last edit: 7/30/2016 5:03:16 AM)
show user profile  c0
@Krogoth:

Unfortunately it is very hard to do - in fact I would say it is impossible. Your suggestion only affects the LOADING of texture bitmaps, not the SAVING of texture bitmaps. There is no need to add a path entry for the current directory - it is already built-in as a last resort failsafe (it is just not visible)

It is not possible to tell 3dsmax to save texture bitmaps flat i.e. in the same directory as where I am saving the .MAX scene.

When you SAVE a SCENE, referenced bitmaps are not saved - for that you need to use the Export feature. The Export feature is quite dumb and simply recreates the referenced bitmap folder structure. You have to manually edit the ZIP file to put all bitmaps in the same folder as the .MAX scene. 3dsmax will miraculously always find the maps if they reside in the same directory as the .MAX scene.

Conclusion:
To preserve your .MAX scene as a self-contained bundle that always loads, use the EXPORT feature to save all files in a single archive. Then, extract the archive, move all files into a single folder and compress into a new archive.
read 201 times
7/31/2016 1:57:27 AM (last edit: 7/31/2016 2:19:42 AM)
show user profile  jpedleham
What i gigantic pain in the arse haha. Thanks for the help guys :D
read 173 times
8/1/2016 2:57:16 PM (last edit: 8/1/2016 2:57:16 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org