I am new to the world of xith3d. I have downloaded almost everything I could get my hands on and tried experimenting with the ase loader example (the one with the tank).I made a simple torus in 3d max and tried loading it and it works. But is is flat-shaded and completely white. The material in 3ds is phong-shaded and blue (without texture). How do I change the shading of a loaded ASE model?

I also tried the 3ds loader found in the xith toolkit. But the testclass TDSTest just says:

Further to this, I've just uploaded a new version of the loader (to the same location) that might fix the problem. I recieved a report about an oddity on linux with loading resources from the classpath,

Further to this, I've just uploaded a new version of the loader (to the same location) that might fix the problem. I recieved a report about an oddity on linux with loading resources from the classpath,

I would normal use:

MyClass.class.getClassLoader().getResource();

but apparantly on linux only this works:

this.getClass().getClassLoader().getResource();

Odd, but true... anyway, new version up, hopefully it will help.

Kev

I had some very strange behaviour on linux (or just java in general) as well. I couldn't understand it because I had worked with jar files many times before, but all of a sudden it wasn't working.

I found that making the paths absolute (in relation to the jar that is ) by prepending a '/' to the front of all paths worked.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org