Nick Leigh
Forum Replies Created
-
Hey Dan,
Thanks for the link. It was exactly what I was looking for. Do you know if there is anyway to set the font to Italics? That was covered in Todd’s post.
Nick
CS5 Production Suite
-
I decided to do this a different way just counting the markers that met the conditions.
if (time > 0)
{
count = 0;
c = thisComp.layer("Game Markers");
n = c.marker.nearestKey(time).index;
if (c.marker.key(n).time > time) n--;// loop thru
for (i = n; i > 0; i--)
{
if (c.marker.key(i).comment == 3)
{
count++;
}
}
}
else
{
count = 0;
}away = count;
But would still like to know how to increment if it is at all possible.
-
Dave,
Thanks for the info on PAR. Seems to be kind of complicated but I’m sure I will figure it out.
I am not editing with AE, sorry it was the wrong choice of words. I am editing the video in Premiere. I just bought the Production Suite CS5. I will have to see if I have version 10.0.1 of AE.
I am working with a Comp that is 23.976fps just put 24 because I am lazy. Sorry about that.
I have a question about the my comp. If my camera captures with 1440 x 1080 resolution I am guessing that is the size I should use for my entire project right? So use 1440 x 1080 for my comps in AE and then use that setting in Premiere as well?
Thanks for your time and help.
Nick
-
Hey Ted,
By viewing area I meant the comp preview area.
Here are the details of my project:
I captured the video in HD mode with my Sony camera and when I import it, AE tells me it is 1440 x 1080 which I believe means I should be using ACVHD 1080p anamorphic (1440 x 1080) 24fps. From this setting I don’t think that it is square pixels. Maybe I am incorrect on my assumption.
I then created a 1920 x 1080 image I want in Fireworks for my overlay. I don’t know what PAR is sorry I am fairly new to editing in After Effects. Thanks for the help.
Nick
-
Well with the help of Dan Egbberts function for the keyframes with a checkbox control I was able to create a clock that would stop and start when I wanted it to using checkbox control to know when the clock was suppose to be running and when it was stopped. I also added in a linear function at the end to make sure the clock was at zero when each period ended. Here is the expression code, just wanted to post it so anyone else looks for a count down clock with the ability to stop and start it.
//Full Function Countdown Script
//Written by - Dan Ebberts (keyframe math)
//Edited by Nick Leigh (added the stopwatch function) - nick17604@hotmail.comfunction padZero(n)
{
if (n < 10)
return "0" + n;
else
return "" + n;
}//new keyframes
periodLength = 10; //length of period in minutes
decimals = true; //use decimals with left than a minute left
lastStart = 6;
rate = 1;
diff = 0;
c = thisComp.layer("Period 1").effect("Checkbox Control")("Checkbox"); // checkboxif (c.numKeys > 1)
{
n = c.nearestKey(time).index;
if (c.key(n).time > time) n--;
if ( n > 0)
{
accum = c.key(n).value * (time - c.key(n).time);
for (i = n; i > 0; i--)
{
if (i == 1)
{
accum += c.key(1).time * c.valueAtTime(0);
}
else
{
accum += c.key(i-1).value * (c.key(i).time - c.key(i-1).time);
}
}
}
else
{
accum = time*c.valueAtTime(0);
}//if its your last start before the end of the period adjust the time so it ends when it should
if (n == lastStart && lastStart != 0)
{
lastTime = c.key(n).time;
rate = (periodLength*60 - accum)/(c.key(n+1).time - c.key(n).time);
}
else if((n - 1) == lastStart && lastStart != 0)
{
accum = periodLength*60;
}
}
else
{
accum = time*c.valueAtTime(0);
}//format the acculated time for the time format
if (rate == 1)
{
secLeft = (periodLength*60 - accum);
}
else
{
secLeft = (periodLength*60 - accum) - rate*(time - lastTime)
}//do we need decimals
if (secLeft <= 0.05)
{
clockTime = "0:00";
}
else if (secLeft < 60)
{
secs = Math.floor(secLeft%60);if (decimals)
{
ms = secLeft.toFixed(1).substr(-1);
clockTime = secs+"."+ms;
}
else
{
clockTime = "0:"+padZero(secs);
}
}
else
{
mins = Math.floor((secLeft%3600)/60);
secs = Math.floor(secLeft%60);
clockTime = mins+":"+padZero(secs);
}clockTime;
Basically all you need is the text layer obviously and a null object which you use a checkbox control. Add keyframes to the control using On when you wan the clock to run and OFF when you want it to stop and not run.
Nick
-
Hey Brian,
Thanks for your help. I have just purchased the following from Newegg.com today.
Processor: AMD Phenom II X6 1090T(3.2GHz)
Processor Main Features: 64 bit Six-Core Processor
Cache Per Processor 6 x 512KB L2 Cache
Memory: 8GB (2x4GB) DDR3 1333
System Drive: 60GB OCZ Agility 2 Internal SSD
Hard Drive: 2 x 1TB SATA 6.0Gb/s 7200RPM HDD in Raid 0
Optical Drive: LG 10x Blu-ray Burner SATA
Graphics: Palit GeForce GTX 470(Fermi) 1.25GB PCI Express
Audio Sound card: Integrated
Power Supply: 650W
Operating System: Windows 7 Home Premium 64-Bit
Motherboard: ASUS M4A89GTD PRO
Chipset: AMD 890GX
CPU Type: Phenom II X6
CPU Speed: 3.2GHz
L2 Cache Per CPU: 6 x 512KB
L3 Cache Per CPU: 6MB
CPU Socket Type: AM3
Graphics Interface: PCI Express 2.0 x16
Memory Capacity: 8GB DDR3
Memory Speed: DDR3 1333
Form Factor: DIMM 240-pin
Memory Spec: 4GB x 2
Memory Slot Available: 4
HDD Interface: SATA 6.0/Gb/s && SATA 3.0/Gb/s
LAN Chipset: Integrated
LAN Speed: 10/100/1000Mbps
Front USB: 2
Front IEEE 1394: 1
Front Audio Ports: 2
Video Ports: 2 DVI, 1 HDMI
Rear USB: 6 x USB 2.0
Rear IEEE 1394: 1
Rear Audio Ports: 6 ports
S/P DIF: 2 portSo I should have the new computer built by the weekend with windows 7 installed. Can’t wait to get CS5 production installed after that.
Nick
-
I am now going to build a custom computer from scratch. I am wondering a couple things before I choose my specs…
Will I see a big difference between the AMD Phenom II 3.2 GHz X6 and X4?
I would like to buy a 150GB 10000RPM Hard drive as my system drive and then 2 1TB hard drives set up with raid 0, will that be sufficient? Or will I not see a difference if I go without the 10K RPM drive?
I will be installed 8GB of ram (2 x 4GB) with the plan to add more if needed.
On the adobe site the say to use GeForce GTX 470 or the 285 but will the GTX 460 work? Or will I see a big difference using the 470 or 285?
Thanks for any help you can give me.
Nick
-
Is it possible for someone out there to create a plugin that would do this? Obviously I would have to pay someone but it might be worth it apposed to using all my free time.