Ahmed wasnt able to provide any solution for this problem. I am surprised that the 
POLYGON_POINT mode wont work for LineArrays. I can imaging POLYGON_FILL having a 
problem but why POLYGON_POINT not working

-----Original Message-----
From: Kin Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 7:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] LineArray to PointArray


Hi Mona,
I did something very similar to what you are asking.  However, out of ignorance of
any better method, I used the following technique...use shape3d.removeGeometry(i)
to clear the shape, rebuild the desired geometry with my data points, and add it
back with shape3d.addGeometry(g).  It was my first Java3D program; perhaps Ahmed's
or someone else can give you a better solution.  But this has worked well for me.
Luck...
-  Kin

Mona Wong wrote:

> Hi:
>
>         I'd like my program to be able to display the objects in either
> wireframe (using LineArray) or points (using PointArray).  Is there a way to
> convert one from another or do I have to keep 2 copies in memory?  If it is the
> latter, that seems to be so wasteful ...
>
>         All ideas will be greatly appreciated.
>
> Sincerely,
>
> Mona

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