Hi Gernot,
as a way to do what you want:
I have used the following in my code
 /*
    * Privately defined subclass of Alpha to be able to use a controlled
    * version of the iterator: here the value returned is constant and set
    * programmatically instead of varying with the time
    */
    protected class MyAlpha extends Alpha {
        float valueSet = 0f;
        public MyAlpha() {
            super(1,1);
        }
        public float value(){
            return valueSet;
        }
        public void setValue(float v) {
        valueSet = v;
        }
    }
I believe you could add a switch in the value method:
something like that:

        public float value(){
           float lastvalue =0f;
             if (!stopped) {
                lastvalue = super.value();
                }
            return lastvalue;
        }
        public void stop(boolean b) {
                stopped= b;
        }

you would still have to manage the resync ( to restart from the previous
value if this is required) or even manage your own time based value to be
set as per MyAlpha
Hope it helps
--
Olivier Fillon    Minestar Project
[EMAIL PROTECTED]  Mincom Limited
Ph.+61-7-3303-3344               61 Wyandra Street
Fax+61-7-3303-3232               Teneriffe Qld. 4005.
Australia
Company home page: http://www.mincom.com/
Personal home page: http://www.home.gil.com.au/~fillon
--

===========================================================================
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".

Reply via email to