/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
Modifier.java | 4 import com.jme3.scene.plugins.blender.BlenderContext;
33 * @param blenderContext
37 public abstract Node apply(Node node, BlenderContext blenderContext);
46 protected boolean validate(Structure modifierStructure, BlenderContext blenderContext) {
|
ParticlesModifier.java | 11 import com.jme3.scene.plugins.blender.BlenderContext;
39 * @param blenderContext
45 public ParticlesModifier(Structure modifierStructure, BlenderContext blenderContext) throws BlenderFileException {
46 if(this.validate(modifierStructure, blenderContext)) {
49 ParticlesHelper particlesHelper = blenderContext.getHelper(ParticlesHelper.class);
50 Structure particleSystem = pParticleSystem.fetchData(blenderContext.getInputStream()).get(0);
51 particleEmitter = particlesHelper.toParticleEmitter(particleSystem, blenderContext);
57 public Node apply(Node node, BlenderContext blenderContext) {
[all...] |
ArrayModifier.java | 11 import com.jme3.scene.plugins.blender.BlenderContext;
12 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
47 * @param blenderContext
54 public ArrayModifier(Structure modifierStructure, BlenderContext blenderContext) throws BlenderFileException {
55 if(this.validate(modifierStructure, blenderContext)) {
69 Structure curveStructure = pCurveOb.fetchData(blenderContext.getInputStream()).get(0);
70 ObjectHelper objectHelper = blenderContext.getHelper(ObjectHelper.class);
71 Node curveObject = (Node) objectHelper.toObject(curveStructure, blenderContext);
129 public Node apply(Node node, BlenderContext blenderContext) { [all...] |
ObjectAnimationModifier.java | 12 import com.jme3.scene.plugins.blender.BlenderContext;
42 * @param blenderContext
48 public ObjectAnimationModifier(Ipo ipo, String objectAnimationName, Long objectOMA, BlenderContext blenderContext) throws BlenderFileException {
49 int fps = blenderContext.getBlenderKey().getFps();
60 blenderContext.setAnimData(objectOMA, animData);
64 public Node apply(Node node, BlenderContext blenderContext) {
|
MirrorModifier.java | 9 import com.jme3.scene.plugins.blender.BlenderContext;
44 * @param blenderContext
50 public MirrorModifier(Structure modifierStructure, BlenderContext blenderContext) {
51 if(this.validate(modifierStructure, blenderContext)) {
62 public Node apply(Node node, BlenderContext blenderContext) {
79 objectStructure = pObject.fetchData(blenderContext.getInputStream()).get(0);
80 ObjectHelper objectHelper = blenderContext.getHelper(ObjectHelper.class);
81 Node object = (Node) objectHelper.toObject(objectStructure, blenderContext);
[all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/objects/ |
ObjectHelper.java | 54 import com.jme3.scene.plugins.blender.BlenderContext;
55 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
104 * @param blenderContext
110 public Object toObject(Structure objectStructure, BlenderContext blenderContext) throws BlenderFileException {
111 Object loadedResult = blenderContext.getLoadedFeature(objectStructure.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
116 blenderContext.pushParent(objectStructure);
128 Object parent = blenderContext.getLoadedFeature(pParent.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
130 Structure parentStructure = pParent.fetchData(blenderContext.getInputStream()).get(0);
131 parent = this.toObject(parentStructure, blenderContext);
[all...] |
Properties.java | 4 import com.jme3.scene.plugins.blender.BlenderContext; 56 * @param blenderContext 61 public void load(Structure idPropertyStructure, BlenderContext blenderContext) throws BlenderFileException { 75 BlenderInputStream bis = blenderContext.getInputStream(); 76 FileBlockHeader dataFileBlock = blenderContext.getFileBlock(pointer.getOldMemoryAddress()); 91 BlenderInputStream bis = blenderContext.getInputStream(); 92 FileBlockHeader dataFileBlock = blenderContext.getFileBlock(pointer.getOldMemoryAddress()); 126 List<Structure> dataList = group.evaluateListBase(blenderContext); 130 properties.load(d, blenderContext); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
BoneContext.java | 12 import com.jme3.scene.plugins.blender.BlenderContext;
58 * @param blenderContext
64 public BoneContext(Structure boneStructure, Matrix4f objectToArmatureMatrix, final Map<Long, Structure> bonesPoseChannels, BlenderContext blenderContext) throws BlenderFileException {
65 this(boneStructure, null, objectToArmatureMatrix, bonesPoseChannels, blenderContext);
79 * @param blenderContext
85 private BoneContext(Structure boneStructure, BoneContext parent, Matrix4f objectToArmatureMatrix, final Map<Long, Structure> bonesPoseChannels, BlenderContext blenderContext) throws BlenderFileException {
89 ObjectHelper objectHelper = blenderContext.getHelper(ObjectHelper.class);
92 fixUpAxis = blenderContext.getBlenderKey().isFixUpAxis(); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Feature.java | 9 import com.jme3.scene.plugins.blender.BlenderContext;
10 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
31 protected BlenderContext blenderContext;
42 * @param blenderContext
45 public Feature(Space space, Long oma, BlenderContext blenderContext) {
48 this.blenderContext = blenderContext;
60 * @param blenderContext
[all...] |
ConstraintInverseKinematics.java | 5 import com.jme3.scene.plugins.blender.BlenderContext;
29 * @param blenderContext
36 Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
37 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
44 // Bone ownerBone = (Bone) blenderContext.getLoadedFeature(ownerOMA, LoadedFeatureDataType.LOADED_FEATURE);
45 // AnimData animData = blenderContext.getAnimData(ownerOMA);
62 // ObjectHelper objectHelper = blenderContext.getHelper(ObjectHelper.class);
63 // Transform transform = objectHelper.getTransformation(armatureNodeStructure, blenderContext);
141 // Bone ownerBone = (Bone) blenderContext.getLoadedFeature(ownerOMA, LoadedFeatureDataType.LOADED_FEATURE); [all...] |
ConstraintShrinkWrap.java | 15 import com.jme3.scene.plugins.blender.BlenderContext;
36 * @param blenderContext
43 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
44 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
62 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintLocLike.java | 7 import com.jme3.scene.plugins.blender.BlenderContext;
38 * @param blenderContext
45 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
46 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
50 if(blenderContext.getBlenderKey().isFixUpAxis()) {
67 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintLocLimit.java | 7 import com.jme3.scene.plugins.blender.BlenderContext;
37 * @param blenderContext
44 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
45 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
48 if(blenderContext.getBlenderKey().isFixUpAxis()) {
79 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintSizeLike.java | 7 import com.jme3.scene.plugins.blender.BlenderContext;
34 * @param blenderContext
41 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
42 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
45 if(blenderContext.getBlenderKey().isFixUpAxis()) {
58 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintSizeLimit.java | 7 import com.jme3.scene.plugins.blender.BlenderContext;
37 * @param blenderContext
44 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
45 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
48 if(blenderContext.getBlenderKey().isFixUpAxis()) {
79 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintRotLimit.java | 9 import com.jme3.scene.plugins.blender.BlenderContext;
38 * @param blenderContext
44 public ConstraintRotLimit(Structure constraintStructure, Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
45 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
48 if (blenderContext.getBlenderKey().isFixUpAxis() && owner.spatial != null) {
72 if (blenderContext.getBlenderVersion() <= 249) {
84 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
BlenderModelLoader.java | 58 BlenderKey blenderKey = blenderContext.getBlenderKey(); 63 Object object = this.toObject(block.getStructure(blenderContext)); 74 blenderContext.dispose();
|
AbstractBlenderHelper.java | 146 * @param blenderContext
152 protected Properties loadProperties(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
158 Structure propertiesStructure = pProperties.fetchData(blenderContext.getInputStream()).get(0);
160 properties.load(propertiesStructure, blenderContext);
171 * @param blenderContext
175 public abstract boolean shouldBeLoaded(Structure structure, BlenderContext blenderContext);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/ |
LightHelper.java | 42 import com.jme3.scene.plugins.blender.BlenderContext;
43 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
69 public Light toLight(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
70 Light result = (Light) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
117 public boolean shouldBeLoaded(Structure structure, BlenderContext blenderContext) {
118 return (blenderContext.getBlenderKey().getFeaturesToLoad() & FeaturesToLoad.LIGHTS) != 0;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlender.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
46 * @param blenderContext
50 Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
Field.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
20 public BlenderContext blenderContext;
42 * @param blenderContext
47 public Field(String name, String type, BlenderContext blenderContext) throws BlenderFileException {
49 this.blenderContext = blenderContext;
62 blenderContext = field.blenderContext;
[all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureHelper.java | 56 import com.jme3.scene.plugins.blender.BlenderContext;
57 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
149 * @param blenderContext
155 public Texture getTexture(Structure tex, BlenderContext blenderContext) throws BlenderFileException {
156 Texture result = (Texture) blenderContext.getLoadedFeature(tex.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
161 int width = blenderContext.getBlenderKey().getGeneratedTextureWidth();
162 int height = blenderContext.getBlenderKey().getGeneratedTextureHeight();
163 int depth = blenderContext.getBlenderKey().getGeneratedTextureDepth();
169 Structure image = pImage.fetchData(blenderContext.getInputStream()).get(0); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
MaterialHelper.java | 43 import com.jme3.scene.plugins.blender.BlenderContext;
44 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
182 * @param blenderContext
188 public Material toMaterial(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
191 return blenderContext.getDefaultMaterial();
193 Material result = (Material) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE);
198 MaterialContext materialContext = new MaterialContext(structure, blenderContext);
240 result = new Material(blenderContext.getAssetManager(), "Common/MatDefs/Texture3D/tex3D.j3md");
243 result = new Material(blenderContext.getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md"); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/curves/ |
CurvesHelper.java | 11 import com.jme3.scene.plugins.blender.BlenderContext;
58 * @param blenderContext
63 public List<Geometry> toCurve(Structure curveStructure, BlenderContext blenderContext) throws BlenderFileException {
77 List<Structure> nurbStructures = ((Structure) curveStructure.getFieldValue("nurb")).evaluateListBase(blenderContext);
90 MaterialHelper materialHelper = blenderContext.getHelper(MaterialHelper.class);
91 Material[] materials = materialHelper.getMaterials(curveStructure, blenderContext);
93 materials = new Material[]{blenderContext.getDefaultMaterial().clone()};
103 Pointer pBevelStructure = (Pointer) pBevelObject.fetchData(blenderContext.getInputStream()).get(0).getFieldValue("data");
104 Structure bevelStructure = pBevelStructure.fetchData(blenderContext.getInputStream()).get(0); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/ |
MeshHelper.java | 55 import com.jme3.scene.plugins.blender.BlenderContext;
56 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
98 public List<Geometry> toMesh(Structure structure, BlenderContext blenderContext) throws BlenderFileException {
99 List<Geometry> geometries = (List<Geometry>) blenderContext.getLoadedFeature(structure.getOldMemoryAddress(),
110 TextureHelper textureHelper = blenderContext.getHelper(TextureHelper.class);
117 Vector3f[] vertices = this.getVertices(structure, blenderContext);
121 List<byte[]> verticesColors = this.getVerticesColors(structure, blenderContext);
129 mFaces = pMFace.fetchData(blenderContext.getInputStream());
142 mtFaces = pMTFace.fetchData(blenderContext.getInputStream()); [all...] |