KeyShot Forum

Technical discussions => Materials => Topic started by: Jonathan1981 on August 24, 2015, 06:49:14 PM

Title: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 24, 2015, 06:49:14 PM

High guys,

  I'm trying to size up a job for a potential client and he's looking for a turned lathe look. So basically, you can see the machine marks from the machining process. Obviously there is a "turned steel" material in the database that uses a lined normal map but when I apply it to the shape, it goes all over the place. The object is definitely not a perfect cylinder. It's "spinnable", as in perfectly symmetrical and can be revolved as on a lathe but it has varying widths, think of a doorknob. I can't reveal the product just due to it being for a client.

Is there a way to get the lines to all stay parallel along the object? any suggestions?
can msg me here or jonswift1@hotmail.com. The help is appreciated.

Cheers-
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: INNEO_MWo on August 25, 2015, 12:23:41 AM
The answer is not that complicated. Only thing to do is to split the geometry into surfaces that are revolved/turned and planar areas. Then you can use the same material type (steel) for both from types with different bump maps. Turned areas can use linear ' cratches' normal to the rotation axis. And planar areas needs a radial texture. I'm sure that you'll find needful textures in your library.
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Esben Oxholm on August 25, 2015, 01:03:38 AM
Hi Jonathan.

Have you tried using cylindrical mapping of the texture?
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 25, 2015, 10:22:56 PM


   @MWO, yes, tried splitting the geometry but it didn't work, think door knob, so this shape ramps up, almost like a cone but not a flat linear surface, it has curvature like a convexed shape, it doesn't seem to work.

  @ Esben, yes, default sets to cylindrical, still not so good, the pattern is all over the place when I want a parallel line marks running up the whole part so it looks like it has been machined..
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: NormanHadley on August 25, 2015, 11:55:20 PM
Is this the kind of look you're after, Jonathan? This was an ultra-quickie, knocking up a doorknob revolve in Creo and importing into KS6 beta. The material is the standard turned steel but I had to tell it to make the cylindrical map around the x-axis - when I first dropped the texture on, the machining marks were longitudinal, which would be a challenge for any turner...
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: INNEO_MWo on August 26, 2015, 02:56:00 AM
I like that example. Did you use different textures?
IMHO a clean HDR without spots on top would set the focus on the texture/bump.

The challenge for that door knob is the projection of the right texture and the location for the split of the geometry.

But I'm sure that this is all possible in KS5.
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: NormanHadley on August 26, 2015, 06:55:54 AM
Fair comment, MWo. Here's a zoom-in of the same scene with flatter lighting.

Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 26, 2015, 11:32:47 AM


Hey Norm,

Yep, that's it! exactly what I'm looking for... so how is this done? how did you specify for the cylindrical map to be around X? or Y etc. I have it on cylindrical but it doesn't stay in one direction...

  what hrdri map have you used, I like the lighting. I'm looking to do renders about like what you've done...

   
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: INNEO_MWo on August 26, 2015, 11:34:51 AM
Yeah, that's cool!
The knob (left 2nd row) has the wrong texture on the planar face. You'll need a texture with circles and maybe an extra geometry in the center to place the texture on the right position.

Perhaps you can change the color of the different materials so that everyone can see the split. Or may share the ksp.

Good solution!
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 26, 2015, 11:49:26 AM


   Well, first of all, that's not the same model I'm working with, so in my case I'll be fine, it's basically just a wavy continuous surface with no abrupt planes like that. I see what you mean though, however, his example is actually accurate to real life because a planar surface like that would actually have no machine marks at all, the bit is cuting into straight on and not moving sideways, it's the sideways motion that cause the stepped marks....now ofcourse if you have a really good machine lathe, you should see any marks on it at all :)
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 26, 2015, 01:09:19 PM


    Ok, I figured it out, you have to adjust things with the mapping tool...very cool, not sure why I didn't think of that...

    Now onto brushed materials, every brushed material doesn't seem to work at all, I can't adjust scale, it only has an option to adjust for length from 1-10, which it doesn't appear brushed at all no matter how I adjust..
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: soren on August 27, 2015, 12:32:51 AM
You may want to have a look at the Brushed (3D) procedural. In KeyShot 6 it has been renamed to Brushed (Radial). If you use the mapping tool and click the "Position"-button you can center the brushed texture. For a lathe-model center it at the base of the model. It should then wrap nicely around your entire model (more or less). You may need to adjust the bump height and scale quite a bit to get it to look nice.

Also, add a wee bit of roughness on the metal.

Note: The Fit X/Y/Z functionality mentioned by Norman, is a KeyShot 6 feature, however it does not do anything you cannot do in KeyShot 5.

Hope this helps,
Søren
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: NormanHadley on August 27, 2015, 12:38:03 AM
Yeah, this was a hastily thrown-together thing. If anyone else wants to tweak it some more, jump in with the attached ksp.
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 27, 2015, 12:21:31 PM

  I'm only on keyshot 5, is there any way to get the "brush"  effect to work with this verson. It's a brush effect, I'm sure it wouldn't have been made to not work properly??

  Also, back to the turned steel map. I did get it to work but the turned ridges are still too large and I have the scale set to .00001, basically 0. Have a look at my picture. I need to get those marks much smaller than that.

Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 27, 2015, 12:22:37 PM


   I appreciate all the help though guys. Thank You. ;)
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: soren on August 27, 2015, 12:37:02 PM
That is strange, Jonathan. Do you have a simple/small file you could share? It looks like your model is tiny?

Søren
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Speedster on August 27, 2015, 05:07:18 PM
Simple solution- get a Hardinge or Monarch 10E lathe.  No tool marks!
Bill G
Title: Re: Lathe, Turned Look on weirdly shaped spun object.
Post by: Jonathan1981 on August 27, 2015, 06:53:51 PM

  can't really, it's for a client. The model is normal sizes, maybe for this purpose I can try to scale it though since there's nothing really nearby to show it's relative size. To me, KS is pretty amazing, but it's finicky as @^$!~ to work with. It's kind of annoying, I'm still trying to figure out how to get brushed mapping to work.

   As for getting a lathe, good joke but the part I'm modeling is already made on a lathe, actually I'm not even sure why they want renderings, they have all real life prototypes that look great, I've even recommended to them to use a photographer and DSLR vs. rendering. I think it might be a cost issue? no idea.