>Date: Mon, 13 Nov 2000 11:27:32 +0100
>From: "Dipl. Ing. Paul Szawlowski" <[EMAIL PROTECTED]>
>
>Hi,
>
>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( ).
Correct.
>2) with version 1.2.1 beta2 I can call GeometryStripArray.setValidVertexCount( ), but
>it will not have any effect.
Correct (although, since it will have no effect, you shouldn't call it).
>
>3) in version 1.3 there will be the possibility to change the number of rendered
>stripes.
Correct. We plan to add a setStripVertexCounts(int[] stripVertexCounts) method to
GeometryStripArray in 1.3.
>Are the above statements right ?
Yes.
>Please, could you adress the use of setValidVertexCount with GeometryIndexArray and
>GeometryStripArray in the API documentation.
The 1.2.1beta2 documentation will address point 2. Point 3 will be addressed in 1.3.
>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 ?
I don't think this is as clean (or as flexible) as letting you specify
a new array of strip vertex counts. Currently, vertex count is just
that--a count of vertices. Changing it to be a count of strips would
be inconsistent.
>PPS: you could please also answer my question about how to set the point of zero
>parallax for stereoscopic viewing. Thanks.
This one is a little more complicated. Depending on the window
eyepoint policy, you either need to set the left/right eye position
(relative to the head, i.e., the interoccular distance) in the
PhysicalBody objet. or the left/right manual eye point in Canvas object
or the View object. By default, the window eyepoint policy uses a fixed
field of view, and the left/right eye separation is taken from the
PhysicalBody.
--
Kevin Rushforth
Java 3D Team
Sun Microsystems
[EMAIL PROTECTED]
>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".