The problem is their use of modified versions of com.sun.j3d.utils.geometry
modules (Primitive, etc.) in their Shape library. It took a while to get
those built, too, since they reference each other. It'll be a rainy weekend
here, so maybe I'll get to finish mine. <G>

-Allan Ash
Software Arts, Inc. - the Information Visualization Company
www.infoviz.biz

----- Original Message -----
From: ������� <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 2:58 AM
Subject: Re: [JAVA3D] Cone with 2 radius


> Thank you for your response. I tried to compile the TruncatedCone.java but
i
> recieved the following errors. Not a few :)
>
> ---------------------------------------
>
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:80: cannot
> resolve symbol
> symbol  : class Primitive
> location: class shape.TruncatedCone
> public class TruncatedCone extends Primitive
>                                    ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:116: cannot
> resolve symbol
> symbol  : variable GENERATE_NORMALS
> location: class shape.TruncatedCone
>   this(1.0f, 0.5f, 2.0f, GENERATE_NORMALS, MID_REZ_DIV_X, MID_REZ_DIV_Y,
> null/*,true*/);
>                                        ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:128: cannot
> resolve symbol
> symbol  : variable GENERATE_NORMALS
> location: class shape.TruncatedCone
>   this(radius1, radius2, height, GENERATE_NORMALS, MID_REZ_DIV_X,
> MID_REZ_DIV_Y, null/*, true*/);
>                                                ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:142: cannot
> resolve symbol
> symbol  : variable GENERATE_NORMALS
> location: class shape.TruncatedCone
>   this(radius1, radius2, height, GENERATE_NORMALS, MID_REZ_DIV_X,
> MID_REZ_DIV_Y, ap/*, bDrawCaps*/);
>                                                ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:171: cannot
> resolve symbol
> symbol  : method getChild  (int)
> location: class shape.TruncatedCone
>             return (Shape3D) ( (Group)getChild(0) ).getChild(BODY);
>                                       ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:175: cannot
> resolve symbol
> symbol  : method getChild  (int)
> location: class shape.TruncatedCone
>             return (Shape3D)
> ( (Group)( (Group)getChild(0) ).getChild(TOP) ).getChild(0);
>                                                ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:179: cannot
> resolve symbol
> symbol  : method getChild  (int)
> location: class shape.TruncatedCone
>             return (Shape3D)
> ( (Group)( (Group)getChild(0) ).getChild(BOTTOM) ).getChild(0);
>                                                ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:192: cannot
> resolve symbol
> symbol  : method getChild  (int)
> location: class shape.TruncatedCone
>   ((Shape3D)((Group)getChild(0)).getChild(BODY)).setAppearance(ap);
>                                   ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:221: cannot
> resolve symbol
> symbol  : variable flags
> location: class shape.TruncatedCone
>   flags = primflags;
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:225: cannot
> resolve symbol
> symbol  : variable flags
> location: class shape.TruncatedCone
>   boolean outside = (flags && GENERATE_NORMALS_INWARD) == 0;
>                                    ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:225: cannot
> resolve symbol
> symbol  : variable GENERATE_NORMALS_INWARD
> location: class shape.TruncatedCone
>   boolean outside = (flags && GENERATE_NORMALS_INWARD) == 0;
>                                            ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:227: cannot
> resolve symbol
> symbol  : class Quadrics
> location: class shape.TruncatedCone
>   Quadrics q = new Quadrics();
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:227: cannot
> resolve symbol
> symbol  : class Quadrics
> location: class shape.TruncatedCone
>   Quadrics q = new Quadrics();
>                                  ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:228: cannot
> resolve symbol
> symbol  : class GeomBuffer
> location: class shape.TruncatedCone
>   GeomBuffer gbuf = null;
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:231: cannot
> resolve symbol
> symbol  : class GeomBuffer
> location: class shape.TruncatedCone
>   GeomBuffer cache = getCachedGeometry(Primitive.CYLINDER, radius1,
radius2,
> height, xdivision, ydivision, primflags);
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:231: cannot
> resolve symbol
> symbol  : variable Primitive
> location: class shape.TruncatedCone
>   GeomBuffer cache = getCachedGeometry(Primitive.CYLINDER, radius1,
radius2,
> height, xdivision, ydivision, primflags);
>                                                      ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:235: cannot
> resolve symbol
> symbol  : variable numVerts
> location: class shape.TruncatedCone
>    numVerts += cache.getNumVerts();
>                         ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:236: cannot
> resolve symbol
> symbol  : variable numTris
> location: class shape.TruncatedCone
>    numTris += cache.getNumTris();
>                         ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:241: cannot
> resolve symbol
> symbol  : variable flags
> location: class shape.TruncatedCone
>    shape[BODY] = new Shape3D(gbuf.getGeom(flags));
>                                                                ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:242: cannot
> resolve symbol
> symbol  : variable numVerts
> location: class shape.TruncatedCone
>    numVerts += gbuf.getNumVerts();
>                         ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:243: cannot
> resolve symbol
> symbol  : variable numTris
> location: class shape.TruncatedCone
>    numTris += gbuf.getNumTris();
>                         ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:244: cannot
> resolve symbol
> symbol  : variable Primitive
> location: class shape.TruncatedCone
>    if ((primflags && Primitive.GEOMETRY_NOT_SHARED) == 0)
>                                          ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:245: cannot
> resolve symbol
> symbol  : variable Primitive
> location: class shape.TruncatedCone
>    cacheGeometry(Primitive.CYLINDER, radius1, radius2, height, xdivision,
> ydivision, primflags, gbuf);
>                                       ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:248: cannot
> resolve symbol
> symbol  : variable flags
> location: class shape.TruncatedCone
>   if ((flags && ENABLE_APPEARANCE_MODIFY) != 0)
>                      ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:248: cannot
> resolve symbol
> symbol  : variable ENABLE_APPEARANCE_MODIFY
> location: class shape.TruncatedCone
>   if ((flags && ENABLE_APPEARANCE_MODIFY) != 0)
>                              ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:266: cannot
> resolve symbol
> symbol  : variable ALLOW_CHILDREN_READ
> location: class shape.TruncatedCone
>   objTrans.setCapability(ALLOW_CHILDREN_READ);
>                                        ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:269: cannot
> resolve symbol
> symbol  : method addChild  (javax.media.j3d.TransformGroup)
> location: class shape.TruncatedCone
>   this.addChild(objTrans);
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:334:
> setAppearance(javax.media.j3d.Appearance) in shape.TruncatedCone cannot be
> applied to ()
>   setAppearance();
>                 ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:364: cannot
> resolve symbol
> symbol  : variable flags
> location: class shape.TruncatedCone
>         TruncatedCone c = new TruncatedCone(radius1, radius2, height,
flags,
> xdivisions, ydivisions, getAppearance()/*, bDrawCaps*/);
>                                                                       ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:364: cannot
> resolve symbol
> symbol  : method getAppearance  ()
> location: class shape.TruncatedCone
>         TruncatedCone c = new TruncatedCone(radius1, radius2, height,
flags,
> xdivisions, ydivisions, getAppearance()/*, bDrawCaps*/);
>
> ^
> D:\java\Java3d Project\tests\Hard tests\TruncatedCone.java:397: cannot
> resolve symbol
> symbol  : variable super
> location: class shape.TruncatedCone
>         super.duplicateNode(originalNode, forceDuplicate);
>         ^
> 31 errors
>
>
>
> ----- Original Message -----
> From: �͹����� ����ѹ (Andrew Davison) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 20, 2003 7:58 AM
> Subject: Re: [JAVA3D] Cone with 2 radius
>
>
> > There is a truncated cone class as part of the Java 3D plant
> > growing example at:
> >
> > http://www.hta-bi.bfh.ch/~swc/DemoJ3D/VirtualPlants/
> >
> > - Andrew
> >
>
> --------------------------------------------------------------------------
> ---
> > Dr. Andrew Davison             E-mail: [EMAIL PROTECTED]
> > Dept. of Computer Engineering  Fax: +66 74 212895 (then 201 after office
> hrs)
> > Prince of Songkla University      Tel: +66 74 211030 x2240 (then x316)
> > Hat Yai, Songkhla 90112, Thailand  or: +66 74 212895 x316
> > http://fivedots.coe.psu.ac.th/~ad
> >
> >
>
===========================================================================
> > 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".

Reply via email to