Shawn, Kenneth:

Currently, there is a semantics problem with validVertexCount and strips. While
validVertexCount is modifiable after the scene graph is live, stripVertexCounts
can be specified only at strip creation.

In the case of strips, the sum total of stripVertexCounts specified at the time
of creation should be equal to validVertexCount. This condition will no longer
be true when validVertexCount is changed. Given this inconsistency, for Java3D
1.2.1 validVertexCount will be ignored for strips. The semantic issue will be
addressed in Java3D 1.3.



-Uma
Java3D Team

> Date: Thu, 02 Nov 2000 14:33:36 -0500
> From: Kenneth Gordon <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] setValidVertexCount
> To: Uma Sabada <[EMAIL PROTECTED]>, Shawn Kendall <[EMAIL PROTECTED]>
> MIME-version: 1.0
> Content-transfer-encoding: 7BIT
> X-Accept-Language: en
>
> Thanks for the info, guys!  Any idea when these releases will come out?  A
major
> portion of our application depends on this, and I'm wondering whether I should
come
> up with a kludgy solution to it, or if I should just ignore it and wait for
the
> releases.  If you could get me any sort of a time frame, that would be much
> appreciated!
>
> -- Ken
>
>
> Uma Sabada wrote:
>
> > Kenneth:
> >         Shawn is right. The setValidVertexCount() is broken for strips in
1.2.1
> > beta1 but will be fixed in beta2. The bug fix in 1.2.1 beta only fixes
non-strip
> > geometry.
> >
> > -Uma
> >
> > > X-Accept-Language: en
> > > MIME-Version: 1.0
> > > Content-Transfer-Encoding: 7bit
> > > Date: Thu, 2 Nov 2000 12:44:55 -0500
> > > From: Shawn Kendall <[EMAIL PROTECTED]>
> > > Subject: Re: [JAVA3D] setValidVertexCount
> > > To: [EMAIL PROTECTED]
> > >
> > > You got it right, setValidVertexCount just doesn't work.
> > > It's not fixed in the next beta release, either (at least not for
> > > TriStripArrays).
> > > You'll have to come up with another way to create the effect you want
until
> > the
> > > fixed is made.
> > > I had to just all my unused geometrys to a location off screen, or down to
a
> > > point.
> > > Good luck!
> > >
> > > Kenneth Gordon wrote:
> > >
> > > > I'm a little confused about the setValidVertexCount() function inside
> > > > GeometryArray objects.  What it says in the documentation is:
> > > >
> > > >      "This count specifies the number of vertices actually used in
> > > >      rendering or other operations such as picking and collision."
> > > >
> > > > I understood this to mean that if you have an array of 5 vertices but
> > > > you call setValidVertexCount(2), it will only render the first 2
> > > > vertices.  Am I incorrect in my interpretation of this?  I have written
> > > > several different test programs, and in all variations it renders all
> > > > the vertices in the array, not just the subset I want.  If this is not
> > > > the correct way to do render a portion of a vertex array, can someone
> > > > please let me know how this can be done?
> > > >
> > > > Basically, my application needs to draw a line following behind a moving
> > > > object, showing a history of where it has been.  Obviously when the
> > > > application starts, it needs to be of length 0.  Then, each time the
> > > > object moves (basically every frame), an additional point will be added
> > > > to the history.  What I intended to do was create one array of size 1000
> > > > (the maximum number of points that this history can have).  Then, each
> > > > time it moves I update the proper point in the array and tell Java3D
> > > > that the number of points in the array that it needs to render has
> > > > increased by one.
> > > >
> > > > Anyway, if I am using setValidVertexCount incorrectly, or if there is
> > > > another way I can do the same thing, please let me know.
> > > >
> > > > Thanks, in advance!
> > > >
> > > > -- Ken
> > > >
> > > >
===========================================================================
> > > > 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".
> > >
> > > --
> > > ___________________________________________________________
> > >
> > > Shawn Kendall               Full Sail Real World Education
> > > Course Director             3300 University BLVD
> > > Real Time 3D for Gaming     Winter Park FL 32792
> > > [EMAIL PROTECTED]       http://www.fullsail.com
> > > ___________________________________________________________
> > >
> > >
===========================================================================
> > > 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".

Reply via email to