Package com.ardor3d.renderer.state

Examples of com.ardor3d.renderer.state.WireframeState


    private final LightState _noLights;
    private final TextureState _noTexture;
    private BlendState _blendState;

    public OutlinePass(final boolean antialiased) {
        _wireframeState = new WireframeState();
        _wireframeState.setFace(WireframeState.Face.FrontAndBack);
        _wireframeState.setLineWidth(DEFAULT_LINE_WIDTH);
        _wireframeState.setEnabled(true);

        _frontCull = new CullState();
View Full Code Here


        _lightState = new LightState();
        _lightState.setEnabled(true);
        _lightState.attach(light);
        _root.setRenderState(_lightState);

        _wireframeState = new WireframeState();
        _wireframeState.setEnabled(false);
        _root.setRenderState(_wireframeState);

        _root.getSceneHints().setRenderBucketType(RenderBucketType.Opaque);
View Full Code Here

        final IndexMode[] indexModes = new IndexMode[] { IndexMode.TriangleStrip, IndexMode.TriangleStrip,
                IndexMode.Quads, IndexMode.Triangles };
        meshData.setIndexModes(indexModes);

        final WireframeState ws = new WireframeState();
        mesh.setRenderState(ws);
        mesh.updateModelBound();

        return mesh;
    }
View Full Code Here

TOP

Related Classes of com.ardor3d.renderer.state.WireframeState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.