0 Replies Latest reply: Oct 24, 2011 8:09 AM by 895933 RSS

    Using jpda to trace of j3d modelings, trouble with the reading of textures

    895933
      hey everybody

      I'm developing a monitoring system that generate 3d application modeling using a j3d api, but I'm having troubles because when the modeling uses textures, the monitoring system just stop, doesn't developing the execution until the end.

      When I execute the monitoring code for generate a tracer and exists reading of textures, the output is:

      ##############################
      mainArgs : -jar "/J3DExample/dist/J3DExample.jar"
      -- VM Started --
      ====== main ======
      main -- interactball.InteractBall
      | <init> -- interactball.InteractBall
      | | createSceneGraph -- interactball.InteractBall
      | <init> -- interactball.InteractBall$1
      | addBackground -- interactball.InteractBall
      | | loadTexture -- interactball.InteractBall

      But if the texture reading code is took it out, the output could goes until the end.

      ##############################
      mainArgs : -jar "/J3DExample/dist/J3DExample.jar"
      -- VM Started --
      ====== main ======
      main -- interactball.InteractBall
      | <init> -- interactball.InteractBall
      | | createSceneGraph -- interactball.InteractBall
      | <init> -- interactball.InteractBall$1
      | addBackground -- interactball.InteractBall
      ====== main end ======

      In this example and in other ones more complex I've verified than always when the JPDA API tries generate a 3d modeling tracer, the tracer stops to answers sentences like:

      TextureLoader texLoader = new TextureLoader(fn, null);
      Texture2D texture = (Texture2D) texLoader.getTexture();
      --

      I've verified too that with the JPDA code that generates the tracer, the execution for the call "EventSet eventSet = queue.remove();" is charged, the texture reading seems be stopped eternally in this execution.

      There is someone that have experience in monitoring j3d tracer, even with texture reading?

      Thanks.