Reply – Re: Intel HD Graphics 520 failure
Your Name
Subject
Message
or Cancel
In Reply To
Re: Intel HD Graphics 520 failure
— by charxie charxie
Some more information about the error: I tracked down the problem to the following code in our part:

                surround = new Box("Mirror (Surround)");
                surround.setModelBound(new OrientedBoundingBox());
                final OffsetState offset = new OffsetState();
                offset.setFactor(1);
                offset.setUnits(1);
                surround.setRenderState(offset);
                root.attachChild(surround);


If the root.attachChild is commented out, then the error will not show. This problem seems to be related only to the primitive Box and Cylinder classes. For the Line class, it seems OK.

                outlineMesh = new Line("Mirror (Outline)");
                outlineMesh.getMeshData().setVertexBuffer(BufferUtils.createVector3Buffer(8));
                outlineMesh.setDefaultColor(ColorRGBA.BLACK);
                outlineMesh.setModelBound(new OrientedBoundingBox());
                root.attachChild(outlineMesh);


I wonder if this information provides any clue? I highly suspect that it is a texture problem because those primitive shapes in Ardor3D have textures whereas lines do not.

Please advise.