Hey guys, this is Eric back with another simple and quick Houdini tutorial. This is not meant to go in depth. This is just meant to give you a quick example of how UV texturing works, and I'm going to show you how to project a picture onto geometry. It’s really simple, really easy, there's a lot more to it but I'm going to show you this works.
You can grab a quick window here so you can see what we got. Now, as you can see, we have our texture map to our geometry and we have a light in there. So I'm going to show you how to do this. So let's start fresh.
Just bring in our box, we only have our box, okay? The first thing I'm going to so is go into our shop network which is shader operators. Let's go to our shop network. Now inside our shop network is where we want to do our materials and stuffs. So, I'm going to tab in, now as you noticed, as you hit tab, there is Mantra, Mental Ray, RenderMan, we'll just flow with Mantra because that’s what we're rendering, with Mantra. Go to mantra Services or just tap super material, VEX Super Material. Now, this VEX Super Material is great. It's a really good material and I'm going to show you why.
So now, there we go. We have our super material down here now and if you have enough properties, you can change the diffused color, specular color. If you want to change the fuse color to green, the box would be green and specular color would be yellow and when the light shines on it, it would be yellow and it would interact and changed colors would be different. That’s just for going about changing colors but we want a map, a texture to this, so let's got to our texture tab. Go to our diffused map and let's open up our file browser and let's find our picture or use the same one I had. Okay now, in our diffused map box here has our follow path. So, now let's go back up to our object level and click bak into our box object. Okay.
Now, inside this box objet is where we want to add our material. So, let's right lick on your output and start tapping material. Now, I have to pin the material node to my box node. So, let's go into my material node and tell what material I want to use. So, I'm going to appear the material tab, click this, I'm going to choose my operator super material, click accept, and when I do that, it makes the material, now visible, you see it turns to dark green, okay?
So now we can do one more thing. In between our material and our box, right click on the box output and start tapping UV texture. Okay, hit return and boom! That flows our texture onto our box.
Let's go back up to object level and now as you can see, we have a texture mapped to our geometry. Okay. In our other, in the very first window that I had here, I just had a light--a point light on it and it was casting a shadow which is no big deal, we can go over lights in another video, but basically, what I wanted to do was show you how this work. How it worked to map and project a texture onto geometry. So if you wanted to add a light, you can add a light, you can have a point light, a spot light. It just really depends on what you want to do. Just turn this around here. Now we have a light out here. So, let's render this out and let's cast shadows, we’ll go to our shadows tab, we’ll say retrace shadows and turn a lot of intensity up a little and more render out to see what we got and there we go. There's our--the texture geometry with our shadow and you just needs to go in and tweak this stuff with your shadow. It's that if you can make the shadow intensity high or small or you can make it the softness, the quality. You really just need to get in here and play with it. It's really up to you guys what you want it to look like, how you want it to look and you can see we have a shadow at different angle here, just spin around this way and render one last time and there we go. There is our texture mapped geometry in just as little as just a few minutes.
So, I hope you’ve took something from this guys. I really do. Hope you're going to apply it to the way that—to things that you might need to apply it to and on our next video, I’m going to ago over how to make a custom desktop for your own needs, okay?
So, this is texture mapping—simple texture mapping and Houdini and we’ll see you next time.