My mistake, I'm referencing a class that's not there, and is also not
needed. (I think)

MatrixQuadArray is a Class I've re-used for many projects. It's looking for
another recycled class called ColorMapper. However the colors are
pre-determined, so ColorMapper isn't needed.

I'm including the corrected class and source in this e-mail (they're small)

I apologize for the mistake.
Please let me know if it works out, so I can change the posted code.

-----Original Message-----
From: Doug Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 2:08 PM
To: Casteel, Don
Subject: Re: [JAVA3D] Volume example


Don:

I downloaded your example and tried to run it as an application.  This is
what happened.  Do you have any suggestions for what I'm doing wrong?  I
have Java3D 1.2.1b2 installed, with W98SE.  My monitor/graphics card is set
for True Color (32 bit).  I have OpenGL v1.1, and an AccelStar II graphics
card.

===========

Starting application D:\finson\java3d\ColorCube.class
Command line: "d:\apps\jdk1.3\bin\javaw.exe" -classpath "D:\finson\java3d"
ColorCube
The current directory is: D:\finson\java3d
16      16      16      4096
WARNING: Canvas3D constructed with a null GraphicsConfiguration.
Particles Created
java.lang.IllegalStateException: GeometryArray: must be in COLOR_3 mode to
use this method
        at javax.media.j3d.GeometryArray.setColor(GeometryArray.java:1163)
        at ColorCube.mapParticles(ColorCube.java:171)
        at ColorCube.graph(ColorCube.java:425)
        at ColorCube.createGraph(ColorCube.java:384)
        at ColorCube.objectGraph(ColorCube.java:342)
        at ColorCube.init(ColorCube.java:135)
        at ColorCube.main(ColorCube.java:484)
Exception in thread "main"
Interactive Session Ended

===========

Thanks.




Doug Johnson
[EMAIL PROTECTED]


MatrixQuadArray.class

MatrixQuadArray.java

Reply via email to