Kae..pl
23cc867e38
Bugfix: making the importer NOT to crash when coming accross OCEAN type of generated texture (this is a new texture type).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10815 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-03 08:57:55 +00:00
Kae..pl
517dece348
Refactoring: optimisations to generated textures loading (will affect some of them).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10814 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-03 08:37:47 +00:00
Kae..pl
4ecc911b69
Feature: added bottom texture for the sky during sky loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10813 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-02 18:53:48 +00:00
Kae..pl
66f1a0302f
Refactoring: removing unnecesary System.out's. ;)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10812 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-02 08:47:33 +00:00
Kae..pl
eb7e7bbaad
Feature: added sky loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10811 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-02 08:15:01 +00:00
Kae..pl
f94ad2b37a
Bugfix: fixed an issue with improper normals direction in merged vertices in mirror modifier.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10808 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-29 16:51:19 +00:00
Kae..pl
915638a370
Refactoring: vertices and normals bind poses are now generated instead of read from the file (as suggested in ArmatureModifier ;).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10804 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:31:34 +00:00
Kae..pl
2a00f1ccb0
Refactoring: removed unnecessary return type from the modifiers (it was never used).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10803 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:13:34 +00:00
Kae..pl
8df3569688
Refactoring: small reorganisation of ObjectHelper class.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10802 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:06:21 +00:00
Kae..pl
d86adfa4f1
Bugfix: fixed an issue with missing material color when material has a non used texture.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-27 15:33:54 +00:00
Kae..pl
638947623d
Refactoring:
...
1. moved BlenderFileException to com.jme3.scene.plugins.blender.file and getting rid of one package.
2. loader classes now throw IOException when loading problems occur as they should do (BlenderFileException is only used internally).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10786 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-16 19:28:24 +00:00
Kae..pl
8f307f8fa5
Added an eclipse '.settings' folder to svn ignore list.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 11:57:40 +00:00
Kae..pl
d6a1b63206
Bugfix: fix to specular light loading. Taking intensity into consideration. Fix given by: pfannenwender.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-04 20:20:30 +00:00
Kae..pl
1b17c4fd04
Bugfix: fixes to specular shininess loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 21:04:03 +00:00
Kae..pl
b4dfd528ee
Bugfix: fixes to scale/rotation setting and reading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10762 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 20:46:03 +00:00
Kae..pl
0bb9822322
Bugfix: fixed an issue that caused repeated meshes to be populated in the wrong direction when Y axis was set as up axis.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10748 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-08-12 14:55:02 +00:00
Kae..pl
bf4447bc46
Feature: loading separate UV sets defined by user and loading LightMap.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10737 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-07-25 10:19:34 +00:00
Kae..pl
7610bfb7aa
Bugfix: fixes to strip box indices and normals computation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-13 11:56:22 +00:00
Kae..pl
217a1a6273
Refactoring: removing AnimData class use in blender importer to make it independent on the OGRE plugin (this way the usage of the importer will not require the presence of Ogre plugin in the classpath).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-05-12 19:05:24 +00:00
Kae..pl
5b65b19bda
Refactoring: storing importer custom data in blender context instead of loaded features. This way there will be no conflict between the custom data names and user's properties names and no unwanted additional data will be stored in the result features.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10587 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-30 21:44:05 +00:00
Kae..pl
9961f77445
Code refactoring:
...
- removed unused methods
- added javadocs
- minor name fixes
- one constructor type for all helpers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 11:31:48 +00:00
Kae..pl
3602d86c20
Bugfix: fixed a bug that caused a bone constraint to be properly validated even though its bone target was not defined.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10584 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-29 11:30:26 +00:00
Kae..pl
29dd973122
Refactoring: large changes in constraints system (see the proper topic on the forum for further changes)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10581 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-27 22:08:19 +00:00
Kae..pl
f8c256d127
Feature: added scale retreive methods to Matrix4f.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-12 21:04:16 +00:00
Kae..pl
4f104e4200
Bugfix: (hopefully) final fixes to armature applying to models without applied transformations (+ removing unused pieces of code)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-10 11:52:31 +00:00
Kae..pl
e282db0f7f
Minor fixes to armature loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-08 12:06:57 +00:00
Kae..pl
a1fd0272d4
Bugfix: only rotation is used to transform node to its parent armature transformation when computing bone positions.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10512 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-05 13:07:59 +00:00
Kae..pl
06f5cab5ba
Bugfix: fixed an issue with skeleton loading when the armature was not a parent of an object it should animate.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-04-04 19:00:21 +00:00
Kae..pl
3888036176
Bugfix: fixed an error that could create wrogn vertex to bone group assignment. This caused animation to be played badly because some vertices remained in their places instead of moving with the proper bone.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-05 09:35:35 +00:00
Kae..pl
fc96e52a4c
Bugfix: fixed lowes weight removal method that did not remove all lowest vertices that were necessary (thanks to Tobias Downer for finding it :) ).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-03-04 11:06:18 +00:00
Kae..pl
0a90ff21d2
Refactoring: removed unused class.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10428 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-24 20:02:34 +00:00
Kae..pl
687c1216ab
Refactoring: removing unused code.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10427 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-24 19:59:33 +00:00
Kae..pl
31e327bbac
Refactoring: SpatialConstraint now derives from Constraint and not BoneConstraint.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10404 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 10:44:50 +00:00
Kae..pl
4de3be91a9
Refactoring: unsupported (but known) constraint definitions are now represented by a single class instead of many classes that do nothing except logging a warning.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10403 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 10:35:49 +00:00
Kae..pl
28ea9d8a0d
Refactoring: tabs replaced by spaces in blender importer sources. (removed unnecesary comment about the spaces so that is not misleading later for others ;) )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10402 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 09:45:32 +00:00
Kae..pl
ecc8d8387b
Refactoring: tabs replaced by spaces in blender importer sources. (4 spaces for each tab)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10401 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 09:43:08 +00:00
Kae..pl
9f4544a3a8
Added length of the bone to the BoneContext (this will be needed later by some of the constraints).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10400 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-14 09:15:55 +00:00
Kae..pl
dcd5fd5b4e
Making sure that bone constraint will target either object or bone in its own armature. Allowing bone to target object (and not only bone as it was until now).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10397 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-13 21:52:52 +00:00
Kae..pl
04998a07c0
Bugfix: mipmap generation once again dependant on the blender settings and on blender key settings :)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-13 15:34:14 +00:00
Kae..pl
bdd8ab1fb0
Feature: added constraint definitions that were added to blender 2.62 so that the loaded does not crash when meets one
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 19:24:54 +00:00
Kae..pl
142905654f
Added a function that creates the full name of the field (with its pointer and table indicators). Just for debugging purposes.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10381 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 19:08:11 +00:00
Kae..pl
21dc62e293
Refactoring: removing unnecessary asset manager from BlenderInputStream constructor (the manager was never used).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10377 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 17:39:25 +00:00
Kae..pl
9b22b2538d
Removing mipmap generation during image texture loading. This is set later if required.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10259 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 06:19:19 +00:00
Kae..pl
ded6dce715
Bugfix: fixed a bug that occured when vertex had more than 4 weights but the first 4 weights were not attached to any bone.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-29 14:47:44 +00:00
Kae..pl
a37b8114b9
Bugfix: fixed a bug that caused an NPE exception which occured when IPO had no curves attached.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10232 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-29 14:46:43 +00:00
Kae..pl
2b94486677
Bugfix: fixed dead code area and NPE being thrown when loading the textures.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-29 14:29:17 +00:00
Kae..pl
d44727cfdd
Bugfix: fix to a bug that caused texture to be loaded more than once
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10202 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 16:08:31 +00:00
Kae..pl
fea4c37e06
Feature: user can now decide if the mipmaps will be generated or not; by default 'mipmap' blender flag is used to decide if mips for specified textures shall be generated or not
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-27 15:46:00 +00:00
Kae..pl
01873e6f80
Bugfix: NPE was thrown when object animation was loaded. To fix that modifiers are now loaded after the whole object is loaded to the blenderContext.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-24 19:40:05 +00:00
Kae..pl
6520fc5b10
Bugfix: fixing a bug that caused negative time values to appear in times[] array in tracks. That caused some animations to behave oddly when in loop mode. Bug and solution found by Tobias Downer.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-23 16:54:36 +00:00
Kae..pl
fada1b5b90
Bugfix: applied fix suggested by Tobiad Downer that properly computes tracks for rotated bones.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-21 22:50:33 +00:00
Kae..pl
071581ad30
Added clear information about bugged blender file. Rarely a pointer appears whose block cannot be found. This is cerainly a bug of blender and we cannot do anything but properly inform user about the situation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-20 18:49:48 +00:00
Kae..pl
1c2baedbc1
Improvements to the weight and index buffers loading:
...
- if more than 4 weights is applied to the vertex then the 'strongest' weights are used
- warning is logged only once when model has vertices with more than 4 weights (and not for every vertex as it was before)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10109 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-19 17:27:36 +00:00
Kae..pl
3d38b634d5
Added functionality that will ignore modifiers that cause no changes to the model due to incomplete (but not invalid) definition. This caused errors when object had for example two armature modifiers and only the second one had armature model attached.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10087 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-17 19:44:05 +00:00
Kae..pl
601a34ba99
Fixed an error that caused NullPointerException to be raised if a curve had no taper object applied.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10069 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 16:39:57 +00:00
Kae..pl
61ad771748
Bugfix: 538: Multiple issues with female3.blend
...
Yay finally found that one :D Models with multiple materials and armatures should now load withour mesh deformations :D
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-13 21:32:04 +00:00
Kae..pl
5e2c814086
Issue 540: NullPointerException when loading blender model
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-16 12:47:54 +00:00
Kae..pl
6573b87bf0
Bugfix: Issue 547: Unsupported type exception importing model from Blender
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-14 10:30:10 +00:00
Kae..pl
2ace208225
Bugfix: fixed NPE error while getting subtarget of a constraint, not every constraint data have such field
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 16:07:48 +00:00
Kae..pl
69205a679b
Updating the bound of every newly loaded node.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 15:55:20 +00:00
Kae..pl
49f227b7cc
Minor optimisations. Added several comments to unveil certain parts of the code.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-30 09:52:27 +00:00
Kae..pl
1b04d13f3e
Bugfix: making sure that the first and last bevel line is parallel to its neighbour in curves that have bevel applied (that is how blender works)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-29 14:22:29 +00:00
Kae..pl
7ee0f9e07c
Removing IndexBuffer class and replacing it with the one that already exists in JME. (Sorry for the mess, I had no idea that such class already exists :) ).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-19 20:41:28 +00:00
Kae..pl
7ce4477b52
Curve loading upgrade.
...
Bugfixes:
- curves bevels are now loaded properly (previously only curves in XZ plane were loaded the way they should)
Features:
- bezier triple radius is now loaded and used
- loaded mesh can be either smooth or solid depending on the user's setting
Improvements:
- decreased memory usage for curves with bevel applied
- reduced CPU usage by simplifying the computations
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9872 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-19 12:23:15 +00:00
Kae..pl
3563bbf179
Feature: constraint applied to a spatial can now also target a bone
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9854 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-08 09:50:02 +00:00
Kae..pl
a5e9159149
Bugfix: layers to be loaded are taken from the value set bu user in BlenderKey and not the value loaded from the blender file.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9853 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-08 08:59:58 +00:00
Kae..pl
27131024ee
Bugfix: in mirror modifier not all vertex indexes were properly inverted when object was smooth.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 15:36:53 +00:00
Kae..pl
d4ddc2beeb
Memory usage improvements:
...
- blender context now disposes all its stored data and properly closes the BlenderInputStream
- fixed an error that causes unnecessary huge memory allocation in BlenderInputStream
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9795 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 13:35:30 +00:00
Kae..pl
2148c256d3
Allowing only a single armature modifier and object animation modifier to be applied over an object.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9792 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 10:15:48 +00:00
Kae..pl
6e027bd51e
Fixing a bug where applied armeture has no skeleton attached.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 10:15:11 +00:00
Kae..pl
d2e6648eb3
Bugfix: solved problem when one 2D texture was about to be cast on other 2D texture while they had exactly the same UV coordinates.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9729 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 11:32:38 +00:00
Kae..pl
ed2a224829
Bugfix: alpha map cannot be applied to unshaded material.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9728 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-14 11:29:16 +00:00
Kae..pl
c929d0ca41
Bugfix: added jme serialization for CameraNode, LighNode, CameraControl and LightControl (as suggested by @rectalogic).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9721 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-13 17:57:14 +00:00
Kae..pl
711b8ab9ca
Huge constraints refactoring (the computations might yet not be perfect, but models loading should get much less crashes).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9720 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-13 15:19:05 +00:00
Kae..pl
58bbd2d076
Fix for method that checks if the mesh is a B-Mesh or not.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9719 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-13 15:12:59 +00:00
Kae..pl
a498a1cdc9
Changing default value for controlDir. It is now SpatialToCamera instead of CameraToSpatial.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9718 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-13 14:47:38 +00:00
Kae..pl
e83b15028b
Fix for animation rotations computation (in blender earlier than 2.50 the rotations were stored in degrees and later in radians). Thanks to @rectalogic for finding this :).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-11 19:39:27 +00:00
Kae..pl
4fa00b6d9a
Fix for blender loader classes (latest changes to light and camera loading were taken into account).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9711 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-10 21:51:26 +00:00
Kae..pl
9e60eda71a
Fix for loading smooth meshes. (One small step for java compiler is a huge step for blender importer :D)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9701 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-03 15:17:01 +00:00
Kae..pl
fa426feb08
Wrapping cameras into CameraNode.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 14:12:13 +00:00
Kae..pl
be5428736d
Wrapping Light into LightNodes (this allows to add constraints and properties to lights).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9698 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 14:03:21 +00:00
Kae..pl
1bad383be2
Added and entry to the blender key that allows to disable loading of generated textures. The value is set to false by default because generated textures need extra care when being loaded.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9694 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-28 18:34:49 +00:00
Kae..pl
6c2f7288b7
Material assignation fix when blender does not fully assigns the materials. Proper warning is generated and default material is used.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9693 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-28 13:46:16 +00:00
Kae..pl
49c47f8174
Fixing a bug that caused the loader to crash when the mesh (traditional one and not BMesh) had no faces and only edges or points instead (without support for loading edges and points yet).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9692 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-28 11:56:14 +00:00
Kae..pl
4fb6ba58c7
Fix to colorband loading. Preventing a crash when less than 4 cursors are used.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9691 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-28 10:10:42 +00:00
Kae..pl
0fd34d3535
Ignoring textures when their UV coordinates type is not supported. This will prevent from unexpected exceptions to occur.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9690 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-28 10:06:22 +00:00
Kae..pl
bb644be5e0
Fix to specifying texture UV coordinates for generated textures.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9627 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-07 14:51:05 +00:00
Kae..pl
e9af2e4dc4
Classes added that represent new constraints in blender. Classes have no implementation yet, they simply exist so that the loaded models will not crash when they use them.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9587 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-26 13:23:09 +00:00
Kae..pl
86be16cda4
Fixed Issue 498: Blender loader has strict requirements for animation import.
...
(Although the animation of the given model looks bad because bone constraints are not yet fully supported.)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9577 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 12:04:49 +00:00
Kae..pl
3a5b8bb3d6
Using one UV buffer for all types of texture mapping (the textures are cast to different UV's when neded). Support for using generated textures as normal maps (looks best when large generatedTexturePPU is used and on large faces).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 11:55:50 +00:00
Kae..pl
d3452297ce
FIXED: Issue 515: Blender loader - "-1" bone indices are generated for this model
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9537 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-03 19:45:30 +00:00
Kae..pl
37f74cdb07
Fix for applying normals for smooth models that use generated textures (they were solid instead of smooth).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-26 12:45:11 +00:00
Kae..pl
801b87d6ce
Fix to image to normal map convertion. The result image is no longer upside-down.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-26 11:25:43 +00:00
Kae..pl
1d6fc2f9d6
NPE fix when no image texture was found.
...
A method to convert an image to normal map now accepts and returns an Image instead of Texture.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 21:39:38 +00:00
Kae..pl
4a596c8082
Temporary fix to UVS loading. If no texture is applied and UV coordinates are - then they are applied to the model. At this moment user defined UVS are only applied but future implementation will take the UVS type into account.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 21:36:20 +00:00
Kae..pl
7beebfc4c0
Fix for mirror modifier. Wrong axis was mirrored when Y is up axis was set.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:57:02 +00:00
Kae..pl
cd79395d9b
Removing the exception throw when the mesh has no vertices. Now simply an empty geometry list will be returned.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:52:52 +00:00
Kae..pl
1d767981ee
Fixes for mirror modifier (fixing several NPE that occured when model hed no binging or UV buffers, and fixing ClassCastException when model was small and ShorBuffer instead of IntBuffer was used for vertex indexing).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:39:07 +00:00
Kae..pl
a6d42c21bb
Fix to applying properties to the mesh's geometry.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:30:29 +00:00
Kae..pl
fde6b4a447
Fixes to normals loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 19:50:23 +00:00