Hi,

I have had this problem for about 6 months now. Last
time I posted it, a few folks offered to take a look
at my code. I haven't sent my code to anyone bacause I
wanted to test it on various systems. I'm having the
same problem on all systems.

Basically, updating coordinates takes an unpredictable
(and usually very long) amount of time. The following
code takes anywhere from .03sec to 120sec.

    VDouble[] normals = gCalculateUnitNormals(surf);

    for (int node = 0; node <
surf.pGetNumberOfNodes(); node++) {
      ta.setCoordinate(node, surf.pGetX(node));
      ta.setNormal(node, new Vector3f(new
Vector3d(normals[node])));
     }

The surface has about 600 nodes.

Any ideas? Thanks!

Dola

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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