Processing Toxiclibs: hide axes/normals when drawing trianglemesh

Viewed 98

I am using toxiclibs to draw an imported binary .stl file as a mesh like this:

ToxiclibsSupport gfx;
TriangleMesh mesh;

void setup(){
    mesh = (TriangleMesh)new STLReader().loadBinary(
    sketchPath("/data/3dmodels/gun.stl"), STLReader.TRIANGLEMESH);
    gfx = new ToxiclibsSupport(this);
}

void draw(){
    translate(width/2, height/2, 300);
    gfx.origin(new Vec3D(), 100);
    noStroke();
    fill(fxColor.getRed(), fxColor.getGreen(), fxColor.getBlue());
    gfx.mesh(model, false, 0);
    translate(-width/2, -height/2, -300);
}

Toxiclibs shows the xyz-axes by default as shown here:

xyz-axes image

I want to disable the draw of those axes, but can't seem to find anything related.

Thank you.

1 Answers
Related