If I understand it, and it seems to work this way,
starttime of zero, IS the current time, so if you want to start
one second later, make starttime 1000. Not like VRML,
where start time is in the year 1970 and you have to use
two timers to get it to start at current time.
> -----Original Message-----
> From: oliver radfelder [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 16, 1999 5:06 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] starting alpha at current time
>
> Hi,
>
> I am new to java3d, but I am familiar with vrml. Thus I dare to ask the
> following
> question.
>
> My alpha works fine, when it is created like:
>
> Alpha alpha=new Alpha(-1,4000);
>
> But I can't figure out how to start it once at a particular point in
> time:
>
>
> Alpha alpha=new Alpha(1,4000);
> RotPosPathInterpolator rotPosPath=new RotPosPathInterpolator(alpha,
> ...);
>
> // adjust to System Time
> alpha.setStartTime(0);
> // start it one second in the future
> alpha.setTriggerTime(System.currentTimeMillis()+1000);
> ....
>
> Unfortunately, that does not work. Setting startTime to
> currentTimeMillis + x doesn't
> work, either.
>
> It seems that I am not the only one with an alpha-problem. The tutorial,
> which is
> very good, has only examples, which run indefinitly (-1). Maybe there is
> one
> who can give us a working example?
>
> Bye, Oliver
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".