Hi Arisnova,

  Please send us the Exception stack trace
or threads stacktrace (using Control-Break) if it
hangs. It would be great if you can also send us
a test program.

Thanks.

- Kelvin
-----------------
Java 3D Team
Sun Microsystems Inc.

>Date: Thu, 21 Mar 2002 17:19:01 +0100
>From: Arisnova <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Problems with setCoordinates(int index, Point3d[] points)
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Content-transfer-encoding: 8BIT
>X-Priority: 3 (Normal)
>Delivered-to: [EMAIL PROTECTED]
>
>I�m working with Java3D 1_3_b1 OGL and jsdk 1_4. The structure is...
>
>      m_line = new LineStripArray (coordenadas.size(),
>                              LineStripArray.COORDINATES|
>                              LineStripArray.NORMALS,
>                              strips);
>
>      //set capabilities
>      m_line.setCapability(LineStripArray.ALLOW_COORDINATE_READ);
>      m_line.setCapability(LineStripArray.ALLOW_COORDINATE_WRITE);
>      m_line.setCapability(LineStripArray.ALLOW_INTERSECT);
>
>When the branch is in the scene I try execute this method:
>
>  
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
>  /**
>   *  Refresh the structure�s coordinates
>   */
>  public void updateLineRepresentation(){
>    int strips[] = null;
>    if (m_line != null){
>      //cogemos el vector de coordenadas
>      //get the vector coordinates
>      Vector coordenadas = getVertexArray();
>
>      //pasamos las coordenadas a array
>      //put the coordinates into an array
>      Point3d[] coord = new Point3d[coordenadas.size()];
>      coordenadas.toArray(coord);
>
>      //assign the coordinates to the LineStripArray
>      m_line.setCoordinates(0, coord);
>    }
>  }
>
>//-----------------------------------------------------------------------------
--------
>
>  The result is that the Java3D render stops (or crash) but the
>  application goes on.
>
>  With the java3D_1_2_1_04 the same method works. Can someone help me
>  with this? Thks.
>
>---------------------------------------------------------
> ArisNova S.L. - Ingenier�a de Sistemas
> C/ Pianista Mart�nez Carrasco 6, Entresuelo A
> 46026 - Valencia - Spain
> E-Mail : [EMAIL PROTECTED]
> Telfs : 96.395.2033-96.395.2034 Fax : 96.395.2038
>---------------------------------------------------------
>
>===========================================================================
>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