|
Well, actually I just didn't need it for what I was
doing. I used two of them to build something that looked like the nozzle of a
fire hose for an Information Visualization demo I was doing (see the Emergencies
Demo on my web site). If I get a chance, maybe I'll add top and bottom caps as
an option.
-Allan Ash Software Arts, Inc. - the Information Visualization
Company www.infoviz.biz
----- Original Message -----
Sent: Thursday, June 19, 2003 3:38
AM
Subject: Re: [JAVA3D] Cone with 2
radius
That's better, but the shape is not solid, why
that?
----- Original Message -----
Sent: Thursday, June 19, 2003 4:16
AM
Subject: Re: [JAVA3D] Cone with 2
radius
Oh, sorry. I didn't notice that your 4th
parameter (the number of quadrilaterals needed to define the cone) was set
to 2, making it flat. Try something like 16 or 32.
Also, the comments lie about that parameter
defaulting to 16. I forgot to test for a null parameter there.
-Allan Ash
Software Arts, Inc. - the Information
Visualization Company
Sent: Wednesday, June 18, 2003 4:54
PM
Subject: Re: [JAVA3D] Cone with 2
radius
It worked but It's not 3d :(
----- Original Message -----
Sent: Wednesday, June 18, 2003
10:17 PM
Subject: Re: [JAVA3D] Cone with 2
radius
The parameter is a java.awt.Color Color, not a
Color3f.
Try: AttenuatedCone frustrum=new
AttenuatedCone(1.0f,0.5f,1.5f,2,new Color(0.0f, 1.0f,
0.0f),0.5f);
-Allan Ash
Software Arts, Inc. - the Information
Visualization Company
----- Original Message -----
Sent: Wednesday, June 18, 2003
3:56 AM
Subject: Re: [JAVA3D] Cone with 2
radius
I put the following code in my
class
Create the
Frustrum AttenuatedCone frustrum=new
AttenuatedCone(1.0f,0.5f,1.5f,2,new Color3f(0.0f, 1.0f,
0.0f),0.5f);
and i recieved the following
errors
D:\java\Java3d Project\tests\Hard
tests\CallClass.java:24: cannot resolve symbol symbol :
constructor AttenuatedCone
(float,float,float,int,javax.vecmath.Color3f,float) location: class
AttenuatedCone AttenuatedCone frustrum=new
AttenuatedCone(1.0f,0.5f,1.5f,2,new Color3f(0.0f, 1.0f,
0.0f),0.5f);
^ 1 error
The AttenuatedCone class in in the same
directory with my class
----- Original Message -----
Sent: Wednesday, June 18, 2003
6:46 AM
Subject: Re: [JAVA3D] Cone with
2 radius
When I needed one, I did this, and
called it AttenuatedCone. It's a set of quadrilaterals arranged
around the top and bottom "hoops" like a barrel. I hope the comments
explain what I was after.
-Allan
----- Original Message -----
Sent: Tuesday, June 17, 2003
2:42 PM
Subject: [JAVA3D] Cone with 2
radius
Is there such a class.
_______
/ \
/ \
/
\
-----------------------
|