Package javax.media.j3d

Examples of javax.media.j3d.IndexedLineStripArray


      } else { // linestrips
        int [] stripCounts = new int [this.facesAndLinesPrimitives.size()];
        for (int i = 0; i < stripCounts.length; i++) {
          stripCounts [i] = this.facesAndLinesPrimitives.get(i).length / this.inputCount;
        }
        geometry = new IndexedLineStripArray(this.geometryVertices.length / 3, format, coordinatesIndices.length, stripCounts);
      }
     
      geometry.setCoordinates(0, this.geometryVertices);
      geometry.setCoordinateIndices(0, coordinatesIndices);
      if (this.geometryNormals != null) {
View Full Code Here


/* 62 */     return super.createNode(j3dClass, new Class[] { Integer.TYPE, Integer.TYPE, Integer.TYPE, this.texCoordSetMap.getClass(), Integer.TYPE, this.stripIndexCounts.getClass() }, new Object[] { new Integer(this.vertexCount), new Integer(this.vertexFormat), new Integer(this.texCoordSetCount), this.texCoordSetMap, new Integer(this.indexCount), this.stripIndexCounts });
/*    */   }
/*    */
/*    */   protected SceneGraphObject createNode()
/*    */   {
/* 77 */     return new IndexedLineStripArray(this.vertexCount, this.vertexFormat, this.texCoordSetCount, this.texCoordSetMap, this.indexCount, this.stripIndexCounts);
/*    */   }
View Full Code Here

TOP

Related Classes of javax.media.j3d.IndexedLineStripArray

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.