-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
DocumentationIssues that affect the Wiki, Javadoc or any other form of documentationIssues that affect the Wiki, Javadoc or any other form of documentationquestion
Milestone
Description
Calls to material.getAdditionalRenderState().setLineWidth seem to be being ignored in 3.6.0-beta1
With the following sample program
public class LineWidthTest extends SimpleApplication{
public static void main(String[] args){
LineWidthTest app = new LineWidthTest();
AppSettings settings = new AppSettings(true);
app.setShowSettings(false);
app.setSettings(settings);
app.start();
}
@Override
public void simpleInitApp() {
Line line = new Line(new Vector3f(0,0,0), new Vector3f(0,3,0));
Geometry lineGeometry = new Geometry("line", line);
Material lineMat = new Material(getAssetManager(),"Common/MatDefs/Misc/Unshaded.j3md");
lineMat.setColor("Color", ColorRGBA.White);
lineMat.getAdditionalRenderState().setLineWidth(10);
lineGeometry.setMaterial(lineMat);
rootNode.attachChild(lineGeometry);
}
}
On jme 3.6.0-beta1 it appears as follows (thin line):
But on 3.5.0-stable it appeas like this (with the requested thicker line):
Metadata
Metadata
Assignees
Labels
DocumentationIssues that affect the Wiki, Javadoc or any other form of documentationIssues that affect the Wiki, Javadoc or any other form of documentationquestion

