UV Mapping & displacement in Sketchup

Tutorials/guides/tips on how to use Indigo and the Indigo exporters
Post Reply
11 posts • Page 1 of 1
User avatar
Bosseye
Posts: 312
Joined: Fri Jan 01, 2010 10:52 pm
Location: Bristol, UK

UV Mapping & displacement in Sketchup

Post by Bosseye » Thu Jul 17, 2014 1:46 am

I had a few issues with this, so thought I'd do a simple tutorial to possibly help others out.

This is a really simple run through, and I'm far from the expert, so if anyone notices anything I've done wrong or claimed incorrectly, let me know!

Ok then, essentially we're looking to learn how to control the orientation of your displacement map within Sketchup so that you can change the way your displacement maps look and work with your surface texture.

STEP 1 To start then, we have Derek stood by a square of concrete. Lucky Derek. Its just a simple plane with a texture applied in the material editor.
1.JPG
STEP 2 Now, select the plane, press G to open the component dialogue box and make it a component. Call it whatever you like. Now, double click on your new component and right click the concrete and select 'EDIT ACTIVE MESH' under the SKIndigo heading. You get this dialogue box pop up:
2.JPG
Max subdivisions runs from 1-9 and governs your displacement quality. I tend to set mine to 9 as it gives me the best results, although I hear that this might be overkill. Set this value to whatever works for you. Leave Curvature threshold, pixel threshold etc as their defaults.

Now, below those boxes we have UV Mapping settings. It will be displaying a UV set of SU (Sketchup) with a UV Texture of Sketchup. This means it will use whatever you have set as the displacement map in the SU UV set in the material editor.

We want to change this UV texture and mapping to something else, so that our concrete texture renders but displaces with the properties of a different UV texture.

Change the UV set to 1
In UV Texture, click Add New and in the window that opens, navigate to the texture you want to use to displace. I'm using a black and white line pattern to make this tutorial really obvious.
Select your texture and the concrete texture we had on our plane disappears and the Lines texture appears.
3.JPG
STEP 3 If you select this face with the Line texture applied, you can right click it, navigate to 'Texture' and then position and rotate as you would with any other Sketchup texture. I've shrunk mine to make the lines smaller.

If you change the UV set and UV mapping texture back to SU and Sketchup then the Lines texture goes away and the concrete texture returns.

STEP 4 Right click the concrete texture, select 'Edit' under SKIndigo and in the SKIndigo material editor that appears set your displacement settings.
Click the '....' box to assign a texture.
Click 'New' and navigate to the Lines texture. Note that in this drop down box you can have the textures used in your UV sets so you can switch between them easily.
The UV set here with by default be set to Sketchup (SU). Change this to match the UV set you just made in step 2, in our case UV set 1.
Click Accept.
Done! Your texture is now set to displace using the texture map you've set up in UV set 1
4.JPG
Rendered using UV set 1
5 Image.jpg
Now you can repeat the steps to set up other UV sets (to a maximum of 4 I think).
In the 'Edit Active Mesh' dialogue I've changed UV Set to 2, left it as the Lines texture and the rotated this texture 45 degrees.
6.JPG
Go back into your material editor, and the displacement material settings, change the UV set to 2
7.JPG
Render and voila, its now displacing in line with the rotated texture.
7 Image.jpg

-----------------

Hope that makes sense and helps some people out.

Cheers

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: UV Mapping & displacement in Sketchup

Post by bubs » Thu Jul 17, 2014 2:43 am

Thanks Bosseye! Much appreciated.

User avatar
Juju
Posts: 270
Joined: Sat Mar 17, 2007 3:49 am
Location: South Africa

Re: UV Mapping & displacement in Sketchup

Post by Juju » Thu Jul 17, 2014 11:13 pm

yep, thanks indeed, would +rep yo if the board had the capability.
Indigo 4 | skIndigo | SUpro 2018

User avatar
Pibuz
1st Place 100
Posts: 2645
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: UV Mapping & displacement in Sketchup

Post by Pibuz » Wed Jul 23, 2014 2:02 am

That is a really wonderful explaination.
I think it's worth being added in the skindigo manual. Thanks bosseye!

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: UV Mapping & displacement in Sketchup

Post by bubs » Wed Jul 23, 2014 2:07 am

+1

User avatar
Zom-B
1st Place 100
Posts: 4663
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: UV Mapping & displacement in Sketchup

Post by Zom-B » Wed Jul 23, 2014 8:19 am

+1
polygonmanufaktur.de

User avatar
Lucas Rivera
Posts: 5
Joined: Thu Jul 09, 2015 5:03 am

Re: UV Mapping & displacement in Sketchup

Post by Lucas Rivera » Thu Jul 09, 2015 5:13 am

I tried every single step. Over and over. New files. Different subdivisions. Nothing makes it work.
www.lucasrivera.co

MAC OSX 10.10.3
2.6 GHZ i7
NVIDIA GeForce GT 650 M 1024 MB
INDIGO 3.8.26 64 bit
Skindigo 3.8.25.2

User avatar
Lucas Rivera
Posts: 5
Joined: Thu Jul 09, 2015 5:03 am

Re: UV Mapping & displacement in Sketchup

Post by Lucas Rivera » Mon Jul 13, 2015 12:46 pm

:shock: I tried step by step many times. Changed actual sizes on textures. Checked for scales. Searched for answers all over the forum. I can't get it to work on my laptop.
www.lucasrivera.co

MAC OSX 10.10.3
2.6 GHZ i7
NVIDIA GeForce GT 650 M 1024 MB
INDIGO 3.8.26 64 bit
Skindigo 3.8.25.2

User avatar
Pibuz
1st Place 100
Posts: 2645
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: UV Mapping & displacement in Sketchup

Post by Pibuz » Sat Nov 14, 2015 3:56 am

Here to report that this workflow does not work anymore for me... sigh...

The face is exported in Indigo but shows errors (missing triangles)

rivera-b
Posts: 9
Joined: Sat Apr 20, 2019 8:39 am

Re: UV Mapping & displacement in Sketchup

Post by rivera-b » Sun Aug 25, 2019 7:13 am

So Pibuz.
Did you ever solve it?
I find that the displacement mapping sequence is hard and unclear.
Today After hours and hours of trying I found that the image size on the map does not match the UV mapped sized image.

Are you using 1:1 images sizes for your maps?

I see you work with roughness and specular maps and your textures are flawless.

User avatar
Pibuz
1st Place 100
Posts: 2645
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Re: UV Mapping & displacement in Sketchup

Post by Pibuz » Mon Aug 26, 2019 6:50 pm

Hi Rivera!
I'm not working with displacement maps since a long time now!

I can't really be of any help to you, sorry!

I usually work with textures big enough for my needs, I tend not to use HUGE maps everywhere because of the weight, but for large areas I try to use big maps with good resolution (and seamless too).

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest