Hi, is there a vray texture or plugin (or maya node) that can create convexity/concavity textures like the tension modifier in 3ds max?
Announcement
Collapse
No announcement yet.
Vray curvature texture in maya (concave/convex)?
Collapse
X
-
Yes i use vray dirt for most things (cavities, drips, etc) however it doesn't seem to work in certain instances- for example if you want an object that has been scratched along its curved/ convex edges, vray dirt doesn't seem to work correctly when used in the bump slot. The tension modifier gives you a nice useable (vertex colour map) texture so you can quickly get access to the concave/convex areas, saving a lot of time with Uving and texture painting.
Comment
-
while my suggestion is not a replacement to tc_curvature, what I do to get the edges like that (marked in red) is invert the color of occlusion, and also check invert normals, this will trace rays inwards and detect the closest points, works well if you want to capture concave/convex detail.Dmitry Vinnik
Silhouette Images Inc.
ShowReel:
https://www.youtube.com/watch?v=qxSJlvSwAhA
https://www.linkedin.com/in/dmitry-v...-identity-name
Comment
-
Wow great thanks!!!
Yes I also use vray dirt and it does a great job in a lot of instances but a curvature based solution means you can quickly apply effects to the edges of complex objects with one node... ie for example an ornate object scratched on the areas which point out, or dust/moss gathering in concave areas. The result is slightly different to occlusion and the combination of both means you can cover most bases...
Comment
-
Hi all,
I've created a similar texture to the one you mentioned above.
It doesn't have all the options for the sake of simplicity, but check it out and let me know if that's working for you. F.e. only convex curvatures are rendered as concave is only useful with NURBS (as mentioned in the above site).
All in all, you got 3 params:
- subdivs: number of samples (subdivs*subdivs)
- spread: radius of the area you will sample
- convex max: upper limit for the mapping of the result (which is the average angle of all sampled normals): curvature gets mapped [0..convex_max] --> [0..1]
Files attached in the form of dynamic shading node. In case you don't know to to install it: just put AEvrayCurvatureTemplate.mel in the 'scripts' dir, TexCurvature.dll in 'vrayplugins' and desc.txt in 'shaders' (NOTE: if you have your custom desc.txt take care not to replace it with mine, but just copy/paste the TexCurature {} portion of mine, which is at the of the file).
Best,
EmilAttached FilesV-Ray for Maya developer
Comment
-
Hi
Apologies it took me so long to try this out. The plugin crashes when invoked directly from the hypershade. I cant see it in the list of vray import plugins. The vray plugins i have (in the vrayplugins folder in applications/autodesk etc) are of the format '.so' rather than '.dll' : is this a mac/windows thing? I am on a mac.
thanks
Comment
Comment