Hi,

I have 1.5gb of ram so it's probably not a ram issue.
I do compile my graph. I allow to detach, set
coordinates and normals. What do you mean by "this
transform"? Perhaps, I'm misunderstanding you, but
this is not a transform. I have a numerical simulation
of something and need to update the location of the
interface. Perhaps, I'm supposed to freeze an object
while I'm updating it? Has java3d been tested for
animation of systems with a large number of nodes (I
have 1024 (8x128) nodes) or is it *definitely* my bug?

By the way, when I comment out the "set" commands, the
problem completely goes away:

  for (int i = 0; i < height; i++)
    for (int j = 0; j < width; j++) {

      double[] x = surface.get(i, j);
      Vector3f n = surface.normal(i, j);


// myTA.setCoordinate(i*width + j, x);
// myTA.setNormal(    i*width + j, n);
      }

So it seems to be in the "set" commands. Any ideas?
Thank you, Nathan!
Bura


--- Nathan Bower <[EMAIL PROTECTED]> wrote:
> it could be garbage collection is running at those
> points.
>
> do you compile your graph? what attributes do you
> set? Can you perform this transform somewherere
> farther up the scene graph - ie transform only 1
> node and the subnodes automatically show the canges?
>
> As a last resort I would download a profiler (search
> google) and see what exactly is using the cpu when
> the synchroniser "stalls".
>
> Rgds,
>
> N
>   ----- Original Message -----
>   From: Bura Tino
>   To: [EMAIL PROTECTED]
>   Sent: Friday, November 29, 2002 7:26 PM
>   Subject: [JAVA3D] Efficiency (follow up)
>
>
>   My I follow up my own message. The problem was
> that the same command that updates the location of a
> surface often takes an unreasonably long time.
> Here's the code snipet:
>
>      for (int i = 0; i < height; i++) {
>         for (int j = 0; j < width; j++) {
>
>           myTA.setCoordinate(i*width + j,
> surface.get(i, j));
>
>           myTA.setNormal(    i*width + j,
> surf.normal(i, j));
>         }
>       }
>
>
>   Suppose this is called "Synchronizing". Then below
> is how much time it takes:
>
>         Synchronizing: 0.5
>         Synchronizing: 0.1
>         Synchronizing: 5.6
>         Synchronizing: 0.1
>         Synchronizing: 9.3
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 16.2
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 26.4
>         Synchronizing: 9.0
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 9.1
>         Synchronizing: 0.1
>         Synchronizing: 8.9
>         Synchronizing: 0.1
>         Synchronizing: 8.4
>         Synchronizing: 9.1
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>         Synchronizing: 4.1
>         Synchronizing: 0.1
>         Synchronizing: 13.3
>         Synchronizing: 0.1
>         Synchronizing: 0.1
>
>
>
>
>   My such huge discrepancy? How do I avoid it. I'll
> take a kluge at this point...
>
>
>
>   Thanks
>
>
>
>   Bura
>
>
>
>
>
>
------------------------------------------------------------------------------
>   Do you Yahoo!?
>   Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now
>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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