Mati Codes

# _  _ ____ ___ _    ____ ____ ___  ____ ____ #
# |\/| |__|  |  |    |    |  | |  \ |___ [__  #
# |  | |  |  |  |    |___ |__| |__/ |___ ___] #
#                                             #
# _  _ ____ ___ _    ____ ____ ___  ____ ____ #
# |\/| |__|  |  |    |    |  | |  \ |___ [__  #
# |  | |  |  |  |    |___ |__| |__/ |___ ___] #
#                                             #

Hi! I'm Matias Codesal, a technical director passionate about art and software and especially where the two intersect. Come along as I share some of the projects that I'm working on and some tips that I've learned along the way.

HOW TO CONVERT MAYA PYTHON 2 CODE TO PYTHON 3

March 27, 2021

Python 3 is finally here in Maya 2022! If you haven't converted your scripts to Python 3, I'll go over how you can automatically convert your Python 2 scripts and modules to Python 3.

Read More

HOW TO LAUNCH MAYA 2022 WITH PYTHON 2 IF YOU ARE NOT READY FOR PYTHON 3

March 25, 2021

While I'm excited and gladly welcome Python 3 for Maya, I know not everyone may be ready for it. Here I highlight and walk you through how to launch Maya 2022 with Python 2 instead.

Read More

OMNIVERSE EXTENSION PROCEDURAL MODELING TOOL USING PYPRT

March 23, 2021

I took a quick look at Omniverse's Extension framework to see how easy it is to create tools and pipeline for Omniverse. I wrote a nifty little tool for Omniverse Create to procedurally model buildings using PyPRT.

Read More

HOW TO USE PYCHARM'S REMOTE DEBUGGING WITH MAYA

Feb. 23, 2021

Connecting PyCharm's debugger to Maya will help you efficiently introspect your code as it runs, find your bugs, and fix them.

Read More

HOW TO SETUP PYCHARM FOR MAYA SCRIPTING WITH AUTOCOMPLETE AND EXTERNAL DOCUMENTATION

Feb. 8, 2021

Let's take a look at how to set up autocomplete and external documentation in PyCharm for maya.cmds and the Maya API (OpenMaya) to help speed up your development.

Read More

COASTAL CITY SUNSET POSTMORTEM

Jan. 20, 2021

I took a weekend to experiment with a photoreal rendering of a default CityEngine city. I wanted to see how far I could push the scene without investing time in modeling and surfacing.

Read More

HOW TO CONVERT AN HDR IMAGE TO LDR USING PYTHON

Dec. 28, 2020

I often have VFX students ask me about creating an app to easily browse HDRIs. Browsing HDRIs can sometimes be a challenge for artists because the operating system doesn't display thumbnails for HDR files like it does for LDR image formats.

Read More

HOW TO CONVERT PILLOW (PIL) IMAGE TO NUMPY ARRAY FAST!

Dec. 22, 2020

There are a few ways to convert a pillow (PIL) image to a numpy array. If you're working with large images or a high number of images, you really want to make sure you're using the fastest and memory efficient conversion.

Read More

HOW TO READ AN HDR IMAGE USING PYTHON

Dec. 15, 2020

The HDR (radiance) file format is really useful for photography and image-based lighting, but it's not straight-forward to use like other image formats. Let's look at how to read an HDR file using Python.

Read More

HOW TO RUN A PYTHON SCRIPT WITH ARGUMENTS IN UNREAL ENGINE 4

Dec. 7, 2020

You can run Unreal Engine Python scripts from the commandline to pipeline UE4 with other apps or automate repetitive tasks for your projects.

Read More

HOW TO EXECUTE AN UNREAL ENGINE BATCH MODE RENDER

July 13, 2020

Realtime rendering is fast, but you can still speed up and automate your workflows by batch rendering your Sequencer shots.

Read More

HOW TO REMOVE DUPLICATES FROM A LIST IN PYTHON

July 8, 2020

Let's look at some pythonic ways to remove duplicates from a Python list.

Read More

UNREAL ENGINE SEQUENCER WEEKEND CHALLENGE POSTMORTEM

June 29, 2020

I challenged myself to a weekend project to try out and learn Unreal Engine's Sequencer. I wanted to take a moment to share the result and some thoughts.

Read More

HOW TO SETUP EXTERNAL DOCUMENTATION FOR QT.PY IN PYCHARM

June 23, 2020

PyCharm has a nice feature where you can to click on (put your caret over) any Qt class or function, press Shift+F1 and open up the web documentation for that class or function.

Read More

SPICE UP YOUR QT FOR PYTHON WITH FONT AWESOME ICONS

June 16, 2020

Elevate your UI design by adding Font Awesome icons to your PyQt5 or PySide2 project. QtAwesome makes it really easy.

Read More

HOW TO USE A GIT REPOSITORY AS A PIP DEPENDENCY

June 8, 2020

Did you know you can install a python library using a link to a git repository instead of package index?

Read More

EXPORTING GLTF FROM MAYA

July 8, 2019

A year ago, I released a glTF exporter for Maya. What did I learn from it?

Read More

MAYA PYTHON API 2.0: IS IT READY YET?

March 29, 2018

It's been 8 years since the release of Maya Python API 2.0. While everyone liked the idea, it wasn't well-received because it was incomplete. Autodesk has continued to work on the "new" API, but is it complete?

Read More

WORKING WITH QUATERNIONS IN MAYA WITH PYTHON AND OPENMAYA

March 26, 2018

Quaternions are a very effective way of setting orientations or performing rotations, but if you want to do that using Python, you're going to need to leverage the OpenMaya API.

Read More

>>>