[Plugin] CleverClay
-
You can do
def self.all_methods
preventing potential typos. -
OOooh finally someone decided to create my plugin!!
I was in despear to see these day coming, but thanks Pixero, that's really great !It works really fine on a small model, but I failed to make it works on a quite complexe one... it does create the two materials, but then, nothing else is changed... can this be linked to a complex nested geometry ?
-
If a group has no colour, but is coloured with a transparent colour on the outside, it will end up as the clay material, and non-transparent, due to the script not doing anything with the assigned colours of groups/ components. I think that if there is a group, the script should see if it has a material assigned to it, if so, don't change the 'default' colours inside, but change all non-default colours inside, and the exterior material to the clay one/ transparent clay one. If the group has no material assigned to it, treat it normally. That way, groups with transparent materials assigned to them will work properly. Personally, I don't usually paint groups themselves, but it's still a thought.
-
Pixero, playing a bit around, I've discover some little problems, so I dare point them out...
The plugin does not threat the object if the texture has been paint on the group (and not directly on the face... a classical Sketchup trouble finally), and it does not modify backfaces, as far as I can see...
Also, the translucent material appear originally with a 0 translucency, which is a bit 'violent'... Actually, the best, for a renderer like Vray, will be to make it automatically full black with something like 20 of opacity.
Besides, it's a great tool for architects, really...it just need some little improvement !
Thanks again...
-
@mrwip said:
Pixero, playing a bit around, I've discover some little problems, so I dare point them out...
The plugin does not threat the object if the texture has been paint on the group (and not directly on the face... a classical Sketchup trouble finally), and it does not modify backfaces, as far as I can see...
Also, the translucent material appear originally with a 0 translucency, which is a bit 'violent'... Actually, the best, for a renderer like Vray, will be to make it automatically full black with something like 20 of opacity.
Besides, it's a great tool for architects, really...it just need some little improvement !
Thanks again...
If you're using V-Ray you should not apply materials to groups/components as that really really slows down the parsing time.
-
@unknownuser said:
If you're using V-Ray you should not apply materials to groups/components as that really really slows down the parsing time.
Well, of course, it's best not to do it, but when you have a complex model, sometimes you're making little mistakes without noticing, and applying texture on a group is one of them...
Besides, many people don't know that it's better to apply texture directly on the geometry itself, so, for them, improving that part could be a good thing.
-
Minor update now with module added.
Mr Wip if you want a higher opacity setting just open the script in a texteditor (simple text will do fine) and go to line 35. Change: g.alpha = 0 to something higher.
EDIT: I just did it myself.
As to the other comments.
If you have ways to make the script better feel free. Just let me know so I can post the updated version. -
Jim has his (now improved) GreyScale Plugin, too, which works similarly - or better to say "may work differently" but has similar results (among others).
-
Gaieus, Greyscale is a great plugin, but it does not create the clay effect that we're looking for here... all the texture are still visible, and the point is not to see them, as in a real clay model...
-
The major thing with this script is that it doesnt make transparent materials opaque.
-
Thank you Jan, very interesting..
-
@pixero said:
The major thing with this script is that it doesn't make transparent materials opaque.
And of course if you don't want transparency then you can always switch it 'off' anyway...
-
I'm using Vray and it has an option that overrides all materials and make them the same.
However transparent materials also gets opaque so thats why I wrote this plugin.
Advertisement