Quote from: Doug on February 06, 2024, 09:22:00 AMcould you please gives us an example of the
" manipulate the .mtl texture paths to make them absolute "
i have not heard of this
-> I HAVE ALWAYS ALL TEXTURES FOR AN OBJECT IN THE SAME FOLDER OF THIS OBJECT!!!
SO WHEN I LOAD A TREE, THE TEXTURES (IMAGES) FOR THE LEAF, TRUNK, ROOT ECT. ARE STORED IN THE SAME FOLDER!!!
If you convert (cutoff the full paths (G:\3D Meshlib...) and leave the name of the texure for itself, then Terragen looks for the image (texture file) in your folder, were the obj is loaded from.
That's why I do it this way.
____________________________
Here is how....
When you export an object as an OBJ, then my obj exporter from within 3dsmax creates 2 files.
One of the data itself (the .obj where the polygon data is stored) and another one with the same name with the material definitions (the .mtl file).
The material definition file (.mtl) can be edited before you import the OBJ into TG.
Normally then you save then the .obj as a .tgo for further use. So when you save the tgo, the paths where the textures are loaded from are saved as well.
If you convert (cutoff the full paths (G:\3D Meshlib...) and leave the name of the texure for itself, then Terragen looks for the textures in the folder, where the tgo is loaded from.
So later on, you just have to copy the folder with the .obj (and the .tgo) and all your texture in this folder wherever you like.
The next time you load your TGO TG is loading the textures from this directory directly. That's the big advantage.
So just convert a path like this...
"C:\Windows\MySuperDuperIMAGEFileBase\ect\blaandblupp\Image.bmp"
-> into just
Image.bmp
So first edit the .mtl, then saved it, second import your OBJ file, third save from within TG the file as TGO (and no path is saved because they're all relative).
So when you load with TG the next time your .tgo, it loads the images from the directory directly, where the .tgo is loaded (TG thinks... oh... no path here..., ok, so I try to load it from this directory)
Screenshot
STORMLORD