Building and Installing PyQt for 64-bit Maya 2012 : Windows 7 x64

Now maya uses a customized version of Qt libraries.So if you want to built PyQt libraries for maya 2012.Here is how to do that,

Things to download

  1. Microsoft 2008 Express Edition with SP1
  2. Microsoft Windows SDK for Windows 7 (Windows 7 64bit Only)
  3. Qt 4.7.1 Modified for Maya from Autodesk
  4. Original Qt 4.7 from Nokia
  5. Sip 4.1.3
  6. PyQt 4.8.6

Building Qt

  1. Extract the Original Qt 4.7 from Nokia to c:\qt-adsk-4.7.1
  2. If you’re building for 64-bit Maya, select ‘Visual Studio 2008 x64 Win64 Command Prompt’.
  3. Run the commands below
cd c:\qt-adsk-4.7.1
configure -debug-and-release -no-qt3support

4. Now Qt is configured.To build run this command

c:\qt\2010.05\bin\jom

More detailed instruction can be found inside the Qt 4.7.1 Modified for Maya from Autodesk archive.

Building Sip

1.Extract Sip 4.1.3 to c:\sip-4.13

2.Run ‘Visual Studio 2008 x64 Win64 Command Prompt’ as administrator

3.Lets set the env variable for library and configure sip.Execute following commands

cd c:\sip-4.13
set LIB=%LIB%;C:\Program Files\Autodesk\Maya2012\lib
"C:\Program Files\Autodesk\Maya2012\bin\mayapy" configure.py

4.Set the include file location and build sip

set INCLUDE=%INCLUDE%;C:\Program Files\Autodesk\Maya2012\include\python2.6
nmake
nmake install

Buiding PyQt

1.Extract PyQt 4.8.6 to c:\PyQt-win-gpl-4.8.6

2.Run ‘Visual Studio 2008 x64 Win64 Command Prompt’ as administrator

3.Change to PyQt directory and Set the following Environment variable

cd c:\PyQt-win-gpl-4.8.6
set QTDIR= C:\qt-adsk-4.7.1
set PATH=C:\qt-adsk-4.7.1\bin;%PATH%
set QMAKESPEC=C:\qt-adsk-4.7.1\mkspecs\win32‐msvc2008
set INCLUDE=%INCLUDE%;C:\Program Files\Autodesk\Maya2012\include\python2.6;C:\qt-adsk-4.7.1\include

4.Configure and Bulit

"C:\Program Files\Autodesk\Maya2012\bin\mayapy" configure.py ‐w LIBDIR_QT=C:\qt-adsk-4.7.1\lib INCDIR_QT=C:\qt-adsk-4.7.1\include
nmake
nmake install

Now Sip and PyQt4 will be installed in maya’s site‐packages directory located at C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages

Testing the Installation

Now you can test the installation.Using the below code in maya’s script editor.

from PyQt4 import QtGui,QtCore
button=QtGui.QPushButton("Hello There")
button.show()
Advertisements

What is Previs?

Just read this definition formulated by the ASC-ADG-VES Joint Technology Subcommittee on previsualization.

” It is a collaborative process that generates preliminary versions of shots or sequences, predominantly using 3D animation tools and virtual environment.It enables filmmakers to visually explore creative ideas, plan technical solutions, and communicate a shared vision for efficient production.”

and i like to add “It will also help vfx artist to have some sleep.”

CentOS : Annoying New Window Behavior

After the install first thing you will be noticing is, when you browse the folders, every folder opens in a new window.For most windows user this is kinda annoying.Here is how to disable it.

1.Open terminal with user account.
2.Type the following command

nautilus-file-management-properties

3.Then choose “Behavior” tab.
4.Check “Always open in browser windows”.

Fingers Crossed for ” Magic Piano “

Press Release:

The Academy of Motion Picture Arts and Sciences today announced that 10 animated short films will advance in the voting process for the 84th Academy Awards®. Forty-four pictures had originally qualified in the category.

The 10 films are listed below in alphabetical order by title, with their production company:

  • “Dimanche/Sunday,” Patrick Doyon, director (National Film Board of Canada)
  • “The Fantastic Flying Books of Mr. Morris Lessmore,” William Joyce and Brandon Oldenburg, directors (Moonbot Studios LA, LLC)
  • “I Tawt I Taw a Puddy Tat,” Matthew O’Callaghan, director and Sam Register, executive producer (Warner Bros. Animation Inc.)
  • “La Luna,” Enrico Casarosa, director (Pixar Animation Studios)
  • “Luminaris,” Juan Pablo Zaramella, director (JPZtudio)
  • “Magic Piano,” Martin Clapp, director and Hugh Welchman, producer (BreakThru Films)
  • “A Morning Stroll,” Grant Orchard, director and Sue Goffe, producer (Studio AKA)
  • “Paths of Hate,” Damian Nenow, director (Platige Image)
  • “Specky Four-Eyes,” Jean-Claude Rozec, director and Mathieu Courtois, producer (Vivement Lundi!)
  • “Wild Life,” Amanda Forbis and Wendy Tilby, directors (National Film Board of Canada)

THE 3D FILM & MUSIC FESTIVAL ANNOUNCES AWARDS and i have worked on three of it.

Audience Award: “The Flying Machine” presented by BreakThru Films. ( Credited as Technical director )

Best of the Fest 3D Shorts: “Spirits of the Piano” directed by Magdalena Osińska ( Credite ed as VFX Supervisor )

Its been great working with David Booth (VFX Supervisor),Tim Baier (Head of pipeline and development),Hugh Welchman (Producer),Magdalena Osinska (Director Spirits of Piano).

And i would really need to thank Mr.Muralidharan (CTO of Accel Animation Studios) for having faith in me and giving me this opportunity.

It was nice to be in this list along with transformers 2,Kung fu panda 2.

http://www.mtbs3d.com/index.php?option=com_content&view=article&id=12672&Itemid=89