Examples of stripify()


Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        gi.setContourCounts(strips);
        gi.setStripCounts(count);
        gi.setTextureCoordinateParams(1, 2);
        gi.setTextureCoordinates(0, texcoords);

        st.stripify(gi);

        geom[2] = gi.getIndexedGeometryArray(false);
       
        return geom;
    }
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        gi.setTextureCoordinateParams(1, 2);
        gi.setTextureCoordinates(0, texCoords);
       
        Stripifier st = new Stripifier();
        st.stripify(gi);
       
        return gi.getGeometryArray();
    }

    private static final GeometryArray makeHexShaft() {
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

       
        NormalGenerator ng = new NormalGenerator(0);
        ng.generateNormals(gi);

        Stripifier st = new Stripifier();
        st.stripify(gi);
       
        return gi.getGeometryArray();
    }

    private static final GeometryArray makeHexOutline() {
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator ng = new NormalGenerator();
        ng.generateNormals(gi);
        gi.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(gi);
        gi.recomputeIndices();

        surface.setAppearance(CreateurVoiture.createMaterialAppearance());
        surface.setGeometry(gi.getGeometryArray());
   
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator ng = new NormalGenerator();
        ng.generateNormals(gi);
        gi.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(gi);
        gi.recomputeIndices();

        Shape3D part = new Shape3D();
        /*if(wireFrame==true)
                part.setAppearance(createWireFrameAppearance());
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator ng = new NormalGenerator();
        ng.generateNormals(gi);
        gi.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(gi);
        gi.recomputeIndices();

        Shape3D part = new Shape3D();
        /*if(wireFrame==true)
                part.setAppearance(createWireFrameAppearance());
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator ng = new NormalGenerator();
        ng.generateNormals(gi);
        gi.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(gi);
        gi.recomputeIndices();

        _containedNode = new Shape3D();
        _containedNode.setAppearance(_appearance);
        _containedNode.setGeometry(gi.getGeometryArray());
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator ng = new NormalGenerator();
        ng.generateNormals(gi);
        gi.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(gi);
        gi.recomputeIndices();

        _containedNode = new Shape3D();
        _containedNode.setAppearance(_appearance);
        _containedNode.setGeometry(gi.getGeometryArray());
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

        NormalGenerator normalGenerator = new NormalGenerator();
        normalGenerator.generateNormals(geometryInfo);
        geometryInfo.recomputeIndices();

        Stripifier st = new Stripifier();
        st.stripify(geometryInfo);
        geometryInfo.recomputeIndices();
        return geometryInfo.getGeometryArray();
    }

    /** Get the array that contains the 2D polygonal representation
View Full Code Here

Examples of com.sun.j3d.utils.geometry.Stripifier.stripify()

/* 1214 */           gi.setNormals(this.normArray);
/* 1215 */           if ((this.flags & 0x100) != 0) gi.reverse();
/*      */         }
/*      */
/* 1218 */         if ((this.flags & 0x200) != 0) {
/* 1219 */           strippy.stripify(gi);
/*      */         }
/*      */
/* 1228 */         Shape3D shape = new Shape3D();
/*      */
/* 1230 */         shape.setGeometry(gi.getGeometryArray(true, true, false));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.