use of artisynth.core.renderables.HudPrintStream in project artisynth_core by artisynth.
the class Hello method build.
@Override
public void build(String[] args) throws IOException {
super.build(args);
hud = new HudPrintStream();
hud.setNumDisplayLines(5);
hud.setTextSize(12);
RenderProps.setFaceColor(hud, Color.GREEN);
addRenderable(hud);
PolygonalMesh mesh = MeshFactory.createBox(1, 1, 1, Point3d.ZERO, 5, 5, 5);
FixedMeshBody fmb = new FixedMeshBody(mesh);
addRenderable(fmb);
}
Aggregations