Can't load textures w/TextureLoader

Some of JCD’s demos work for me (I’m using OS X) except those that load textures using TextureLoader.

Any demo that does this (like Watersimulation, cloth sim, cubemap reflection, and even framework) gives me the following error:

java.lang.Error: Cannot load image Data/normalmap.PNG
      at com.xith3d.loaders.texture.TextureLoader.loadImageFast(TextureLoader.java:320)
      at com.xith3d.loaders.texture.TextureLoader.loadTexture(TextureLoader.java:340)
      at com.xith3d.loaders.texture.TextureLoader.loadTexture(TextureLoader.java:383)
      at com.xith3d.loaders.texture.TextureLoader.getTexture(TextureLoader.java:671)
      at JCDScene.SetUpCEM.getJCDModel(SetUpCEM.java:26)
      at CubeMapReflection.scene(CubeMapReflection.java:131)
      at CubeMapReflection.<init>(CubeMapReflection.java:83)
      at CubeMapReflection.main(CubeMapReflection.java:45)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:844)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:804)
      at com.sun.javaws.Launcher.continueLaunch(Launcher.java:682)
      at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:397)
      at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
      at com.sun.javaws.Launcher.run(Launcher.java:167)
      at java.lang.Thread.run(Thread.java:552)

I’m running the the CVS from a couple of days ago so I don’t see why there’s a problem, but it seems like TextureLoader is broken for me :frowning:

does the file “Data/normalmap.PNG” exist (note it is case sensitive).

can you upload a .zip somewhere for us to test?

Will.

Edit: Gah! Man do I feel stupid. I must’ve been reaallly tired when I posted that. First of all, I was still using that old JOGL jar… and secondly I was trying to run it in JEdit and it wasn’t loading it because JEdit’s working directory wasn’t set properly. Now that I fixed that, I’m getting a different error, one that has to do with the TDSLoader, but I’m not worried about that.

This, however, is from the downloaded zip of Water. I think the jnlp files weren’t launching because, like you say, some of the images were missing, or the directory paths were incorrect.