group:
I have 3000+ points that define a path. Now I need to supply a
PositionPathInterpolator with knot values for these positions. How do I
achieve
a correct knot value for each point.
Also, does anyone have an example on how to use the Interpolators?
Thanks,
Zak
==
The PositionPathInterpolator requires an array of Point3f objects for
specifying the positions. It would help significantly if the API could
be enhanced to take as input a *single* array of coordinate values - just
as with the Geometry arrays.
Also, would it be possible to have the float[] knots
Is there any sample code for PositionPathInterpolator?
Thx,
Ma'n.
===
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 P
Hi folks,
Another question regarding the use of interpolators to
move objects.
Basically, I have a process feeding me coordinate
position information (e.g. x0244 means move to
position 244 on the x axis). If the object is sitting
at x 200, I setup a PositionPathInterpolator with
knots = {0.0, 1
a cut and paste of one of my previous message which should help you:
/**
* return an array of points interpolated from the given knots
* it is hardcoded to being 5 times the number of knots
* this is done by building the new inferred points from an existing
java3D
* interpolator ov
Hi,
I'm trying to use PositionPathInterpolator to move an object through
fixed points in a scene. In the specification, it says to use it in
the form:
public PositionPathInterpolator(Alpha alpha, TransformGroup target,
Transform3D axisOfTranslation, float knots[