hi Florin,

let me try to be a bit more clear...
but first - J3D has just a marginal presence in my project (just to visualize
the effects), so forgive me if I'm missing things which wouldn't be missed by
J3D expert :-)

hmm...so, I have an Alpha which is a source of values defining a rotation over
the X axis.
next, another Alpha generates values for the Y rotation.

I was thinking whether it is possible to make one cube rotating over X and Y
with these two Alphas, using one RotationInterpolator?
or, this was a bad design to make Alphas - maybe, some kind of Transformation3D
is needed here, or so...?

cheers,
Nikolaj

Florin Herinean wrote:
> 
> Can you be a little more clear ?
> 
> You can write your own Interpolator, so it can use as many alphas as you
> like. The stock interpolators only use one alpha. If you want to use the
> stock interpolators with more alphas, than the best approach is to create
> your own alpha which depends on the other alphas that you provide. In your
> alpha, then you define the rules to combine the values of the other alphas.
> 
> Cheers,
> 
> Florin
> 
> -----Ursprüngliche Nachricht-----
> Von: Nikolaj Uzunow [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 3. Februar 2003 12:34
> An: [EMAIL PROTECTED]
> Betreff: [JAVA3D] two Alphas for one Interpolator - is it possible?
> 
> hi All,
> 
> is it possible to make an interpolator (for example, RotationInterpolator)
> dependent not on one Alpha object, but on two Alphas?
> I've defined my own class extending Alpha, but returning values which are
> not
> time-based but depend on another parameters.
> I need to make a 3D object to respond to two Alphas. or, maybe it would be
> easier to apply another transformation to my obj which in order may take 2
> Alphas as an input...?
> 
> what do you think?
> 
> thanks in advance for any suggestions,
> Nikolaj
> 
> ===========================================================================
> 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".

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