PDA

View Full Version : MEL: Heads up display upgrade?


Rudity
11-18-2002, 05:52 AM
Hey guys.

Do any of you folks out there know of a way or script that shows the frame number in your heads up display.
If one doesn't exist could any of you MEL experts write one for me? I mean if time permits. Or assist me in writing one.. Id like to learn MEL but dont even know how to start.

Id like one of these so when I playblast I could scroll through the video file and see what frame number its on.


Thanks in advance. Cheers
:beer:

Razvan
11-18-2002, 07:05 AM
It happens that I recently wrote a little script that shows you the frame number.The only problem is that it doesn't update if NOTHING is moving in the scene ... other then that ...

here it is
global proc createHUDcounter () {

//current frame HUD
if (`headsUpDisplay -exists HUDCurrentFrame`)
headsUpDisplay -remove HUDCurrentFrame;

headsUpDisplay
-section 0
-block 4
-command "currentTime -q"
-attachToRefresh
-dataFontSize large
-decimalPrecision 3
HUDCurrentFrame;
}

global proc removeHUDcounter () {

//remove HUD
headsUpDisplay -remove HUDCurrentFrame;
}

... in the mel section you will find a similar one at the last page.

Rudity
11-18-2002, 07:31 AM
You're fast Razvan!!!

Thanks for the speedy reply..

This helped alot.

Thanks a million.

Rudity :beer:

CGTalk Moderation
01-13-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.