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
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
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
rem..om
2acbdf9f84
Hardware Skinning now uses its own bone index and bone weight buffers. The vertex buffers are initialized empty when the model is loaded and placed in the cache.
...
They are populated only if hardware skinning is used with the model.
BoneIndex and BoneWeight buffers are now always CpuOnly and only used for Software Skinning.
Some enhancement could be done to save memory by not generating the bindPose buffers if hardware skinning is used as it doesn't need them.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-06-22 10:03:40 +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
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
nor..67
ad927bcd6a
- change blender texture locator to always set the texture key on loaded textures explicitly (for relative textures too)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 17:39:38 +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
nor..67
629d1caba7
- change blender texture locator to always set the texture key on loaded textures explicitly
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10376 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-09 17:13:30 +00:00
nor..67
11e955e020
- use replace instead of replaceAll in blender TextureHelper
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-03 00:43:32 +00:00
nor..67
836bc37f5f
- Improve Blender TextureHelper external texture loading
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-02-03 00:05:57 +00:00
nor..67
d6ea096da9
- default blender FaceCullMode to back
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10276 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 23:07:06 +00:00
nor..67
b0b818dc12
- fix logging in blender loader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10273 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:39:43 +00:00
nor..67
ea973c14c3
- change logging from logger.info() logger.fine and logger.warning()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:37:56 +00:00
nor..67
7ba657e430
- set logging from Level.INFO to Level.FINE for most logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:26:10 +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