Some questions about texture path.
- Where is the path to search for missing textures?
- How can I remove an absolute path from a texture path?
- Sometimes the VfSTextureCache path is set in the conversion material, and the texture is lost at a later date. What is the solution?
Bitmap file “C:\Users\\AppData\Local\Temp\VfSTextureCache\Metal_Corrogat ed_Shiny_extractedTex.jpg” failed to load:
Right now you have to manually save out the texture from SketchUp’s editor, and reset the path to a local folder where the texture was saved. Hopefully, a resource collection tool of some kind can be created in the future to dump out all in-scene textures. Ive had this issue a few times @Peter.Chaushev , @noel.warren . It’s not awful but does add a few additional steps when using existing in scene SketchUp textures.
Thank you very much.
Chaos should be noted in the document.
Hello,
The devs are actively working on a solution for asset management.
It should significantly ease the current asset collection and synch processes and also clear most of the related issues.
Kind regards,
Peter
I figured that was the case. Thanks for the update Peter!
model=Sketchup.active_model
folder=UI.select_directory(
title: "Select Folder for Thumbnails",
directory: File.dirname(model.path)
)
if folder
model.materials.each{|material|
thumbnail = File.join(folder, "#{material.display_name}.png")
material.write_thumbnail(thumbnail, 128)
}
end
I use the above and some of the other diy options to kick out thumbnails when I’m uploading to rebus. This will at least quell the error codes, and frankly, we never use sketchup textures, which means that it won’t matter if the texture is a low res thumbnail or not (its probably on some insignificant face 600 ft away from a model downloaded off the 3d warehouse).
Its a bit diy, but check out the thread and you may find a solution that works for your situation. https://sketchucation.com/forums/viewtopic.php?f=323&t=6386
Peter,
What is a know method now to change the path to SketchUp’s own image buffer?
Hi Joseph,
The SketchUp buffers are saved in the SU file itself and there is nothing much you can do about that.
V-Ray will also use a buffer if the texture file can’t be located on disk so all that you see in the viewport will be rendered.
On the other hand you might want to save out the SU buffers to files so that they can be packed and managed with the scene.
In that case the VRay File Path Editor can be used.
It’ll list in yellow all the missing textures that are using SU bitmap buffers.
You can then ‘archive’ the buffers, saving them as image files on disk.
Here’s a short video showing an example scenario:
Hope that helps,
Konstantin