I posted a problem with the above subject a few weeks back and I wanted
to post the solution in case it can be helpful for anyone else...

        It turns out that if I set setContourCounts() properly, then the
geometry worked.

        I think there is a problem with the
com.sun.j3d.utils.geometry.GeometryInfo class as the getGeometryArray() goes
into an infinite loop when the contour count isn't set properly.

        Also thanks to Noah Ternullo and Paul Pantera for their assistance.

        Happy holidays!

Cheers,
Mona

------------- Begin Forwarded Message -------------

Hi:

        I think I've discovered a bug in com.sun.j3d.utils.geometry class.  I'm
using Java3D 1.3 a Solaris machine and a call to getGeometryArray() is not
returning!

        I have the following code:

        [...]
        System.out.println ( "MONA 5" );

        group = new Group();
        GeometryArray foo = null;
        try {
            System.out.println ( "MONA 6" );
            foo = geometry.getGeometryArray();
            System.out.println ( "MONA 7" );
        } catch ( Exception exception ) {
            System.out.println ( "exception = " + exception );
        }
        System.out.println ( "MONA 8" );
        [...]



        And here is the program output:


[...]
MONA 5
MONA 6


        And it just sits there... I walked away and minutes later I came back
and it is still there.

        Any help on how to debug this would be appreciated.

Sincerely,
Mona

------------- End Forwarded Message -------------

===========================================================================
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".

------------- End Forwarded Message -------------


==================================================================
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/

"While you are busy dancing for others, just remember that
others are also busy dancing for you"
                                        (A Landmark Instructor)
==================================================================

===========================================================================
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