Hello, I'm trying to use a TransparencyInterpolator but I don't want that
the objects get invisible. So I set the MinimumTransparency to 0.5
setMinimumTransparency(0.5f)) and the maximun to 1
(setMaximumTransparency(1.0f))... but the objects disapear!!
this is my code...
//HighLightSelect
BoundingSphere bSphere= new BoundingSphere();
Alpha selAlpha =new Alpha(-1, Alpha.INCREASING_ENABLE |
Alpha.DECREASING_ENABLE, 0, 0,
650, 0, 0,
650, 0, 0);
_transparencyInterp= new TransparencyInterpolator (selAlpha,null);
_transparencyInterp.setMinimumTransparency(0.5f);
_transparencyInterp.setMaximumTransparency(1.0f);
_transparencyInterp.setSchedulingBounds(bSphere);
_bgCapas.addChild(_transparencyInterp);
And in another part of another class I set the target of the
interpolator(traInt.setTarget(t))
===========================================================================
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".