Auto refresh texture when the image file was updated?
-
As title, is wondering if there's plugin, script or something that refresh the texture when the picture file is being updated/saved.
For example painting texture with Photoshop, every time I save the picture, I had to manually to to the [Materials] panel, select the material, go to edit tab & point Sketchup to the same file again for it to refresh. It's getting tedious over time.
Funnily the companion software Layout DO have this dynamic document/file link function, but not in Sketchup for some reason.
Anyone got any clue of any plugin that can auto detect file update and refresh it automatically?
-
If you've set Photoshop as the default image editor in SketchUp's Preferences, you could right click on the material's thumbnail in the In Model materials, choose Edit Texture Image ... It will open the image in PhotoShop so you can edit it. After editing the image save it and go back to SketchUp where it will update.
-
@dave r said:
If you've set Photoshop as the default image editor...
Yes, the Photoshop-way you described has actually always worked well for me so far. I always ask myself - does this depend on the fact that I also use Photoshop as an editor or would it work equally well with any other linked image editor?
-
But the source file is a PSD though.
Tried pointing Sketchup to a PSD just ended up with blank white unfortunately.//--
I suppose Sketchup store the pointed texture image somewhere,
if can find out where is that or if it is even accessible,
then I can save to that directly... -
@nameinvalid said:
...I suppose Sketchup store the pointed texture image somewhere...
...yes, that's right - I never really understood where and how this newly edited texture is opened now or saved within Photoshop, but in the end at least in the SKP file itself.
When I open Photoshop for editing out from SkUp, I always save the edited new image file to a decided own texture directory I have specified and then link to this texture address in the SkUp material editor...( probably far too complicated but that's how I do it)
-
@hornoxx said:
does this depend on the fact that I also use Photoshop as an editor or would it work equally well with any other linked image editor?
I gave up PhotoShop many years ago. On my PC I use PaintDotNet and it works fine. I like it better than PhotoShop and it meets my needs.
@nameinvalid said:
But the source file is a PSD though.
Tried pointing Sketchup to a PSD just ended up with blank white unfortunately.Your profile says you're using SketchUp 2019. I'm not sure that .psd was a supported file type. You should be saving the edited image as the same file type stored in the .skm texture file.
@nameinvalid said:
I suppose Sketchup store the pointed texture image somewhere,
if can find out where is that or if it is even accessible,
then I can save to that directly...Yes it does and you can find out where using Save as ... You must save the edited texture in the same location and as the same file type so the original gets overwritten. No rocket science here. Just normal computer file management.
@hornoxx said:
When I open Photoshop for editing out from SkUp, I always save the edited new image file to a decided own texture directory I have specified and then link to this texture address in the SkUp material editor...
Yes. No need for all those gymnastics. Just save back to the folder created when the texture is opened for editing and return to SketchUp.
Here's an example using PaintDotNet. It saves the file as the same type that was opened so no need to use Save as ... To make it short and the edit obvious I just changed the colored texture to black and white.
-
@dave r said:
...No need for all those gymnastics...
Thanks Dave!
Advertisement