Tuesday, 27 May 2014

Tuesday 28th May

Tuesday 28th May

S 2.1
- render failed at F470
- comp prepared
- restarted render at 10:46 from F470
- render continued to fail.  It reports that there isn't enough memory in Mental ray but the requested memory is a negative number which is suspicious.
- Did a full system restart and now it renders
- rendering on Machine 2

S 2.2

2.2.1 Importin binds to STAT1
- elements modelled ready for animation
- still rendering on Machine 1

2.2.2 Importin/STAT1 pass through nuclear pore (Complete)

2.2.3 RAN-GTP removes Importin (Complete)
- main sequence rendered
- rendering background RAN-GTP elements
- compositing done

2.2.3 STAT1 activates RNA production (Complete)

S 2.3

2.3.1 RNA Transcription (Done)

2.3.2 Spliceosome (Done)

2.3.3 Nxf1-Ntx1 Dimer binds to mRNA
- elements modelled ready for animation
- animated and rendering on Machine 1

2.3.4 Nxf1-Ntx1 Dimer/mRNA pulled back through Nuclear Pore
- elements modelled ready for animation

S 2.4
2.4.1 mRNA exits into cytosol

- small ribosomal subunits modelled
- models needed
     - small ribosomal subunit
     - amino acyl-tRNA molecules
     - eIFs (eIF3 and eIF4)
     - Met-tRNA

Tuesday, 20 May 2014

Render time smoothing

Render Time Smoothing

1) This puts a zero level smooth on all selected objects in the scene

$allObjs = `ls -sl`;
if(size($allObjs)>=0)
{
     for ($thisObj in $allObjs)
          {
               polySmooth  -mth 0 -dv 0 -bnr 1 -c 1 -kb 1 -ksb 1 -khe 0 -kt 1 -kmb 1 -suv 1 -peh 0 -sl 1 -dpe 1 -ps 0.1 -ro 1 -ch 1 $thisObj; 
          }
}


2) select everything in the scene that has a polysmooth node on it

2A) Turn smooth on 
$allSmooths = `ls "*polySm*"`;
if(size($allSmooths)>0)
{
    for($thisSmooth in $allSmooths)
    {
        setAttr ($thisSmooth+".divisions") 1;      
    }  

}

2B) Turn smooth off
$allSmooths = `ls "*polySm*"`;
if(size($allSmooths)>0)
{
    for($thisSmooth in $allSmooths)
    {
        setAttr ($thisSmooth+".divisions") 0;      
    }  

}

or in a single line
$allSmooths = `ls "*polySm*"`;if(size($allSmooths)>0){for($thisSmooth in $allSmooths){setAttr ($thisSmooth+".divisions") 1;}}
$allSmooths = `ls "*polySm*"`;if(size($allSmooths)>0){for($thisSmooth in $allSmooths){setAttr ($thisSmooth+".divisions") 0;}}

and to add this to the pre-render MEL commands you can run the following lines

setAttr -type "string" defaultRenderGlobals.preMel "$allSmooths = `ls \"*polySm*\"`;if(size($allSmooths)>0){for($thisSmooth in $allSmooths){setAttr ($thisSmooth+\".divisions\") 1;}}";
setAttr -type "string" defaultRenderGlobals.postMel "$allSmooths = `ls \"*polySm*\"`;if(size($allSmooths)>0){for($thisSmooth in $allSmooths){setAttr ($thisSmooth+\".divisions\") 0;}}";

Copy the above two highlighted blocks of  MEL and make shelf buttons out of them so all you have to do is run the render set up (second block) once for your scene, and select lowres polygons and run the second one every time you add a new object that you want rendertime smoothed.


Monday, 7 October 2013

My Maya Deformation Setup Lectures - Enjoy!


Loading
Loading Viddler Videos

    Thursday, 1 August 2013

    How to – Maya – remove namespace after import

    namespace -mv "namespace" ":" -force;