HomeSort by relevance Sort by last modified time
    Searched refs:geometries (Results 1 - 7 of 7) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
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, 0, size, comparator)
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
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) {
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
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
GeometryBatchFactory.java 90 * Merges all geometries in the collection into
93 * @param geometries
96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) {
105 for (Geometry geom : geometries) {
176 for (Geometry geom : geometries) {
227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) {
231 for (Geometry g : geometries) {
253 for (Geometry g : geometries) {
276 public static List<Geometry> makeBatches(Collection<Geometry> geometries) {
277 return makeBatches(geometries, false)
    [all...]
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>(); local
467 GeometryBatchFactory.gatherGeoms(root, geometries);
469 for (Geometry geometry : geometries) {
487 List<Geometry> geometries = new ArrayList<Geometry>(); local
488 GeometryBatchFactory.gatherGeoms(spat, geometries);
495 GeometryBatchFactory.mergeGeometries(geometries, mesh);
496 applyAtlasCoords(geometries, mesh, atlas)
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
MeshHelper.java 99 List<Geometry> geometries = (List<Geometry>) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(), local
101 if (geometries != null) {
102 List<Geometry> copiedGeometries = new ArrayList<Geometry>(geometries.size());
103 for (Geometry geometry : geometries) {
277 geometries = new ArrayList<Geometry>(meshesMap.size());
341 Geometry geometry = new Geometry(name + (geometries.size() + 1), mesh);
380 geometries.add(geometry);
385 for (Geometry geom : geometries) {
390 for (Geometry geom : geometries) {
416 if (geometries.size() > 1){
423 blenderContext.addLoadedFeatures(structure.getOldMemoryAddress(), structure.getName(), structure, geometries); local
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/
ObjectHelper.java 157 List<Geometry> geometries = meshHelper.toMesh(meshesArray.get(0), blenderContext); local
158 if (geometries != null){
159 for(Geometry geometry : geometries) {
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
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) {
382 for (Geometry geom : geometries) {
    [all...]

Completed in 804 milliseconds