For those who do not need continuous updating while using billboards:
Following Doug's explanations (Thanks again), I now use the following trick:
public class MyBillboard extends Billboard
{
/* the viewplatform transform group */
TransformGroup pt = null;
WakeupOnTransformChange wakeupFrameTG;
public MyBillboard(TransformGroup transformgroup, int i, Point3f
point3f, TransformGroup platformTransform)
{
super( transformgroup, i, point3f);
pt = platformTransform;
wakeupFrameTG = new WakeupOnTransformChange(pt
}
protected void wakeupOn(WakeupCondition p0) {
super.wakeupOn(wakeupFrameTG);
}
}
this way, my billboards are only activated when the viewer change
position...
This seems to work correctly.
Hope it helps
--
>The cause here is that Billboards are controlled by Behaviors which have
are
>triggered by a WakeOnElapsedFrames(0) criteria. This criteria tells J3D to
wake
>up after the next frame is drawn, which causes J3D to continuously animate
the
>scene.
>Any scene with a WakeOnElapsedFrames(0) behavior will animate continuously.
--
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".