3D Animation Artist http://www.3danimationartist.com Notes, Processes, Work, Contact Sun, 05 Apr 2020 02:43:02 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.2 http://www.3danimationartist.com/wp-content/uploads/2020/06/cropped-3DAnimationArtistLogoSnapSquare_512X512-32x32.png 3D Animation Artist http://www.3danimationartist.com 32 32 Ruxue Animation Walk Through http://www.3danimationartist.com/2020/04/05/ruxue-punch/?utm_source=rss&utm_medium=rss&utm_campaign=ruxue-punch http://www.3danimationartist.com/2020/04/05/ruxue-punch/#respond Sun, 05 Apr 2020 02:41:50 +0000 http://www.3danimationartist.com/wp/?p=13875 http://www.3danimationartist.com/2020/04/05/ruxue-punch/feed/ 0 Maya’s Animation Caching System new to 2019 http://www.3danimationartist.com/2019/12/31/mayas-animation-caching-system-new-to-2019/?utm_source=rss&utm_medium=rss&utm_campaign=mayas-animation-caching-system-new-to-2019 http://www.3danimationartist.com/2019/12/31/mayas-animation-caching-system-new-to-2019/#respond Tue, 31 Dec 2019 18:53:38 +0000 http://www.3danimationartist.com/wp/?p=11844 Now that we are done with 2019 I will upgrade to Maya… 2019. I think it is still a common practice among most professionals to do what I do and wait till at least the 1st service pack to upgrade. I have never upgraded during a project for fear that I will corrupt every file I open up in the current version of Maya. But I am making an exception for this release. Because the ...]]> Now that we are done with 2019 I will upgrade to Maya… 2019. I think it is still a common practice among most professionals to do what I do and wait till at least the 1st service pack to upgrade. I have never upgraded during a project for fear that I will corrupt every file I open up in the current version of Maya. But I am making an exception for this release. Because the animation caching feature is just too good to wait any longer.

And it’s great that they created this feature. You can now view animations in real time without playblasting. But there are some issues with it (of course). As always with Autodesk they have introduced a feature that is great in principle but a failure in practice. The animation caching feature crashes maya all the time.

  • Scrubbing the timeline while caching can crash maya.
  • Interactivity suffers significantly while caching is in process.
  • Playing the scene while it is caching is considerably slower than just playing the scene or waiting for the cache to complete.
  • The cache data can be inaccurate. Somehow it will hold different values than that of standard playback. Restarting the scene seems to take care of this, but that is obviously unacceptable and it speaks to deeper problems.
  • For some reason simply selecting something in the scene while caching is on can cause a crash.
  • And most important, parallel processing is still just as buggy as ever which necessitated the caching approach in the first place.
  • These issues even persist in serial mode with the caching on. Making basic animation at its most stable setting more buggy with caching on than with it off.

Ultimately playback caching is just a better form of playblasting and is not a useful tool for interactive animation.

Hopefully this will all get better, but in my experience Autodesk rarely fixes the stuff they have already developed, rather they focus on new features, piling on the dysfunction.

Incidentally, my New Year’s resolution, get into Blender… It’s time to see what all the buzz is about.

]]>
http://www.3danimationartist.com/2019/12/31/mayas-animation-caching-system-new-to-2019/feed/ 0
Generate a list of joints from a skeleton in Maya, cut and paste into a python list http://www.3danimationartist.com/2019/09/21/generate-a-list-of-joints-from-a-skeleton-in-maya-cut-and-paste-into-a-python-list/?utm_source=rss&utm_medium=rss&utm_campaign=generate-a-list-of-joints-from-a-skeleton-in-maya-cut-and-paste-into-a-python-list http://www.3danimationartist.com/2019/09/21/generate-a-list-of-joints-from-a-skeleton-in-maya-cut-and-paste-into-a-python-list/#respond Sat, 21 Sep 2019 19:48:06 +0000 http://www.3danimationartist.com/wp/?p=11837
  1. skeletonRoot = cmds.ls(selection = True)
  2. skeletonList = cmds.listRelatives(skeletonRoot, allDescendents = True, type = 'joint')
  3. skeletonList.append(skeletonRoot[0])
  4. skeletonList.reverse()
  5. space = " " * 4
  6. for eachJoint in skeletonList:
  7. print("'" + str(eachJoint) + "'")
]]>
http://www.3danimationartist.com/2019/09/21/generate-a-list-of-joints-from-a-skeleton-in-maya-cut-and-paste-into-a-python-list/feed/ 0
Create a Directory from Maya Python http://www.3danimationartist.com/2019/08/28/create-a-directory-from-maya-python/?utm_source=rss&utm_medium=rss&utm_campaign=create-a-directory-from-maya-python http://www.3danimationartist.com/2019/08/28/create-a-directory-from-maya-python/#respond Wed, 28 Aug 2019 18:03:38 +0000 http://www.3danimationartist.com/wp/?p=11833
  1. def directoryCheckMake():
  2. directoryExists = os.path.isdir(savePath)
  3. if not directoryExists:
  4. cmds.sysFile(savePath, makeDir = True)
]]>
http://www.3danimationartist.com/2019/08/28/create-a-directory-from-maya-python/feed/ 0
Export an FBX from Maya using Python http://www.3danimationartist.com/2019/08/28/export-an-fbx-from-maya-using-python/?utm_source=rss&utm_medium=rss&utm_campaign=export-an-fbx-from-maya-using-python http://www.3danimationartist.com/2019/08/28/export-an-fbx-from-maya-using-python/#respond Wed, 28 Aug 2019 13:59:45 +0000 http://www.3danimationartist.com/wp/?p=11828 There are a fair amount of people out there who have weighed in on how to do this in various forums but I didn’t find a single one that actually worked despite them being voted as the solution. Perhaps they worked in previous versions of Maya. I don’t know, but I got this solution by sure educated guess, trial and error. This works as of Maya 2018:





The code ...]]>
There are a fair amount of people out there who have weighed in on how to do this in various forums but I didn’t find a single one that actually worked despite them being voted as the solution. Perhaps they worked in previous versions of Maya. I don’t know, but I got this solution by sure educated guess, trial and error. This works as of Maya 2018:

  1. def exportMeshes(*args):
  2. nameField = cmds.textField(shipNameTextField, editable = True, query = True, text=True)
  3. projectDirectory = cmds.workspace(query = True, directory = True)
  4. print('The projectDirectory is: ' + str(projectDirectory))
  5. savePath = str(projectDirectory) + nameField
  6. cmds.sysFile(savePath, makeDir = True)
  7. cmds.file(savePath, exportSelected = True, type = 'FBX')

The code above creates a new folder in your project named by a text field in a form. I didn’t include the form. If you need to know how to build a form and query a textfield just search on my site for textfield and you will find info on how to do that. Cheers!

]]>
http://www.3danimationartist.com/2019/08/28/export-an-fbx-from-maya-using-python/feed/ 0
Python Format for Outputting to JSON http://www.3danimationartist.com/2019/08/26/python-format-for-outputting-to-json/?utm_source=rss&utm_medium=rss&utm_campaign=python-format-for-outputting-to-json http://www.3danimationartist.com/2019/08/26/python-format-for-outputting-to-json/#respond Mon, 26 Aug 2019 18:12:00 +0000 http://www.3danimationartist.com/wp/?p=11825
  1. skeletonRoot = cmds.ls(selection = True)
  2. skeletonList = cmds.listRelatives(skeletonRoot, allDescendents = True, type = 'joint')
  3. skeletonList.append(skeletonRoot[0])
  4. skeletonList.reverse()
  5. space = " " * 4
  6. for eachJoint in skeletonList:
  7. print(space + '"' + str(eachJoint) + '":')
  8. print(space + "[")
  9. print(space * 2 + "{")
  10. print(space * 3 + '"' + "ControlsList" + '"' + ":" ' "' + "worldSpaceController" + '"')
  11. print(space * 2 + "}")
  12. print(space + "],")
]]>
http://www.3danimationartist.com/2019/08/26/python-format-for-outputting-to-json/feed/ 0
Accessing data in json lists python http://www.3danimationartist.com/2019/06/26/accessing-data-in-json-lists-python/?utm_source=rss&utm_medium=rss&utm_campaign=accessing-data-in-json-lists-python http://www.3danimationartist.com/2019/06/26/accessing-data-in-json-lists-python/#respond Wed, 26 Jun 2019 16:35:49 +0000 http://www.3danimationartist.com/wp/?p=11769 ]]> At this point this is sort of a note to self, but I struggled with the format to access data from a json list imported into my python script.  Here is the format:

  1. for eachEntry in rigData:
  2. controllerName = eachEntry
  3. #print('eachEntry is: ' + str(eachEntry))#The name for each list
  4. for eachList in rigData[eachEntry]:
  5. #print('eachList: ' + str(eachList))#The values of each list in the root of data
  6. for eachListEntry in [eachList]:
  7. print('eachListEntry: ' + str(eachListEntry))#This is the value for each key in each list
  8. for eachKey, eachValue in eachListEntry.iteritems():
  9. print('eachKey: ' + str(eachKey))#This is the value for each key in each list
  10. print('eachValue: ' + str(eachValue))#This is the value for each key in each list
]]>
http://www.3danimationartist.com/2019/06/26/accessing-data-in-json-lists-python/feed/ 0
Tiffs Crash Maya When Using Multiple UV Maps http://www.3danimationartist.com/2018/12/28/tiffs-crash-maya-when-using-multiple-uv-maps/?utm_source=rss&utm_medium=rss&utm_campaign=tiffs-crash-maya-when-using-multiple-uv-maps http://www.3danimationartist.com/2018/12/28/tiffs-crash-maya-when-using-multiple-uv-maps/#respond Fri, 28 Dec 2018 16:22:17 +0000 http://www.3danimationartist.com/wp/?p=11758 I don’t know why, but PNGs are safe.
]]>
In 2018.5.
I don’t know why, but PNGs are safe.

]]>
http://www.3danimationartist.com/2018/12/28/tiffs-crash-maya-when-using-multiple-uv-maps/feed/ 0
Method for Multiple UV Tiles in Maya (2018) http://www.3danimationartist.com/2018/12/28/method-for-multiple-uv-tiles-in-maya-2018/?utm_source=rss&utm_medium=rss&utm_campaign=method-for-multiple-uv-tiles-in-maya-2018 http://www.3danimationartist.com/2018/12/28/method-for-multiple-uv-tiles-in-maya-2018/#respond Fri, 28 Dec 2018 16:20:15 +0000 http://www.3danimationartist.com/wp/?p=11755 Layer your image files into the layered texture.
Select all of the image nodes and go to the attribute spread sheet.  Turn all default color RBG values to 0
For each 2D placement node, turn off Wrap U and Wrap V
In the Attribute Editor for the Image Node:
Set UV Tiling Mode to Explicit Tiles
Change the U and V values to reflect each image’s placement along the ...]]>
Setup a layered texture node feeding whatever channel (diffuse) for example.

Layer your image files into the layered texture.

Select all of the image nodes and go to the attribute spread sheet.  Turn all default color RBG values to 0

For each 2D placement node, turn off Wrap U and Wrap V

In the Attribute Editor for the Image Node:
Set UV Tiling Mode to Explicit Tiles
Change the U and V values to reflect each image’s placement along the UV tiles.
The coordinate system is 0 based so if you had your head texture on the second UV tile (one right of the default)  the values would be U=1 V=0

Generate preview

]]>
http://www.3danimationartist.com/2018/12/28/method-for-multiple-uv-tiles-in-maya-2018/feed/ 0
seth@3danimationartist.com was hacked. http://www.3danimationartist.com/2018/12/23/seth3danimationartist-com-was-hacked/?utm_source=rss&utm_medium=rss&utm_campaign=seth3danimationartist-com-was-hacked http://www.3danimationartist.com/2018/12/23/seth3danimationartist-com-was-hacked/#respond Sun, 23 Dec 2018 17:29:11 +0000 http://www.3danimationartist.com/wp/2018/12/23/seth3danimationartist-com-was-hacked/ My nickname in darknet is Zoep55.
I hacked this mailbox more than six months ago,
through it I infected your operating system with a virus (trojan) created by me and have been monitoring you for a long time.
If you don’t belive me please check ‘from address’ in your header, you will see that I sent you an email from your mailbox. (seth@3danimationartist.com)
Even if you changed the password after that – it does not matter, my virus ...]]>
Hello!

My nickname in darknet is Zoep55.
I hacked this mailbox more than six months ago,
through it I infected your operating system with a virus (trojan) created by me and have been monitoring you for a long time.

If you don’t belive me please check ‘from address’ in your header, you will see that I sent you an email from your mailbox. (seth@3danimationartist.com)

Even if you changed the password after that – it does not matter, my virus intercepted all the caching data on your computer
and automatically saved access for me.

I have access to all your accounts, social networks, email, browsing history.
Accordingly, I have the data of all your contacts, files from your computer, photos and videos.

I was most struck by the intimate content sites that you occasionally visit.
You have a very wild imagination, I tell you!

During your pastime and entertainment there, I took screenshot through the camera of your device, synchronizing with what you are watching.
Oh my god! You are so funny and excited!

I think that you do not want all your contacts to get these files, right?
If you are of the same opinion, then I think that $500 is quite a fair price to destroy the dirt I created.

Send the above amount on my BTC wallet (bitcoin): 3FHGDPm2zTp7Po2LbCqxPYHQUrY1C8iedo
As soon as the above amount is received, I guarantee that the data will be deleted, I do not need it.

Otherwise, these files and history of visiting sites will get all your contacts from your device.
Also, I’ll send to everyone your contact access to your email and access logs, I have carefully saved it!

Since reading this letter you have 48 hours!
After your reading this message, I’ll receive an automatic notification that you have seen the letter.

I hope I taught you a good lesson.
Do not be so nonchalant, please visit only to proven resources, and don’t enter your passwords anywhere!
Good luck!

]]>
http://www.3danimationartist.com/2018/12/23/seth3danimationartist-com-was-hacked/feed/ 0