[JAVA3D] TriangleArray

2000-12-11 Thread David Ko
Are there bugs associated with setValidVertexCount in TriangleArray (not TriangleStripArray)? It is rendering more triangles than it should and I've run countless tests on it, with no luck. Thank you, David Ko === To unsubsc

[JAVA3D] What's wrong with Cone(1.8f, 10.0f, Primitive.ENABLED_GEOMETRY_PICKING, appearance) ?

2000-12-11 Thread Qiuli Sun
Hi, I tried to create a cone which is pickable. If I use Cone(1.8f, 10.0f) and setAppearance(appearance). The color of cone is correct. But I was not able to set Primitive.ENABLED_GEOMETRY_PICKING since setPrimitiveFlags() is depreciated. If I use Cone(1.8f, 10.0f, Primitive.ENABLED_GEOMETRY_PI

Re: [JAVA3D] Hidden line problems when using PolygonAttributes.POLYGON_LINE

2000-12-11 Thread Kelvin Chung
Hi, Since D3D only support negative offset, the example is modified as below to work under both OGL and D3D. There is also another test in the attachment for hidden line removal that you may found useful. - Kelvin --- Java 3D Team Sun Microsystems Inc. > >At 10:11 AM 12/8/2000 -0

[JAVA3D] Compressed Geometry

2000-12-11 Thread John Wright
Wouldn't it be simpler to explain it as something like "round off error"? (perhaps not technically accurate but it should be easy for most people to understand). Imagine "compressing" doubles to floats, the fine precision is lost but the rough number is the same (and uses half the storage). The

Re: [JAVA3D] Bug in Beta with TriangleStripArrays and BY_REFERENCE

2000-12-11 Thread Uma Sabada
Adam: This is a bug. For your reference, bug 4397076 has been filed. -Uma > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > Importance: Normal > Date: Fri, 8 Dec 2000 18

Re: [JAVA3D] scan line

2000-12-11 Thread Kelvin Chung
Hi Ron, Sorry, we don't have pure java implementation for this. - Kelvin >X-Unix-From: [EMAIL PROTECTED] Mon Dec 11 13:46:13 2000 >Date: Mon, 11 Dec 2000 16:45:33 -0500 (EST) >From: Ronald Edward Petty <[EMAIL PROTECTED]> >To: Kelvin Chung <[EMAIL PROTECTED]> >cc: <[EMAIL PROTECTED]> >Subj

Re: [JAVA3D] J3D DirectX 1.2.1 problems

2000-12-11 Thread Kelvin Chung
Hi Joel, Thanks for the evaluation. I guess we found the bug and 4397012 - D3D: Polygon line/mode point render as transparency is filed for this. This one combine with a light scoping bug under OGL may cause the problem that you saw. They will be fixed in next v1.2.1 beta2 release. - Kelvi

Re: [JAVA3D] CompressedGeometry

2000-12-11 Thread Mark Hood
> Date: Mon, 11 Dec 2000 14:56:08 -0500 > From: Joe Boccanfuso <[EMAIL PROTECTED]> > > I am particularly concerned with the words "... with very little loss in > object quality". My concern/question is as follows. Does this refer to > (possibly) losing the actual co-ordinate (i.e. x, y,

Re: [JAVA3D] OpenFLT Loader Release 0.9.9b

2000-12-11 Thread Yazel, David J.
Awsome news Shawn, congratulations are in order! Dave > -- > From: Shawn Kendall[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Monday, December 11, 2000 2:31 PM > To: [EMAIL PROTECTED] > Subject: [JAVA3D] OpenFLT Loader Release 0.9

[JAVA3D] OpenFLT Loader Release 0.9.9b

2000-12-11 Thread Shawn Kendall
Hello Everyone! We have posted yet another update to our OpenFLT loader for Java3D. Several improvements have been made including texture sharing across the scene as well as external references (long over due!!!), and a FLTheader node, minimal support for Sound nodes, few bugs fixes, and b

[JAVA3D] CompressedGeometry

2000-12-11 Thread Joe Boccanfuso
Hello, I would like to use the CompressedGeometry class and utilities, but I am a bit concerned about the following statement taken from The Java 3D API Specification's Appendix B "Java 3D uses a compressed geometry format that allows 3D geometry to be represented in an order of magnitude le

Re: [JAVA3D] J3D DirectX 1.2.1 problems

2000-12-11 Thread J. Lee Dixon
I think I have narrowed down the problem. I have one part of my scene that uses POLYGON_LINE mode for a set of polygons. It is only after viewing these polys that the corruption occurs. After commenting out the code that uses POLYGON_LINE mode, no corruption occurs. For clarification, I have t

[JAVA3D] Holes in a polygon (again)

2000-12-11 Thread Aant
I saw that last month thgere was a question about holes in a polygon. An answer was that it has to do with the order of coordinates input but. But it doesn't work If u change the order of coordinates of the hole i see on the back side of the polygon the "hole" in the appearance of the fronts

[JAVA3D] Disappearing spheres

2000-12-11 Thread J. Lee Dixon
I recently started seeing a strange anomaly. I have a solar system simulator in one of my scenes. Each planet is lit and has a line through its rotational axis. The planets are actually Sun J3D utility Spheres. For some reason, they began to disappear and reappear as I changed my viewing angle

Re: [JAVA3D] Alternate Appearance bug

2000-12-11 Thread Uma Sabada
David: There are some alternateapprarance bug fixes in the beta2 release. However, we do need a testcase or you app inhouse to confirm that your specific bug has been addressed. -Uma > MIME-Version: 1.0 > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By

Re: [JAVA3D] Alternate Appearance bug

2000-12-11 Thread Yazel, David J.
Thats hard to say. Because I always assume that I am making a programming error, I have a tendancy to persue that train of thought for a long time. Then once I am convinced it is a bug I try to work-around it, which can take more time. When I finally find I am cornered and stuck, then I either ha

[JAVA3D] PositionPathInterpolator to move objects

2000-12-11 Thread Mark Beckman
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

Re: [JAVA3D] Alternate Appearance bug

2000-12-11 Thread Mark Ferneau
Dave, How much of your time is spent developing vs. working around / finding bugs in J3D? At 10:25 AM 12/11/2000 -0500, you wrote: >Sometimes I feel I can't get a break. Its one bug or another. Mark Ferneau240-462-6262 (cell) Director of Adv. Technology 801-43

Re: [JAVA3D] Hidden line problems when using PolygonAttributes.PO LYGON_LINE

2000-12-11 Thread Qiuli Sun
How do you remove the hidden lines when a LineStripArray is used? Qiuli -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Dvorak, Daniel J. Sent: Monday, December 11, 2000 5:16 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Hidden line proble

Re: [JAVA3D] Alternate Appearance bug

2000-12-11 Thread Yazel, David J.
Sometimes I feel I can't get a break. Its one bug or another. > -- > From: J. Lee Dixon[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Monday, December 11, 2000 8:14 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Alternate Appea

Re: [JAVA3D] Alternate Appearance bug

2000-12-11 Thread J. Lee Dixon
I have also had "corruption" problems, and I also use "AlternateAppearance" in my application. My corruption issues include items losing their lighting attributes and becoming 100% emissive, and others just changing colors. The corruption changes as I rotate my view. Of course, it's hard to nar

Re: [JAVA3D] Hidden line problems when using PolygonAttributes.PO LYGON_LINE

2000-12-11 Thread Dvorak, Daniel J.
Why not use a LineStripArray to generate the geometry? Then there's no filled polgyons and the troubles with background color and polygonOffset go away. Daniel Dvorak -Original Message- From: Qiuli Sun [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 09, 2000 6:07 PM To: [EMAIL PROTE

Re: [JAVA3D] RestrictedAccessException: Group: only a BranchGroupnode may beremoved

2000-12-11 Thread Dipl. Ing. Paul Szawlowski
As the xception states: Only BranchGroups can be added or removed. A TransformGroup is not a BranchGroup only inherited from Group (easy to overlook). What you have to do is add the TransformGroup you want to add/remove to a BranchGroup. This BranchGroup can then be removed and added. Claus Go