Community Build Release Info

[please don’t post support issues in this thread]

Community build 2003-11-23_cvs released, containing all new features and fixes commited to cvs in the recent days (subscribe to the CVS mailing list to be informed of such changes as they happen).

http://xith.org/download/builds/2003-11-23_cvs/

If people would like, I am happy to send an email to the Xith3D announce mailing list whenever I (or anyone else helping to release community builds) upload a new one.

Will.

I’d suggest to post this to the announce mailing list and to the xith.org updates thread in this forum.

It would be great if David, Yuri (and others) could write a mail to the announce mailing list, too, if there are major changes in the sourcecode (besides opening a thread in the forum as usual).

I can post the build release info in the xith.org thread - I just thought a dedicated one may be better so that if people see it they know there is a new snapshot out.

Will.

http://xith.org/download/builds/2003-11-24_cvs/

  • New build does not require LWJGL to compile (if you remove the src/com/xith3d/render/lwjgl/ files)
  • various other fixes.

Will.

^ that’s an evil build right there, caused the following error:


java.lang.NoSuchMethodError: com.xith3d.image.DirectBufferedImage.make(Ljava/awt/image/BufferedImage;)Lcom/xith3d/image/DirectBufferedImage;

      at Xith3DParticles.AppearanceManager.setTexture2D(AppearanceManager.java:130)

      at Xith3DParticles.AppearanceManager.<init>(AppearanceManager.java:53)

      at Xith3DParticles.ParticlesManager.getParticles(ParticlesManager.java:195)

      at Xith3DParticles.ParticlesTest.branchGroup(ParticlesTest.java:202)

      at Xith3DParticles.ParticlesTest.<init>(ParticlesTest.java:157)

      at Xith3DParticles.ParticlesTest.main(ParticlesTest.java:103)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at com.sun.javaws.Launcher.executeApplication(Unknown Source)

      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)


Looks like it’s time to get back to November 23rd build :’(

[quote]I can post the build release info in the xith.org thread - I just thought a dedicated one may be better so that if people see it they know there is a new snapshot out.
[/quote]
OK, that’s fine. :slight_smile:

@JCD, the method signature for make changed, you need a boolean on the end expectAlpha, dunno what it doesn, but i set it to true if I know the texture has transparency.

Endolf

Thanks Jeff, that fixed it but now I have a more serious bug:


java.lang.Error: Illegal Scenegraph Modification 
        at com.xith3d.scenegraph.View.checkForIllegalModification(View.java:256)
        at com.xith3d.scenegraph.TransformGroup.setTransform(TransformGroup.java:79)
        at Xith3DParticles.ParticlesTest.updateMainGroup(ParticlesTest.java:316)
        at Xith3DParticles.ParticlesTest.reset(ParticlesTest.java:329)
        at Xith3DParticles.SettingsManagerII.itemStateChanged(SettingsManagerII.java:231)
        at javax.swing.AbstractButton.fireItemStateChanged(AbstractButton.java:1814)
        at javax.swing.AbstractButton$ForwardItemEvents.itemStateChanged(AbstractButton.java:1850)
        at javax.swing.DefaultButtonModel.fireItemStateChanged(DefaultButtonModel.java:477)
        at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:237)
        at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:254)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
        at java.awt.Component.processMouseEvent(Component.java:5100)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
        at java.awt.Container.dispatchEventImpl(Container.java:1613)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

F that s man, what the hell >:(

Looks like you attempted to change a transform group’s transform when the view was rendering a frame. Since this causes (really bad) things to happen as the bounds are recalculated in the middle of the rendering I have put a check in there to stop that.

[quote]Thanks Jeff, that fixed it
[/quote]
coughcheck the postercough

Endolf (not Jeff :))

Ooops mah bad :stuck_out_tongue: Endolf
@David:
Any tips on how to fix that?

Come to think about it, it only happened when I try to detach a BranchGroup from another:


   if(e.getSource() == physicsState){
     onOff = !onOff;
     if(onOff){
       physicsState.setLabel("Physics On"); 
       main.content.addChild(main.holdSurface);
     }
     else{
       physicsState.setLabel("Physics Off");
       main.holdSurface.detach();
     }
     managerP.setPhysicsState(onOff); 
   }

Hell breaks loose when I try to run that piece of code which is triggered by a button

If that’s of any help :confused:


  public void updateMainGroup(){

    transform.rotX(rotX);
    transform.setTranslation(locateAndRotate);
    particlesGroup.setTransform(transform);
    surfaceGroup.setTransform(transform);
    transform.get(objectViewMatrix);
    managerP.billBoardParticles(objectViewMatrix);
  }

  public void reset(){
    origin.set(0,0,0);
    managerP.setParticlesOrigin(origin);
    locateAndRotate.set(0,0,zoom);
    rotX =(float)Math.PI/6f;
    managerP.setEmissionDirection(new Vector3f(0,1,0));
    managerSI.resetEmissionDirection();
    updateMainGroup();
  }

  public void run(){

    while (true){
      if(current == 0)
        current = System.currentTimeMillis();
      if(System.currentTimeMillis() - current >=500){
        frame.setTitle("Galactic Village Particles: FPS " + (fps<<1) );
        current = 0;
        fps     = 0;
      }
      fps++;

      processKeyboard();
      managerP.updateParticles();
      view.renderOnce();
    }
  }

http://xith.org/download/builds/2003-12-11_cvs/

Includes all recent additions/fixes to CVS including the OggLoader fix, addition of Ase TransformGroup Tree support and the background colour fix.

night all :slight_smile:

Will.

Latest Snapshot:

http://xith.org/download/builds/2003-12-23_cvs/

Will.

you know the drill:

http://xith.org/download/builds/2004-02-29_cvs/

quite a few changes in that one, including some new issues with textures. use at own risk.

Will.

[quote]you know the drill:

http://xith.org/download/builds/2004-02-29_cvs/

quite a few changes in that one, including some new issues with textures. use at own risk.
[/quote]
Is there a problem with directional light sources? With the new Xith version the surfaces of a model are being lit differently when the camera (=view) moves, which shouldn’t be I think (at least the Xith version until 3 or 4 days ago didn’t do this and I think it has been correct).
Anybody with better 3d knowledge than me (which means: everybody, grin) would like to comment?

I do not see any problems with lighting on my tests. Lighting-related code was not directly affected by latest changes, but potentially regression bugs may appear of course.

You can always check which changes were made by subscribing to the project CVS mailing list at java.net or reviewing its archive there.

Yuri

Hi Yuri. Since I don’t want to flood this thread with my questions, I’ve replied in a new thread, including sample Webstart and code.

new build released which uses the updated JOGL

http://xith.org/download/builds/2004-04-25_cvs/

Will.