Anyone knows how to call a function with a button inside a class? at the moment i have that code: #button calling functionsimport maya.cmds as cmdsimport maya.mel as melfrom functools import partial class B: text_entered="a" def __init__(self): self.create_window() def printText(self): print(self.text_entered) return def…
Greetings Adventurers. I've been working on this .357 mag for a little while and figured I should post some progress to try and get some feedback / insight. :) Here is the low poly with a basic diffuse, normals and spec/gloss. Wires. Low poly with AO / Normals. This is the high poly minus some surface details added to the…
Hi Guys. I've been working on Procedural Terrain Generation in Maya. Here is the Youtube demo https://www.youtube.com/watch?v=PZQyjntvO_g . If You have any ideas about what should I add, edit or remove I would be glad to hear more from You.
I'm currently optimising some very tri heavy meshes and wondered if something that can be scripted to sort a bunch of selected meshes based on their tri count. I have found this script that sounds like its the exact sort of thing I need but it doesnt seem to work.…
nothing really. To many scatered tools already. Waiting for proper Straight skeleton Bevel but thats not possible with python and will be probably in 5.2
+1 ^^ A great read if people want to dive deeper: Self Shadow: Blending in Detail by Colin Barré-Brisebois and Stephen Hill. And a free tool to combine normal maps, by James @Farfarer O’Hare: RNM Normal Map Combiner "A little Python/OpenGL app for combining tangent space normal maps together. Uses the Reoriented Normal Map…
Hello, everyone. I've found a topic that is already leading me in the right direction: https://www.blender.org/forum/viewtopic.php?t=28466 However, this script only writes what vertex group contains what amount of vertices. What I would like to do is write out the vertex indices that are used within that vertex group to a…
Looking for a function which returns a list of all UV shells from a selected object. Most of the stuff I found on the internet is a bit hacky and doesn't end up working well. I read through the official docs and I couldn't find anything like this so it makes me wonder does it even exist. Basically I would need a list of…