Seiten

Sonntag, 29. April 2012

create playblast in h264 mov

This script creates a playblast and auto convert it as a h264 mov
Nuke and Quicktime have to be installed on the same Pc.
The Script works only on Windows.
The Quicktime have a text overlay with the scenename and the actuel Frame .















Save the script in your scripts directory.
copy  this to your script editor.
replace the parameters and execute.


  1. #    This Scripts works only with Nuke on the same PC
  2. #
  3. #    Export a PlayBlast with Handles and Convert the Avi to a h264 mov File
  4. #        
  5. #    function createH264PB(path to the nuke.exe, framerate, handles,width, hight)
  6. #    if the framerange doesnt match with your scene framerate ,the script will not run
  7. #
  8. #    the mov is in the images folder
  9.  
  10. import rf_playblast
  11. rf_playblast.createH264PB("C:\Program Files\Nuke6.3v1\Nuke6.3.exe",25,10,1280,720)

Download:
http://dl.dropbox.com/u/34893475/rf_playblast.py

Freitag, 16. März 2012

jl_import_image_plane

This python script lets you pick an image file and creates a polyplane with it as texture.


Type "doImport()" to import the image.

http://pastebin.com/9Zg9hfJy

Mittwoch, 25. Januar 2012

jlViewAngle.py






















This script creates a cube to visualize the field of view of a camera.
Scale the cube with the "viewAngleSize" attribute on the camera.

Load the script and execute following commands from the Python command line:

jlViewAngle()   -> creates a viewAngle on selected camera
jlViewAngle("camera1")    -> creates a viewAngle on "camera1"


http://dl.dropbox.com/u/34893475/jlViewAngle.py

Samstag, 27. August 2011

change multiple renderpasses quicker



A script for changing quick and easy Attributes of multiple Passes in 3delight.
Changing the Attrs for 3deligth could be a little bit slow, because of the Ui refresh for every attr change.

With the script is possible to change the Attrs for all selected Passes with only one Ui refresh.

Put both Script in your "C:\Documents and Settings\user\My Documents\maya\version-x64 or -x86\scripts"
and start with typing "rf_m3dl_UI" in the commandLine .



The script is also nice to be proof that motionblur is on or that the animation Attr is on, before you render your scene.

Quality and MotionBlur Attrs could be change with a RMB click on the Attr Name.



download:
http://dl.dropbox.com/u/34893475/rf_m3dl_procs.mel
http://dl.dropbox.com/u/34893475/rf_m3dl_UI.mel












Dienstag, 19. Juli 2011

obj sequence exporter

this script export all selected objects as a obj sequence.





















http://dl.dropbox.com/u/34893475/exportObjSeq.mel


Mittwoch, 13. Juli 2011

export to tdl




















A Javascript file to export 3delight Textures from Photoshop CS.
The original Script is from Fredrik Brännbacka, "Photoshop To Map 1.0.0 "
I just change the batch part, for 3delight.
Script one saveAsTdl.js keeps the gamma as it is.
Script two saveAsLinearTdl.js assumes a srgb gamma and save it with a linear gamma.
"note" even when you watch you linear tdl with i-display it looks right "not darker".


Mittwoch, 29. Juni 2011

changeMultiCamAttr

A small script for changing multible displayOptions for all cameras in the scene(except the persp and the orthographic ones)

We used the cameraSequencer a lot .So i used the script to standardize all cams in the end before playblasting.

 



















download .mel file


http://dl.dropbox.com/u/34893475/changeMultiCamAttr.mel