I am able to run my texture-heavy applications using a version of Xith3D that is a few weeks old. If I try running with the latest and greatest CVS, I get a class cast exception in TextureAttrShaderPeer.shade().
Following the backtrace, I get to CanvasPeerBase.render(), then setState().
I instrumented setState(), and when I get my exception on the last shader in the list, renderPeer.getShaderPeer() is returning a TextureShaderPeer for a TextureAttrShader.
Any ideas how this can happen? I plan to take a closer look at RenderPeerBase.getShaderPeer() this afternoon, but helpful hints would be appreciated.
This is on MacOSX 10.3.2 with Java 1.4.2 and the new java dev tools.
Thanks,
Frank