Announcement

Collapse
No announcement yet.

Some questions about texture path.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Some questions about texture path.

    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\[user name]\AppData\Local\Temp\VfSTextureCache\Metal_Corrogat ed_Shiny_extractedTex.jpg" failed to load:
    Last edited by flat; 10-07-2017, 12:42 AM.

    OakCorp Japan - Yuji Yamauchi
    oakcorp.net
    v-ray.jp

  • #2
    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.

    Comment


    • #3
      Thank you very much.
      Chaos should be noted in the document.

      OakCorp Japan - Yuji Yamauchi
      oakcorp.net
      v-ray.jp

      Comment


      • #4
        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
        Peter Chaushev
        V-Ray for SketchUp | V-Ray for Rhino | Product Owner
        www.chaos.com

        Comment


        • #5
          I figured that was the case. Thanks for the update Peter!

          Comment


          • #6
            Code:
            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/vie...p?f=323&t=6386

            Comment


            • #7
              Originally posted by Peter.Chaushev View Post
              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
              Peter,

              What is a know method now to change the path to SketchUp's own image buffer?

              Comment


              • #8
                Originally posted by josephkim626 View Post
                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

                Comment

                Working...
                X