Link.setSharedGroup() doesn’t work properly, when rendering it throws a NullPointerException on the RenderBinProvider of the Shape3Ds contained in the Shared group.
I checked that. SharedGroupTest works properly. Please check, if it does for you. If it does, please provide me an example where it doesn’t (or modify SharedGroupTest).
The Cal3D loader has now a test, with a bowman model from the game project I’m working on (I got special permissions from my art team).
In PrecomputedAnimatedModel.java line 115 you can see the workaround I talked about shared groups
// FIXME : hackish
this.removeChild(link); // COMMENT THESE LINES TO SEE THE BUG
link.setSharedGroup(group);
this.addChild(link); // COMMENT THESE LINES TO SEE THE BUG
in CalTest.java you can see how the “Transform” class is used… really, really neat.
light bug in CalTest : lighting is correctly rendered on the first frame, then it’s no longer active.
It did. But for some reason, it doesn’t anymore. I’ll investigate it.
This error appears in some situations (reproducably). But I don’t have an idea why. I have never seen the LWJGL renderer without this problem. Maybe Yuri has an answer on it, when he’s back. Or we’ll have to deeper investigate it.
Good to know. I think, you’ll have to add an Occluder to a Shape3D, which can e.g. be a quadrat. In general it is a simplified version of the shape’s bounds. Together with lights this should be sufficient to get it working. But I never tried.
Well the Cal3DLoaderTest don’t work with textures for me now. (Note : maybe it’s not committed properly cause I upgraded my Eclipse from 3.2 to 3.3M3 and my Subclipse SVN plugin is gone so tomorrow it’ll be fixed hopefully)