Ok, I’ve been working on this game for a while now and had no “can’t find texture path” errors until now.
I have my Actors in on folder along the game path and I have my Texture Mats in another folder along the game path (absolute path).
I thought the path you load a texture from (Blender), will automatically be the path P3D will load the texture from, regardless of where the Model using the texture was loaded from.
Up until now, this has been true. My Actor loaded from its on folder and the Texture Mat loaded from its own folder.
For some unknown reason, I am now getting an error that is pretty much a texture path error,
But why now?
Obviously I missed something…
I know a lot of P3D users are probably putting textures in the Path of the Model, but I really do want to keep the Actors and textures in their own folder. This makes the entire “game data pipeline” cleaner.
Is there something I need to do in Blender before I export?
What’s even more strange is the fact the error message (which is a lot) is showing me that the Engine is trying to look in P3D’s default model roots, but I use absolute pathing for models and textures (working directory).
This may be because the model is cached in the model-cache. Please clear the model-cache directory (or disable it in Config.prc by putting “model-cache-dir” on an empty line), and try again to trigger the error message.
Panda3D does not require the models and textures to be in the same directory, this depends on how your models reference your textures. It may be helpful to edit the .egg file with a text editor, and showing the texture paths in the entries, and whether they are relative or absolute paths.