sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Creating a Texture/Material from an Image

    Scheduled Pinned Locked Moved SketchUp Tutorials
    4 Posts 3 Posters 66 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dave RD Offline
      Dave R
      last edited by

      At the request of ntxdave, here's the method I used to add an image to the face of a coin. The general method would apply to other materials as well.

      In this case I downloaded an image of the coin as a .jpg file.
      JPG from the web

      Although not strictly necesary for this image I opened it in an image editor. I used PaintDotNet but Gimp, PhotoShop, or any of a number of other options are available. I deleted the white background pixels to make them transparent and cropped the image to tightly fit the coin. Then I saved the result as a PNG file since JPGs do not support transparency.
      PNG with transparent pixels.

      There are a couple of ways to import the image as a material into SketchUp. It can be done in the Materials panel but I prefer to draw a rectangle (or square in this case) with the dimensions of the texture image and use File>Import to import the image and apply it to the face. Make sure to select Use as image as: Texture in the Import window. This method automatically makes the texture the correct size.
      PNG applied to rectangle as a texture.

      After that just use it as you would any other texture.

      Another option is to import the image as an image and then explode it to get a face with the texture on it. You still need to set the size correctly.

      In the case of textures such as the wood grain ones I make, I often have 4 or more images of different planks from the same log. I know what their lengths are but the widths are usually random. I just draw a rectangle to the known length and some random width. Then I use File>Import and import the images as textures and apply them to the rectangle. Repeat until all of the images have been imported and save them to a collection. No need to create a bunch of geometry for that. One rectangle does the job.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • ntxdaveN Offline
        ntxdave
        last edited by

        Thanks Dave, very nice. πŸ‘ πŸ‘

        1 Reply Last reply Reply Quote 0
        • Joe WoodJ Offline
          Joe Wood
          last edited by

          Just curious how do you crop a circle?

          Joe Wood
          woodsshop.com/

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            The entire image is still rectangular, or square in this case. As I wrote in my post, I made the pixels of the background transparent.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement