On Fri, 28 Apr 2000, Pondrom, Pierre L wrote:
> Have you considered a link list for the input data?
Thank you for the response.
The problem concerns the actual IndexedTriangleStripArray rather than the
input data. I am trying to avoid re-creating a largely unchanged
IndexedTriangleStripArray object for rendering because the data is
v. large.
I ideally need to be able to change the basic dimensions passed in its
contructor i.e. indexCount and stripIndexCounts[], but this is simply
impossible.
Sun guys - will this ever be possible?
Further help much needed!
Thanks,
Duncan
> > From: D.A. Woods[SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, April 28, 2000 11:32 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JAVA3D] Changing the length of strips & GeometryArrays
> >
> > Hi there,
> >
> > I need to lengthen, shorten, add & remove triangle strips at run
> > time.
> >
> > Does anyone have any idea how to do this efficently or
> > even approach this problem?
> >
> > It seems to me that the triangleStripArrays have pre-declared
> > length and strip lengths so a whole new array has to be created. This is
> > a problem beacuse I only want to change ~3% of the data each time so is
> > there a fast way of doing this from another array that doesn't require all
> > the data to be physically copied?
> >
> > Even a fast way of changing the array length would be a great
> > help.
> >
> > Please help or tell me it can't be done,
> >
> > Thanks,
> > Duncan
> >
> ===========================================================================
> 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".