Quality Reduction on Model

I am loading a 3D model from a binary JME file and it works just fine, but the quality of the model is extremely high.  I'd like to be able to set the quality of the model at runtime so users with higher performance machines can utilize the higher quality and users with lower end machines aren't bogged down with high-end models.  Is there a simple way to do this?



You modify CLOD. You need to change the parameters it uses to select the level from distance to something you want.

Ugh, I was looking at the TestClodMesh example in jME and tried the following:

            JmeBinaryReader jbr = new JmeBinaryReader();
            jbr.setProperty("bound", "sphere");
            Node node = new Node("Ball");
            jbr.loadBinaryFormat(node, model.openStream());
            Spatial child = node.getChild(0);
            while (child instanceof Node) {
                child = ((Node)child).getChild(0);
            ClodMesh clod = new ClodMesh("Model", (TriMesh)child, null);
            clod.setModelBound(new BoundingSphere());

It first displayed an error because I hadn't set a bounding volume, but when I do set the bounding volume it now terminates abnormally without an error message.