VrayCurvature Feedback

So glad to see the beginnings of a curvature map inside vray, this is going to rock very hard :slight_smile:

I assume we’re going to see more features such as…

- flat color
- concave color
- convex color
- Gain
- KFactor
- speed increase

Here’s an initial test, it’s not there yet, but I’ll update the image as more features get added. Thanks again for adding this.

- Neil

Ooh… interesting. Any documentation/info on this? Looks like a more sophisticated kind of AO. What kind of use cases would there be?

The Boomer Labs map is pretty impressive !

Yes, Boomer Labs is much much MUCH better than this. I looked forward for this one from Chaos Group (integration, from Chaos…), but sorry, now Iam testing plugin from Bloomer Labs and I thought VRayCurvature will be something like this. But its not in every way, only few options and result is absolutely not satisfying in lot of situations, where Bloomer Labs rocks!

Hope Chaos Group will work on that, it could be really great map, but now its not and its really slow compare to Boomer Labs plugin.

<shrug> We were asked to port a specific mental ray shader, which is what we did, even though I didn’t have plans for a curvature texture in the first place. Suggestions for improvements are welcome and we’ll do them; there’s no need to whine about it.

Best regards,
Vlado

Interesting. I’d be interested to see how this compares with VrayDirt

Poor Vlado. Rome wasn’t built in a day either. Besides Vray is still a renderengine, not an all-in-one solution (although it would be nice ofcourse).

I did not mean any harm. I love VRay, this is why I use it and teach it. Iam just saying Bloomer plugin is great for what people maybe want from curvature map I think. So anyone know there is something else to suite their needs, thats all.

VRay is great with or without curvature map.

See my list of features in the first post. While I like Boomer’s plugin, at $60, a lot of people won’t be interested in buying it, so a shader in vray that’s more full featured would be a huge help. Please contact me for any more details.

- Neil

For the people in the thread asking about this and AO, Ambient Occlusion will capture only the concave surfaces on an object. Curvature will capture the concave and convex surfaces. Frequently one uses Ambient Occlusion in shading to place dirt and rust in areas that are sheltered, which is frequently where dirt and rust would appear in real life. And then you use a curvature shader to capture the convex edges on a surface, to place stuff like scratches and paint breaking off to reveal metal, since the sharp convex edges are frequently where people rub up against the surfaces, causing this sort of wear. Here’s a little more info…

http://www.neilblevins.com/cg_education/vertex_map_wear/vertex_map_wear.htm

http://www.neilblevins.com/cg_education/ambient_occlusion_rust/ambient_occlusion_rust.htm

Glad to see Vlado is open to improving the map, as it’ll need more parameters to capture this look properly.

- Neil

great examples.
i do think at least some parts of the above shown things are possible already now with vray dirt, if you mix/blend 2 dirt shaders in a mix shader (i used “product” mode). one dirt with invert normals and double sided option on. i often use this setup to make things like shown above. normaly with texture s in the radius slots to add some grunge.

here a rough small test.one could texture the radius to make nice scratches/damages to the surface parts as in Neils nice examples above,
i made it simple here, just one dirt red, the other green to separate convex/concave and neutral(white)

this was made in c4d version, sorry, but same possible in max or any vray i guess.

that said i think it would probably be quite useful to have some of the boomers features/easy of use, i also like the tension map p.e, or also texture input for the curvature shader values

cheers
Stefan

p.s.: the curvature shader would help where dirt fails due its nature, also in the above combination use, which happens when the thickness of an object is less than double the dirt radius.
so actually i think it is important to have a curvature shader having similar features as vray dirt (or add a “curvature mode” to dirt mabye?)

cheers
Stefan

I did a test running dirt for curvature like you describe a year ago and ran into a number of problems and limitations. See this thread:


http://forums.chaosgroup.com/showthread.php?78797-Curvature-map-for-max-and-any-word-on-the-raw-light-selects&p=626095#post626095

So while its a good workaround to know, I’d hesitate using it to replace an actual curvature shader.

- Neil

Looks like you found the issues I was just posting about :slight_smile:

- Neil

yep:)
seems both ways are needed

Oh, and I’d be fine if this were added as a mode in the VrayDirt map. Or adding features to the VrayCurvature shader. Whatever is easier for the programmer.

- Neil

As far as speed is concerned, for the patch next week, the texture will be quite a bit faster.

Best regards,
Vlado

That’s good to hear. The biggest issue I believe is the need of a gain and a kfactor, which will let us get a pattern similar to the other two examples. 3 colors for concave, convex and flat would be nice too, although I believe those may be achievable by running the map through an output curve. I’ll test it once we get those other two parameters. Feel free to pass your developer my name if he wants a copy of my test scene to play with.

- Neil

So did some more poking, and the issues may actually be bugs as opposed to limited features. Take a peak at this. The surfaces produce areas that are black when they are flat (and should be grey), and areas that are convex should be white but are still grey. Any idea what might be going on?

- Neil

There is possibility to transfer curvature to vertex color using MCG:
http://area.autodesk.com/blogs/chris/curvature-to-vertex-color-modifier-using-max-creation-graph

Here is comparison of MCG and Vray curvature:

I think there is something wrong with Vray curvature map.
Regardless of value of “Sample spread”, I get results which are just wrong in my opinion…