/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/ |
ModifierHelper.java | 41 import com.jme3.scene.plugins.blender.BlenderContext;
75 * @param blenderContext
81 public Collection<Modifier> readModifiers(Structure objectStructure, BlenderContext blenderContext) throws BlenderFileException {
84 List<Structure> modifiers = modifiersListBase.evaluateListBase(blenderContext);
88 modifier = new ArrayModifier(modifierStructure, blenderContext);
90 modifier = new MirrorModifier(modifierStructure, blenderContext);
92 modifier = new ArmatureModifier(objectStructure, modifierStructure, blenderContext);
94 modifier = new ParticlesModifier(modifierStructure, blenderContext);
99 blenderContext.addModifier(objectStructure.getOldMemoryAddress(), modifier); [all...] |
ArmatureModifier.java | 26 import com.jme3.scene.plugins.blender.BlenderContext;
27 import com.jme3.scene.plugins.blender.BlenderContext.LoadedFeatureDataType;
79 * @param blenderContext
85 public ArmatureModifier(Structure objectStructure, Structure modifierStructure, BlenderContext blenderContext) throws BlenderFileException {
86 Structure meshStructure = ((Pointer) objectStructure.getFieldValue("data")).fetchData(blenderContext.getInputStream()).get(0);
93 if (this.validate(modifierStructure, blenderContext) && pDvert.isNotNull()) {
96 ArmatureHelper armatureHelper = blenderContext.getHelper(ArmatureHelper.class);
98 Structure armatureObject = pArmatureObject.fetchData(blenderContext.getInputStream()).get(0);
101 Structure armatureStructure = ((Pointer) armatureObject.getFieldValue("data")).fetchData(blenderContext.getInputStream()).get(0); [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
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...] |
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...] |
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...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/ |
ArmatureHelper.java | 46 import com.jme3.scene.plugins.blender.BlenderContext;
88 * @param blenderContext
94 public void buildBones(Structure boneStructure, Bone parent, List<Bone> result, Matrix4f arbt, final Map<Long, Structure> bonesPoseChannels, BlenderContext blenderContext) throws BlenderFileException {
95 BoneContext bc = new BoneContext(boneStructure, arbt, bonesPoseChannels, blenderContext);
96 bc.buildBone(result, bonesOMAs, blenderContext);
126 public Map<Integer, Integer> getGroupToBoneIndexMap(Structure defBaseStructure, Skeleton skeleton, BlenderContext blenderContext) throws BlenderFileException {
130 List<Structure> deformGroups = defBaseStructure.evaluateListBase(blenderContext);// bDeformGroup
145 public boolean shouldBeLoaded(Structure structure, BlenderContext blenderContext) { [all...] |
IpoHelper.java | 7 import com.jme3.scene.plugins.blender.BlenderContext;
42 * @param blenderContext
49 public Ipo fromIpoStructure(Structure ipoStructure, BlenderContext blenderContext) throws BlenderFileException {
54 List<Structure> curves = curvebase.evaluateListBase(blenderContext);// IpoCurve
60 List<Structure> bezTriples = pBezTriple.fetchData(blenderContext.getInputStream());
66 blenderContext.addLoadedFeatures(ipoStructure.getOldMemoryAddress(), ipoStructure.getName(), ipoStructure, result);
77 * @param blenderContext
84 public Ipo fromAction(Structure actionStructure, BlenderContext blenderContext) throws BlenderFileException { [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/ |
BlenderLoader.java | 82 BlenderKey blenderKey = blenderContext.getBlenderKey();
88 Object object = this.toObject(block.getStructure(blenderContext));
108 loadingResults.addMaterial(this.toMaterial(block.getStructure(blenderContext)));
113 loadingResults.addScene(this.toScene(block.getStructure(blenderContext)));
118 Structure worldStructure = block.getStructure(blenderContext);
130 blenderContext.dispose();
186 blenderContext = new BlenderContext();
187 blenderContext.setBlenderVersion(inputStream.getVersionNumber());
188 blenderContext.setAssetManager(assetInfo.getManager()); [all...] |
AbstractBlenderLoader.java | 64 protected BlenderContext blenderContext;
73 if ((blenderContext.getBlenderKey().getFeaturesToLoad() & FeaturesToLoad.SCENES) == 0) {
78 List<Structure> base = ((Structure)structure.getFieldValue("base")).evaluateListBase(blenderContext);
82 Structure objectStructure = pObject.fetchData(blenderContext.getInputStream()).get(0);
104 CameraHelper cameraHelper = blenderContext.getHelper(CameraHelper.class);
105 if (cameraHelper.shouldBeLoaded(structure, blenderContext)) {
118 LightHelper lightHelper = blenderContext.getHelper(LightHelper.class);
119 if (lightHelper.shouldBeLoaded(structure, blenderContext)) {
120 return lightHelper.toLight(structure, blenderContext);
[all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/ |
ConstraintHelper.java | 11 import com.jme3.scene.plugins.blender.BlenderContext;
63 public ConstraintHelper(String blenderVersion, BlenderContext blenderContext, boolean fixUpAxis) {
73 * @param blenderContext
77 public void loadConstraints(Structure objectStructure, BlenderContext blenderContext) throws BlenderFileException {
80 IpoHelper ipoHelper = blenderContext.getHelper(IpoHelper.class);
84 List<Structure> actions = pActions.fetchData(blenderContext.getInputStream());
87 List<Structure> actionChannels = chanbase.evaluateListBase(blenderContext);
91 List<Structure> constraintChannels = constChannels.evaluateListBase(blenderContext);
[all...] |
ConstraintNull.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
23 * @param blenderContext
30 Ipo influenceIpo, BlenderContext blenderContext)
32 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
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...] |
ConstraintAction.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintChildOf.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintClampTo.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext)
35 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintDampTrack.java | 6 import com.jme3.scene.plugins.blender.BlenderContext;
27 * @param blenderContext
33 public ConstraintDampTrack(Structure constraintStructure, Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintFollowPath.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintLockTrack.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext)
35 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintMinMax.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintPivot.java | 6 import com.jme3.scene.plugins.blender.BlenderContext;
27 * @param blenderContext
34 BlenderContext blenderContext) throws BlenderFileException {
35 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintPython.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintRigidBodyJoint.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Long ownerOMA, Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintSplineInverseKinematic.java | 6 import com.jme3.scene.plugins.blender.BlenderContext;
27 * @param blenderContext
34 BlenderContext blenderContext) throws BlenderFileException {
35 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintStretchTo.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|
ConstraintTransform.java | 3 import com.jme3.scene.plugins.blender.BlenderContext;
26 * @param blenderContext
33 Ipo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {
34 super(constraintStructure, ownerOMA, influenceIpo, blenderContext);
|