/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...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
Constraint.java | 10 import com.jme3.scene.plugins.blender.BlenderContext;
34 protected final BlenderContext blenderContext;
45 * @param blenderContext
52 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
53 this.blenderContext = blenderContext;
57 data = pData.fetchData(blenderContext.getInputStream()).get(0);
60 Structure targetStructure = pTar.fetchData(blenderContext.getInputStream()).get(0); [all...] |
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...] |
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());
|
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());
|
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...] |
ConstraintDistLimit.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);
51 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
ConstraintRotLike.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);
53 AnimData animData = blenderContext.getAnimData(this.owner.getOma());
|
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());
|
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());
|
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());
|
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());
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
Structure.java | 34 import com.jme3.scene.plugins.blender.BlenderContext; 48 private BlenderContext blenderContext; 62 * @param blenderContext 67 private Structure(Structure structure, BlenderContext blenderContext) throws CloneNotSupportedException { 73 this.blenderContext = blenderContext; 85 * @param blenderContext 90 public Structure(BlenderInputStream inputStream, String[] names, String[] types, BlenderContext blenderContext) throws BlenderFileException [all...] |
Pointer.java | 34 import com.jme3.scene.plugins.blender.BlenderContext;
46 private BlenderContext blenderContext;
60 * @param blenderContext
63 public Pointer(int pointerLevel, boolean function, BlenderContext blenderContext) {
66 this.blenderContext = blenderContext;
92 FileBlockHeader dataFileBlock = blenderContext.getFileBlock(oldMemoryAddress);
99 Pointer p = new Pointer(pointerLevel - 1, this.function, blenderContext);
[all...] |
FileBlockHeader.java | 34 import com.jme3.scene.plugins.blender.BlenderContext;
81 * @param blenderContext
86 public FileBlockHeader(BlenderInputStream inputStream, BlenderContext blenderContext) throws BlenderFileException {
96 blenderContext.setBlockData(new DnaBlockData(inputStream, blenderContext));
99 blenderContext.addFileBlockHeader(Long.valueOf(oldMemoryAddress), this);
105 * @param blenderContext
110 public Structure getStructure(BlenderContext blenderContext) throws BlenderFileException { [all...] |
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/modifiers/ |
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) {
|
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...] |
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/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/textures/blending/ |
TextureBlenderFactory.java | 6 import com.jme3.scene.plugins.blender.BlenderContext;
73 public Texture blend(float[] materialColor, Texture texture, float[] color, float affectFactor, int blendType, boolean neg, BlenderContext blenderContext) {
|
AbstractTextureBlender.java | 4 import com.jme3.scene.plugins.blender.BlenderContext;
27 * @param blenderContext
30 protected void blendPixel(float[] result, float[] materialColor, float[] pixelColor, float blendFactor, int blendtype, BlenderContext blenderContext) {
116 this.blendHSV(blendtype, result, blendFactor, pixelColor, blenderContext);
134 * @param blenderContext
137 protected void blendHSV(int type, float[] materialRGB, float fac, float[] pixelColor, BlenderContext blenderContext) {
139 MaterialHelper materialHelper = blenderContext.getHelper(MaterialHelper.class);
|
/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/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...] |
/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...] |