Friday, October 26, 2007

balancing thoughts !

As i ponder various aspects of my life, i find its full of things striving to strike a balance.

good / bad, light/dark, knowledge / ignorance, truth / lie, true / false, visible / invisible, on /off, `window -exists myWindow` / !`window -exists myWindow` ...bla bla blaa....

now wouldn't it be nice if you can have a side by side look at both - similarities and differences ?? and save some hair strands too ??

I 've been using CSDiff a free software which is quite decent for the purpose, to open and see the differences between your messed up files / folders. It has three modes of display. From the notes.. "CSDiff is a great asset to anyone in need of analyzing changes which have been made between two revisions of the same file or folder."

Have any better options you use, drop me a comment... if /else, open / close, 0 /1 ... bla bla blaa..

Thursday, October 25, 2007

Preferences - yours and mine !

Do you have preferences ? I do ! Everyone does !! And no one's preferences are the same ! How many have you ? How do you store and handle your preferences ?

na na na....<<>> I'm not talking about human preferences here, i'm talking about MAYA preferences !

Been working on some maya preferences for some time now. During this exercise, i've been looking around for information dealing with maya and its preferences. I share them now.

1) getenv - [command]

`getenv "MAYA_LOCATION"`;
string $user=`getenv USERNAME`;
// Result:ashish//
to know the maya installation directory. I used it to find out where and which is my maya.exe i'm using currently !

2) about - [command]
`about -win64`;
to find out if your OS is 64 bit or not. This might be handy if your studio has a mixture of 32 bit and 64 bit OS

3) optionVars - most of the maya's tool settings, UI settings, user settings are handled using these.

Check out "C:\Program Files\A*****\Maya**\scripts\startup\syncPreferencesOptVars.mel"

4) Batch files - i use them to do alot of work for me. Yes, as you guessed i'm dealing with windows machines here. Batch files can be used to copy things around for you. Ex: Copy your centrally stored Maya.env files to each artist's preferences folder on startup.

5) sytem - [comand]

If you are firing a batch script through maya (using system command) and you DON'T want maya to wait for that batch to finish its work, you can use:
system ("shell s:/batches/startMaya.bat");
and to close that batch file's dos prompt automatically, don't forget to add the "exit" line. This way your maya can 'fire and forget' a batch file, without getting effected by it.

6) scriptjobs - Ever wanted to do your own tricks just before maya quits ?? Like putting your files on server or take a backup of your files or tell your pal you've completed your work ? you can use the scriptjob to help you with just that.
proc backupprefs()
// put your code here
scriptJob -protected -event "quitApplication" backupPrefs;
7) internalVar - [command]

Getting information about maya - you might want to find out where maya stores its things!!!
string $currMayaPrefLocation=`internalVar -userPrefDir`; 
// Result : C:/Documents and Settings/User/My Documents/maya/8.0/prefs/
8) Reset preferences - Ever wanted to reset few options to maya's default, still having the other user prefs as they are ?

Make a mel file with your required lines and source them at startup through userSetup.mel

-sv "workingUnitTime" "pal"
-sv "workingUnitTimeDefault" "pal"
-fv "playbackMax" 200
-fv "playbackMaxDefault" 200
-fv "playbackMaxRange" 400
-fv "playbackMaxRangeDefault" 400;
This will enable your maya to have PAL as the Time - working units and set your default frame ranges to 1-200. Everytime you have to do dynamics and for the first 2 mins you spend adjusting your time line ? Its not frustrating anymore ! :)

Tuesday, October 16, 2007

Paulau Ubin Island !

What a nice place :)

Me and my friend abishek went to Paulau Ubin Island and ah !! beautiful place and scenic nature spot ! We cyclced for 15-16 kms and it was fun, riding and sweating !

some pics...

Jetty ...

changi beach ...

At the island...

Cycles !

the two explorers !

On one side...

thanks to abishek for the snaps and "compositing" :) yaayyee !

Wednesday, October 10, 2007

Animation Mentor's Fall Reel !

aahhha ! post after some time !! but what other thing to post about !

Aniamtion Mentor's fall show case :

DOWNnload this high res movie : here :)

awesome animation. i 've been laughing at the intro and the last clip.. awesome sounds and love the way he reacts to that !! hahahahahaha !!

Monday, October 01, 2007

Comics !!

I came across this online version of the virgin comics ..... i love this art and comics..

check it out..