I think I may have found a bug in Java3D 1.3 beta1.
I've attached a small program that adds points to a LineStripArray to
make it form a circular path.  When it adds a new point, it increments
the line's visible length by calling setStripVertexCounts().  It also
sets the color of the vertex to a fixed color value (white).
I gave it a BLENDED TransparencyAttributes object with a blend value of
0.025, which should make the entire line almost completely opaque.  But
when I run the program, the line starts out opaque, but then fades away
to nothing.  If I don't set the color of every vertex, the transparency
works fine.  Or if I use SCREEN_DOOR instead of BLENDED, it's also
fine.  I also get the same result if I use a TriangleStripArray instead
of a LineStripArray.
I'm using JDK1.4 with OpenGL Java3D 1.3 beta1 and running on WinNT with
an NVidia Gladiac GeForce2 Ultra card.
I tried this on a Sun Ultra 10 with Solaris 8 and the problem didn't
occur, so that leads me to believe it's either the Windows version of
Java3D or a problem with my graphics card.  I don't have any other PC
cards to test it on.
Has anyone noticed this before?

 -Roy Duffy
[EMAIL PROTECTED]

Attachment: Java3dLine.java
Description: application/unknown-content-type-java_auto_file

Attachment: LineTest.java
Description: application/unknown-content-type-java_auto_file

Reply via email to