Helpful Hints
Your Shopping Cart: 0
Total Cost: $0.00
Check Out Now
Help:
Tips & Tricks
Close

Store

  • Press U to navigate categories upwards/
  • Press D to navigate categories downwards
  • Press O to open all categories
  • Press C to close all categoories
  • Search Videos by using the search box in the top right, Titles and Content are searchable
  • Change your view by using list or thumbnail view
  • To view your videos click "My Videos" in the top nav bar
  • To purchase a video, Click the price, then click "Cart Items" in the bottom to checkout.

Video Player

cmi VFX | 2011
LOG-IN

LOG-IN
SIGN-UP
Having Login Trouble?
Enter your registered email here to have your account information sent to you

Go
Your Browser is not supported at this time. We can't guarantee all features. Please use Google Chrome for Windows, Chrome for Mac, or Safari for Mac.
cmi VFX | 2012 Video Player Version 1.8
Houdini Empowering Digital Assets with Python
Python scripting could be of a great help, especially when it comes to redundant things that if done manually would take ages. In this part you are going to learn how to use python, inside the python shell, to automate the creation of the Rubik's cube and all the necessary nodes from scratch. By the end of this part you will have built, using python, the geometry of the Rubik's cube with the materials attached to it and with nulls parented to the cubes that will serve later in the code.
More Informaton...
More Information
Date Released 12/20/2009
Duration 02.08.25
Producer cmiVFX
Chapters 7


Buy Now
Houdini Empowering Digital Assets with Python

Chapters Descriptions
Release Date: 12/20/2009
Sample Image
Houdini Empowering Digital Assets with Python
Sample Image
Houdini Empowering Digital Assets with Python
Sample Image
Houdini Empowering Digital Assets with Python

Introduction to Digital Assets
Digital assets are a very important brick in any workflow built around or using Houdini. In this part you will be introduced to digital assets and you will learn, by transforming the Rubik's cube into one, how to transform a bunch of existing nodes into a digital asset.

Python Inside The Digital Asset
Since digital assets are entities that can live by themselves, it is crucial to be able to include the scripts they use inside them. There are many methods to do that and in this part you are going to learn one of those methods. By creating a simple python function inside the Rubik's cube digital asset and then adding a button also to the digital asset to be able to call this function.


Rubik`s Rig Core Code
All is ready now to begin building the core code of the Rubik's cube rig. In this part you are going to go deeper into the python code that will drive the behavior of the rig. You are going to learn about the functions and how to pass parameters from the buttons to these functions, to be able to drive a multitude of conditions that will determine what cubes belong to which faces, which faces will rotate, how they are going to rotate ... etc

Keying and Animation
Up until now all the work done so far, allows only to play with the Rubik's cube, no keys were set and therefore no animation. To bring the cube to life, in this part, you are going to learn how to create the code that will allow setting key frames on the rotations to get an animation!

Custom Geometry
What if the user needs to use custom geometry instead of the default cubes? In this part you are going to see how to make this possible and how to allow the user to define a custom geometry or not, in which case the default cubes will be used.


Finishing Touches
Resetting the cube to its initial state is important because not everyone knows how to solve it! :) In this part a reset button will be created as well as making the rotate function more flexible by allowing it to take the angle in as a parameter.


About The Author
Georges Nakhle, lebanese, and has a masters degree in mechanical engineering. he has a wide artistic and scientific knowledge, he began his art steps with traditional painting and sculpting then gained a diploma in dramatic monologue (acting -singing), he has worked as a writer and perfomer in radio and TV. combining arts and science led him to CG, so he mastered many tools including Maya and Houdini among others, he's also a programmer so he's currently working for Dassault Systemes in Paris-France and he had also worked in combination between Dassault-Systemes and Mental Images the makers of mental-ray. He is very picky about the details and he believes that every small detail contributes to the finished product.