Notifications
Clear all

[Closed] Animating a digital clock?

Hello all!

I was wondering if it is possible to animate numerical text to count in 3ds. We are trying to produce a timeclock effect that can be comp’d over an animation of daylight. Perhaps it could be done by having a text field display the value of time in the daylight object? Is this possible?

6 Replies

Set a callback on the sun changing, and have the clock update itself with the values it reads from the daylight system I imagine.

Why not just comp this in later in AE though?

www.cuneytozdas.com/software/3dsmax/#CounterText
for a digital clock you need a digital font, google for it
it should be possible to wire it to daylight params

guruware

Our AE guy is out for a couple weeks… so Im stuck with this task. I figured it would be smoother to grab the time value out of the daylight system but as to how to apply it to a text field in max I am lost. I tried looking at applying a controller to the text field but i get stuck, and its probably the wrong approach anyway. Any suggestions?

That counter text plugin for max looks like what Im looking for . Thank you all!! I just have to figure out how to wire it to the clock time data now.

Could someone be kind enough to walk me through how do define a variable according to the solar time on a daylight system? The website that plugin came off of has that same question but no answers. I can get to the point of setting up the variable, but after that I get stuck. Thank you in advance!

I’ve had a look last night but it doesnt seem to work as it should.

This:

solar_time = $.daylight.controller.solar_time

hrs = int(solar_time/3600.0) – full hours in the solar_time value
min = int((solar_time – hrs3600.0)/60.0) – full minutes in the difference between the full time and the full hours
sec = int(solar_time – hrs
3600.0 – min*60.0 + 0.5) – full seconds in the rest of the value
#(hrs,min,sec) – return the result as a 3 elements array

…is taken directly from the maxscript reference but does not work. shoddy!