HomeSort by relevance Sort by last modified time
    Searched refs:ModelInstance (Results 1 - 25 of 46) sorted by null

1 2

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/
ModelInstanceControllerRenderData.java 3 import com.badlogic.gdx.graphics.g3d.ModelInstance;
10 public ObjectChannel<ModelInstance> modelInstanceChannel;
ModelInstanceRenderer.java 3 import com.badlogic.gdx.graphics.g3d.ModelInstance;
13 * as {@link ModelInstance} to a {@link ModelInstanceParticleBatch}.
33 renderData.modelInstanceChannel = controller.particles.getChannel(ParticleChannels.ModelInstance);
47 ModelInstance instance = renderData.modelInstanceChannel.data[i];
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
Basic3DSceneTest.java 27 import com.badlogic.gdx.graphics.g3d.ModelInstance;
40 public Array<ModelInstance> instances = new Array<ModelInstance>();
44 public Array<ModelInstance> blocks = new Array<ModelInstance>();
45 public Array<ModelInstance> invaders = new Array<ModelInstance>();
46 public ModelInstance ship;
47 public ModelInstance space;
75 ModelInstance instance = new ModelInstance(model, id);
    [all...]
SkeletonTest.java 26 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 ObjectMap<ModelInstance, AnimationController> animationControllers = new ObjectMap<ModelInstance, AnimationController>();
63 protected void render (ModelBatch batch, Array<ModelInstance> instances) {
64 for (ObjectMap.Entry<ModelInstance, AnimationController> e : animationControllers.entries())
66 for (final ModelInstance instance : instances)
71 public void renderSkeleton (final ModelInstance instance) {
100 for (final ModelInstance instance : instances) {
125 final ModelInstance instance = new ModelInstance(assets.get(currentlyLoading, Model.class));
    [all...]
BaseG3dTest.java 28 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 public ModelInstance axesInstance;
44 public Array<ModelInstance> instances = new Array<ModelInstance>();
86 axesInstance = new ModelInstance(axesModel);
89 protected abstract void render (final ModelBatch batch, final Array<ModelInstance> instances);
96 public void render (final Array<ModelInstance> instances) {
ModelTest.java 24 import com.badlogic.gdx.graphics.g3d.ModelInstance;
39 ObjectMap<ModelInstance, AnimationController> animationControllers = new ObjectMap<ModelInstance, AnimationController>();
61 protected void render (ModelBatch batch, Array<ModelInstance> instances) {
62 for (ObjectMap.Entry<ModelInstance, AnimationController> e : animationControllers.entries())
71 for (final ModelInstance instance : instances) {
96 final ModelInstance instance = new ModelInstance(assets.get(currentlyLoading, Model.class));
111 for (ObjectMap.Entry<ModelInstance, AnimationController> e : animationControllers.entries()) {
ModelCacheTest.java 5 import com.badlogic.gdx.graphics.g3d.ModelInstance;
27 protected void render (ModelBatch batch, Array<ModelInstance> instances) {
MaterialTest.java 29 import com.badlogic.gdx.graphics.g3d.ModelInstance;
43 ModelInstance modelInstance;
44 ModelInstance background;
69 modelInstance = new ModelInstance(model);
70 modelInstance.transform.rotate(Vector3.X, 45);
72 material = modelInstance.materials.get(0);
79 background = new ModelInstance(backModel);
101 modelInstance.transform.rotate(Vector3.Y, 30 * Gdx.graphics.getDeltaTime())
    [all...]
ModelLoaderTest.java 27 import com.badlogic.gdx.graphics.g3d.ModelInstance;
33 ModelInstance instance;
52 instance = new ModelInstance(assets.get("data/g3d/cube.g3dj", Model.class));
MeshBuilderTest.java 17 import com.badlogic.gdx.graphics.g3d.ModelInstance;
106 instances.add(new ModelInstance(model, new Matrix4().trn(0f, 0f, 0f), "mesh", true));
107 instances.add(new ModelInstance(model, new Matrix4().trn(-5f, 0f, -5f), "box", true));
108 instances.add(new ModelInstance(model, new Matrix4().trn(5f, 0f, -5f), "sphere", true));
109 instances.add(new ModelInstance(model, new Matrix4().trn(-5f, 0f, 5f), "cone", true));
110 instances.add(new ModelInstance(model, new Matrix4().trn(5f, 0f, 5f), "cylinder", true));
114 protected void render (ModelBatch batch, Array<ModelInstance> instances) {
Animation3DTest.java 28 import com.badlogic.gdx.graphics.g3d.ModelInstance;
48 ModelInstance skydome;
50 ModelInstance character;
52 ModelInstance tree;
170 protected void render (ModelBatch batch, Array<ModelInstance> instances) {
188 skydome = new ModelInstance(assets.get("data/g3d/skydome.g3db", Model.class));
194 instances.add(new ModelInstance(floorModel, "floor"));
195 instances.add(tree = new ModelInstance(floorModel, "tree"));
199 character = new ModelInstance(assets.get("data/g3d/knight.g3db", Model.class));
Basic3DTest.java 29 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 public ModelInstance instance;
63 instance = new ModelInstance(model);
FogTest.java 30 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 public ModelInstance instance;
63 instance = new ModelInstance(model);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
ModelInfluencer.java 6 import com.badlogic.gdx.graphics.g3d.ModelInstance;
15 * to the particles as {@link ModelInstance}.
38 modelChannel.data[i] = new ModelInstance(first);
50 private class ModelInstancePool extends Pool<ModelInstance>{
54 public ModelInstance newObject () {
55 return new ModelInstance(models.random());
101 ObjectChannel<ModelInstance> modelChannel;
117 modelChannel = controller.particles.addChannel(ParticleChannels.ModelInstance);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
ModelInstance.java 38 * The ModelInstance creates a full copy of all materials, nodes and animations.
40 public class ModelInstance implements RenderableProvider {
41 /** Whether, by default, {@link NodeKeyframe}'s are shared amongst {@link Model} and ModelInstance. Can be overridden per
42 * ModelInstance using the constructor argument. */
59 /** Constructs a new ModelInstance with all nodes and materials of the given model.
61 public ModelInstance (final Model model) {
68 public ModelInstance (final Model model, final String nodeId, boolean mergeTransform) {
73 * @param transform The {@link Matrix4} instance for this ModelInstance to reference or null to create a new matrix.
76 public ModelInstance (final Model model, final Matrix4 transform, final String nodeId, boolean mergeTransform) {
85 public ModelInstance (final Model model, final String nodeId, boolean parentTransform, boolean mergeTransform) {
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
BaseEntity.java 23 import com.badlogic.gdx.graphics.g3d.ModelInstance;
31 public ModelInstance modelInstance;
44 if (modelInstance != null) {
45 for (Material m : modelInstance.materials) {
BulletEntity.java 20 import com.badlogic.gdx.graphics.g3d.ModelInstance;
51 this(new ModelInstance(model, transform.cpy()), body);
54 public BulletEntity (final ModelInstance modelInstance, final btCollisionObject body) {
55 this.modelInstance = modelInstance;
56 this.transform = this.modelInstance.transform;
59 modelInstance.calculateBoundingBox(boundingBox);
65 this.motionState = new MotionState(this.modelInstance.transform);
ImportTest.java 25 import com.badlogic.gdx.graphics.g3d.ModelInstance;
57 ModelInstance instance = new ModelInstance(model, nodeName, true, true);
BasicBulletTest.java 28 import com.badlogic.gdx.graphics.g3d.ModelInstance;
67 Array<ModelInstance> instances = new Array<ModelInstance>();
143 ModelInstance ground = new ModelInstance(groundModel);
156 ModelInstance sphere = new ModelInstance(sphereModel);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
CullTest.java 34 import com.badlogic.gdx.graphics.g3d.ModelInstance;
47 ModelInstance[] instances = new ModelInstance[100];
65 instances[i] = new ModelInstance(sphere, pos);
ProjectTest.java 33 import com.badlogic.gdx.graphics.g3d.ModelInstance;
45 ModelInstance[] instances = new ModelInstance[100];
59 instances[i] = new ModelInstance(sphere, rand.nextFloat() * 100 - rand.nextFloat() * 100, rand.nextFloat() * 100
EdgeDetectionTest.java 30 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 ModelInstance sceneInstance;
71 sceneInstance = new ModelInstance(scene);
FramebufferToTextureTest.java 30 import com.badlogic.gdx.graphics.g3d.ModelInstance;
42 ModelInstance modelInstance;
57 modelInstance = new ModelInstance(mesh);
76 modelInstance.transform.rotate(Vector3.Y, 45 * Gdx.graphics.getDeltaTime());
78 modelBatch.render(modelInstance);
ViewportTest3.java 30 import com.badlogic.gdx.graphics.g3d.ModelInstance;
54 public ModelInstance boxInstance;
84 boxInstance = new ModelInstance(boxModel);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
ParticleChannels.java 5 import com.badlogic.gdx.graphics.g3d.ModelInstance;
111 public static final ChannelDescriptor ModelInstance = new ChannelDescriptor(newGlobalId(), ModelInstance.class, 1);

Completed in 314 milliseconds

1 2