VERY good summation!! I posted something here a couple weeks ago, asking basically the
exact same question. Since this seems to be a popular issue, I'd like to add my vote
to
PLEASE get this fixed as soon as possible!!
In the short term, while we wait breathlessly for 1.3 to come out, does anyone out
there
have any suggestions on how to handle this, preferably a solution that does NOT involve
creating a new strip every time the data changes (i.e. ~30 fps with over a hundred
objects)? I guess we can always use IndexedCoordinateArrays, but I'd prefer to avoid
that if possible...
With all the people here, I assume that SOMEONE would have a clever (==
"not-TOO-kludgy")
solution to this problem!
Thanks, in advance!
-- Ken
"Dipl. Ing. Paul Szawlowski" wrote:
> I'm getting a bit confused about the GeometryStripArray. So there is a bug when
> setting setValidVertexCount in GeometryStripArray. And you have a semantics problem
> (adressed in Version 1.3). And you have bug fixes in Version 1.2.1beta1 and beta2.
> And you claim setValidVertexCount is ignored for GeometryStripArrays.
>
> I would like to recall:
>
> 1) With the current version (1.2.1 beta1) there is no possibility to change the
> number of rendered stripes in GeometryStripArray. And I should not call
> GeometryStripArray.setValidVertexCount( ).
>
> 2) with version 1.2.1 beta2 I can call GeometryStripArray.setValidVertexCount( ), but
> it will not have any effect.
>
> 3) in version 1.3 there will be the possibility to change the number of rendered
> stripes.
>
> Are the above statements right ?
>
> Please, could you adress the use of setValidVertexCount with GeometryIndexArray and
> GeometryStripArray in the API documentation.
>
> Thanks for an answer
>
> Paul
>
> PS: ad semantics problem: why not let setVertexCount in GeometryStripArray specify
> the number of stripes rendered , similar to the use in GeometryIndexArray ?
>
> PPS: you could please also answer my question about how to set the point of zero
> parallax for stereoscopic viewing. Thanks.
>
> PPPS: I would like to thank you guys from Sun for listening to this mail group,
> answering questions and giving support. I think the job you do is very valuable for
> us users of the Java3D API. Keep up with the good work !
>
> Kelvin Chung schrieb:
>
> > Hi,
> >
> > FYI, using setValidVertexCount with GeometryStripArray
> > under v1.2.1 beta1 D3D version will crash the system
> > due to bug 4383467. This will be fixed in v1.2.1 beta2.
> >
> > But since GeometryStripArray will ignore setValidVertexCount,
> > so there is no need to set this anyway.
> >
> > Thanks.
> >
> > - Kelvin
> > ----------------
> > Java 3D Team
> > Sun Microsystems Inc.
> >
> > >MIME-Version: 1.0
> > >Content-MD5: qQycjNFxI0KjGxUNqOCx3g==
> > >Date: Fri, 10 Nov 2000 10:19:29 -0800
> > >From: Uma Sabada <[EMAIL PROTECTED]>
> > >Subject: Re: [JAVA3D] setValidVertexCount again
> > >To: [EMAIL PROTECTED]
> > >
> > >In the case of IndexedGeometryArray, setValidIndexCount() and
> > setInitialVertexIndex()
> > >apply to the index arrays. For example, if your coordinateIndices array has a
> > length
> > >of 10, and the initialVertexIndex is 2 and validVertexCount is 5, then the
> > >coordinateIndices array from 2 to 6 will be rendered.
> > >
> > >
> > >For GeometryStripArray, setValidIndexCount() and setInitialVertexIndex() are
> > >ignored.
> > >
> > >-Uma
> > >Java3D Team
> > >
> > >> X-Warning: VM230.AKH-WIEN.AC.AT: Host LYMNAEA.imc.akh-wien.ac.at claimed to be
> > >akh-wien.ac.at
> > >> X-Accept-Language: de
> > >> MIME-Version: 1.0
> > >> Content-Transfer-Encoding: 7bit
> > >> Date: Fri, 10 Nov 2000 14:58:47 +0100
> > >> From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
> > >> Subject: [JAVA3D] setValidVertexCount again
> > >> To: [EMAIL PROTECTED]
> > >>
> > >> Hi again !
> > >> C'mon I'm sure one of you can answer this question (this is my 3rd try)
> > >> at least the engineers from sun.
> > >> Or are this questions too simple ? (But there have been answers to much
> > >> simpler questions on this list)
> > >>
> > >> I' ve just a question about how setValidVertexCount( ) works in
> > >> IndexedGeometryArray class.
> > >> The documentation says:
> > >>
> > >> Sets the valid vertex count for this GeometryArray object. This count
> > >> specifies the
> > >> number of vertices actually used in rendering or other operations such
> > >> as picking and collision. This attribute is
> > >> initialized to vertexCount.
> > >>
> > >> What is the function of this method in IndexedGeometryArray classes or
> > >> is this method just ignored ?
> > >> What happens if I use indices of vertices over the range of the valid
> > >> vertex count ?
> > >> Why is there no equivalent method setValidIndexCount( ) which allows me
> > >> to specify
> > >> the number of indices rendered ?
> > >>
> > >> Same questions for setInitialVertexIndex().
> > >>
> > >> How do I change the number of stripes rendered in GeometryStripArrays ?
> > >>
> > >> ===========================================================================
> > >> 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".
>
> ===========================================================================
> 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".