Login  Register

Re: Intel HD Graphics 520 failure

Posted by charxie on Sep 11, 2018; 5:28pm
URL: https://forum.jogamp.org/Intel-HD-Graphics-520-failure-tp4039179p4039185.html

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.