Planetside Software Forums

Support => Terragen Support => Topic started by: Dune on January 14, 2022, 02:28:08 AM

Title: More precise pointer regarding missing textures
Post by: Dune on January 14, 2022, 02:28:08 AM
When a texture is missing, there's a popup saying which it is. But if you have say more than 10 pops of objects (and often it's much more than that), it's kind of tedious to find where to look for the missing file and re-import. I then use a text editor to find the line and scroll up to find which object it is, but it would be handy if its location would be visible in TG directly.
Unless I miss something....
Title: Re: More precise pointer regarding missing textures
Post by: Hannes on January 14, 2022, 02:57:06 AM
Agreed!
Title: Re: More precise pointer regarding missing textures
Post by: sboerner on January 14, 2022, 11:38:05 AM
Not in front of TG right now but doesn't the Show Project Assets window do just that? It's what I've always used to fix broken links.
Title: Re: More precise pointer regarding missing textures
Post by: WAS on January 14, 2022, 12:22:52 PM
You are right, It be beneficial if it did something like

If an object:
Object Name > Default Shader name > Error

I'd even be happy if TG just spit out the raw xpath as a path to the error as it's pretty straight forward like

Error at /Object Name/Parts Shader/Default Shader/ missing texture: [texture path]

Which could even be a clickable link TG could use to go right to that shader or open it.
Title: Re: More precise pointer regarding missing textures
Post by: sboerner on January 14, 2022, 01:05:45 PM
Doesn't this work?
Title: Re: More precise pointer regarding missing textures
Post by: WAS on January 14, 2022, 01:15:31 PM
Is this not just for a gathered project? For example, you can't just go to View -> Project Assets and get a read-out.

I honestly never gather projects unless shipping them to a node or releasing -- and to use it just to get an idea of missing assets is kinda weird to me.
Title: Re: More precise pointer regarding missing textures
Post by: sboerner on January 14, 2022, 01:49:14 PM
AFAIK it has nothing to do with gathered projects. I use this all the time.
Title: Re: More precise pointer regarding missing textures
Post by: WAS on January 14, 2022, 05:59:32 PM
Wow. Literally never paid that ANY attention. I guess because it says "Show" first instead of just "Assets" or "Project Assets".

Regardless though, the actual errors, are of no help when it comes to stuff like this, and it should be of the most help for debugging.
Title: Re: More precise pointer regarding missing textures
Post by: Dune on January 15, 2022, 02:18:37 AM
Aha, the secret button I never noticed! Thanks very much, Steve! Have to try if this works for me.
Title: Re: More precise pointer regarding missing textures
Post by: Dune on January 24, 2022, 11:49:16 AM
This works very well! But I do have a feature request. If you see errors, you can check the project assets and see what's wrong and in what object. But if it's a list it would be handy if the popup could stay on top, so you can relink them all, without having to switch focus again to the popup. I handled this by resizing the main window, but a check/button to maintain top position would be perfect, like how it works in Irfanview.
Title: Re: More precise pointer regarding missing textures
Post by: sboerner on January 24, 2022, 01:34:08 PM
Agree! It could even just stay on top by default, like node windows.
Title: Re: More precise pointer regarding missing textures
Post by: WAS on January 24, 2022, 02:46:13 PM
Stay on top button would be great, I wouldn't want it to default that way.

Also, there is space in Terragen on my system that is always dead when working with shaders or objects, an could easily just be filled with the project asset system. I feel that space should be utilized somehow.