Searched defs:geometries (Results 1 - 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
H A D | GeometryList.java | 51 private Geometry[] geometries; field in class:GeometryList 58 * to use for comparing geometries. 64 geometries = new Geometry[DEFAULT_SIZE]; 95 return geometries[index]; 106 if (size == geometries.length) { 108 System.arraycopy(geometries, 0, temp, 0, size); 109 geometries = temp; // original list replaced by double-size list 113 geometries[size++] = g; 121 geometries[i] = null; 134 // SortUtil.qsort(geometries, [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
H A D | GeometryBatchFactory.java | 90 * Merges all geometries in the collection into 93 * @param geometries 96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) { argument 105 for (Geometry geom : geometries) { 176 for (Geometry geom : geometries) { 227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) { argument 231 for (Geometry g : geometries) { 253 for (Geometry g : geometries) { 276 public static List<Geometry> makeBatches(Collection<Geometry> geometries) { argument 277 return makeBatches(geometries, fals 285 makeBatches(Collection<Geometry> geometries, boolean useLods) argument [all...] |
H A D | TextureAtlas.java | 93 * Create one geometry out of several geometries that are loaded from a j3o file: 104 * //or create manually by adding textures or geometries with textures 139 * Add a geometries DiffuseMap (or ColorMap), NormalMap and SpecularMap to the atlas. 466 List<Geometry> geometries = new ArrayList<Geometry>(); 467 GeometryBatchFactory.gatherGeoms(root, geometries); 469 for (Geometry geometry : geometries) { 487 List<Geometry> geometries = new ArrayList<Geometry>(); 488 GeometryBatchFactory.gatherGeoms(spat, geometries); 495 GeometryBatchFactory.mergeGeometries(geometries, mesh); 496 applyAtlasCoords(geometries, mes 521 applyAtlasCoords(List<Geometry> geometries, Mesh outMesh, TextureAtlas atlas) argument [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
H A D | UVCoordinatesGenerator.java | 83 * IMPORTANT! This method assumes that all geometries represent one node. 94 * @param geometries 95 * a list of geometries the UV coordinates will be applied to 98 public static VertexBuffer generateUVCoordinates(int texco, int projection, int textureDimension, int[] coordinatesSwappingIndexes, List<Geometry> geometries) { argument 104 Mesh mesh = geometries.get(0).getMesh(); 105 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometries); 156 BoundingTube bt = UVCoordinatesGenerator.getBoundingTube(geometries); 160 BoundingSphere bs = UVCoordinatesGenerator.getBoundingSphere(geometries); 187 for (Geometry geometry : geometries) { 197 * This method returns the bounding box of the given geometries 202 getBoundingBox(List<Geometry> geometries) argument 241 getBoundingSphere(List<Geometry> geometries) argument 313 getBoundingTube(List<Geometry> geometries) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
H A D | BatchNode.java | 54 * BatchNode holds geometrie that are batched version of all geometries that are in its sub scenegraph. 56 * this geometries are directly attached to the node in the scene graph. 60 * the sub geometries can be transformed as usual their transforms are used to update the mesh of the geometryBatch. 62 * Sub geoms can be added after the batch() method has been called but won't be batched and will be rendered as normal geometries. 176 //we set the batch geometries to ignore transforms to avoid transforms of parent nodes to be applied twice 217 logger.log(Level.INFO, "Batched {0} geometries in {1} batches.", new Object[]{nbGeoms, batches.size()}); 367 * Merges all geometries in the collection into 370 * @param geometries 373 private void mergeGeometries(Mesh outMesh, List<Geometry> geometries) { argument 382 for (Geometry geom : geometries) { [all...] |
Completed in 184 milliseconds