Commit Graph
100 Commits
Author SHA1 Message Date
Kae..pl 858c8ba9ba Fix to properties loading: properties are now stored in Spatial as basic types (supported by UserData) or Savables supported by jme core.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9344 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-02 18:03:40 +00:00
Kae..pl f9593adee1 Fixed NPE error when using a single 'None' texture type in the material definition.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9342 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-02 16:45:38 +00:00
Kae..pl 2fe4d620d9 Fixing a bug where texture size getter is called before the opengl is initialized.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 17:37:59 +00:00
Kae..pl b09e37c9d9 Added support for multilayered images.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9336 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 17:06:53 +00:00
Kae..pl 96cfd22510 Support for base texture blending for DDS textures.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9335 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 13:47:22 +00:00
Kae..pl be9dc94d88 Removing unused folders.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 09:42:55 +00:00
Kae..pl 82c72f004f Removing unused folders.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9332 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 09:42:25 +00:00
Kae..pl c4bf1b59a0 Removing @Override annotations from methods that implements interfaces (this will make the code Java 5 compatible).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9331 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 09:34:22 +00:00
Kae..pl 8de8bf2d3e Textures loading refactoring.
New features:
- support for loading both 2D and 3D textures (they are merged and flattened to Texture2D)
- support for colorband usage in flat textures
- support for using color factors for flat images

Bugfixes:
- blend texture should be now calculated properly at the ends of the object
- blend texture is now properly directed
- flat texture projection (flat, bude and tube) should now be properly directed

Other stuff:
- better code separation and improved readability

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9329 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-29 19:55:57 +00:00
Kae..pl b8896f3948 Added variable to BlenderKey that would allow to suspend object properties loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9324 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-24 12:54:10 +00:00
Kae..pl d6bf9372bf Fix to 3D material definition for blender loader.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9242 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-11 20:11:16 +00:00
Kae..pl 2bc7128eb6 Fix to loading meshes that contain many vertices.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-01 21:35:32 +00:00
Kae..pl 787e912591 Fixes to AWT textures blending.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-29 20:40:25 +00:00
Kae..pl 2b004e803d Better support for textures blending.
- support for DDS blending (without textures decompression :) )
- support for RGBA textures blending
- support for generated textures blending
Also done blending refactoring. Blending functions moved to separated classes from TextureHelper.
It will increase code redability.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 21:55:56 +00:00
Kae..pl c23c7e1378 Fix to textures loading (material color should now not interfere with the texture).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9179 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 19:35:20 +00:00
Kae..pl 3d22756dfc Added support for loading the following texture types: DXT1, DXT3 and DXT5.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 18:57:35 +00:00
Kae..pl 026a5bd0a6 Removed unnecessary System.out's.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-05 10:51:47 +00:00
Kae..pl 0e9f7ea22f Fixes to limit rotation constraint.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9125 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-01 18:45:45 +00:00
Kae..pl 65afa0bbc8 Fixes to spot light loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 10:25:11 +00:00
Kae..pl 3a84693f68 Many changes:
- simplified implementation for bones loading
- static bones poses discarded
- loading of object animation for blender 2.50+ added (didn't work for these versions before)
- several small bugfixes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-27 21:22:11 +00:00
Kae..pl 2ac215f477 Fix a bug with bad bones placing.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-21 22:10:03 +00:00
Kae..pl e4c4380ab5 Fixing a bug with cloning SkeletonControl for Spatial. The anim control will always be added if the object has an armature, even if it has no animations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-21 20:42:23 +00:00
Kae..pl 4c3b866e85 The files: .classpath and .project added to svn:ignore list (these are eclipse files that should never be commited by mistake).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-21 17:56:15 +00:00
Kae..pl f74d0311ae Bugfix: LocLimitConstraint erased other tracks except the one it was supposed to alter.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-19 21:47:55 +00:00
Kae..pl 8297877114 Armature bugfix: bones had constraints applied before they were loaded (skeleton loading moved to ObjectHelper).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-19 21:47:19 +00:00
Kae..pl f232b11318 Material name added.
Reading material's name from blender added.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-19 20:10:52 +00:00
Kae..pl 0e4f115e84 FIXED: Issue 430: Blender loader sets blend mode = alpha on material that is not really transparent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-08 17:37:58 +00:00
Kae..pl 4b55383ba0 FIXED: Issue 427: Blender loader writes BindPose buffers without BoneIndex or BoneWeight data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8899 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-08 12:38:19 +00:00
Kae..pl 7e3e35c7f2 FIXED: Issue 428: Blender loader doesn't compress index buffers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8898 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-08 12:06:25 +00:00
Kae..pl 7f694b3ba0 BUGFIX: Issue 434: Blender loader loads model with incorrect Y-up transform
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8897 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-08 11:44:23 +00:00
Kae..pl a1d73d159d Many changes to blender importer:
- constraints refactoring (easier use and less code)
- constraints support for blender 2.50+ (although not all of the constraints are supported)
- Y is up axis issue fixed for animations
- owner and target spaces evaluation support for constraints (two bone space modes still to do)
- simplified code for bones loading (though still needs some refactoring)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 22:33:49 +00:00
Kae..pl 67930542ee Fixes to Y is up axis arrow.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 16:21:18 +00:00
Kae..pl ae739ef441 Fix in normals calculations when Y is up axis.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-25 19:26:58 +00:00
Kae..pl 18ce27faae Changes to Y-is-Up-Axis issue.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 14:30:22 +00:00
Kae..pl b7a3818b60 Fixing a bug that occured when the model was invalid and had no faces (only a line for example).
Such model will not be visible.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-20 18:06:18 +00:00
Kae..pl 4cde46bee5 Attaching an empty to its parent.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8364 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-07 13:39:17 +00:00
Kae..pl 984bab2ae9 Removing fix up axis checking for mesh vertices.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8361 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-05 05:56:51 +00:00
Kae..pl 952081b192 Fixing a bug that caused NPE to be thrown when no actions where applied to armature.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8360 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-05 05:56:12 +00:00
Kae..pl 7492410485 Moving 3D textures shaders to blender packages.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8349 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-04 17:18:12 +00:00
Kae..pl 3969d34a03 Fixes to textures merging.
Adding logs to the image loading method.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8328 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-02 10:53:48 +00:00
Kae..pl fd3c84ccce Increasing the default generated textures size (they import in reasonable time yet and are of better quality).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8325 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 12:29:27 +00:00
Kae..pl 846b569552 Support for generated textures merging.
Optimizations in textures loading when multiple textures are applied.
Fixes in pixel blending.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8324 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 12:27:41 +00:00
Kae..pl ff3336679d Setter for generated texture depth added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-29 15:26:48 +00:00
Kae..pl 780da5e581 Tests for loading bone and object animation from blender added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 22:22:07 +00:00
Kae..pl 0b274b3c1b Automatic loading of both bone and object animations (no need to specify animations in blender key any more).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8305 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 22:19:31 +00:00
Kae..pl ce259299e2 Track length getter added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 21:12:29 +00:00
Kae..pl 6c341850d2 Refactoring to constraints. Implementation now not dependant on the animation type.
Removing deprecated animation classes.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8303 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 20:44:02 +00:00
Kae..pl c773395ace Animations refactoring.
- Track is a generic interface now
- all kinds of tracks implement Track<T>
- Animation is the only animation class that should be used now (other classes like BoneAnimation or SpatialAnimation are deprecated now)
- Pose and PoseTrack are made Cloneable to easier clone the tracks and Animation
- one update to OgreLoader (using Animation instead of BoneAnimation)
- one update to tests

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 20:30:22 +00:00
Kae..pl a649917c27 'copyFrom' method added to Camera.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 10:25:27 +00:00
Kae..pl c58ffe4ddc Fix a bug with animation when Y axis was UP.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8270 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-22 14:58:51 +00:00
Kae..pl 0dd85b8fe1 Fix to attaching objects to the scene's node.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8268 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-21 15:18:28 +00:00
Kae..pl bfc57cc7db Spatial animation support added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-21 11:34:10 +00:00
Kae..pl 8deba71f8d Blender loading logic refactoring:
- JmeConverter replaced by AbstractBlenderLoader
- scene loading implemented (now all objects are attached to the scene node)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-13 21:22:00 +00:00
Kae..pl ec4486d5eb Adding the MeshContext that will help with mesh modifications in a future.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8251 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-13 19:56:53 +00:00
Kae..pl 393c67c9b7 Removing unnecessary operations from ArmatureModifier.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8248 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-12 21:33:49 +00:00
Kae..pl 0775b93088 Added support for modifiers validating. Now modifiers that are invalid will not be loaded.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8245 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 22:13:40 +00:00
Kae..pl ba57377795 Refactoring: renaming 'DataRepository' to 'BlenderContext'.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 21:53:02 +00:00
Kae..pl 7a44519bac Modifiers refactoring. Common reference to loaded modifier to all classes deriving from 'Modifier' was dropped.
Now all modifiers hold their own data and do not give acces to them.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 21:47:47 +00:00
Kae..pl 3402f51824 Armature loading refactoring and bugfixing.
- animations should now load properly
- armature loading moved to ArmatureModifier (no bones are touched inside MeshHelper so the code should be a little more clear now)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 13:23:33 +00:00
Kae..pl 45d1a0e772 Several fixes to animation loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8235 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 19:57:29 +00:00
Kae..pl 7c1c6dc065 Support for UV-coordinates mapping (only for the first texture at the moment).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 14:06:52 +00:00
Kae..pl b8618eba26 Support for generating UV coordinates for 3D textures if they are not manually created.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 17:19:18 +00:00
Kae..pl 76d9fd3a15 Tube projection support for objects containing many meshes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 17:08:46 +00:00
Kae..pl b86c1f4e64 Generated textures refactoring.
* Algorithms changed (not depending on blender sources any more).
 * Improved loading speed (at least in some cases).
 * Unnecessary functions removed (there were a few :) ).
 * Several bugs fixed (some blending functions did not work well with textures; colorbands now calculated properly).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 20:42:42 +00:00
Kae..pl 0094d37e0f Loading constraints for blender 2.49 fix (warning is now shown when blender version is 2.50 or higher).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 20:55:06 +00:00
Kae..pl 578c92affc Support for loading SpotLight.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 21:05:10 +00:00
Kae..pl cb3f57009f Bugfix: NPE was raised when the object had no material.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 20:58:39 +00:00
Kae..pl 87ba2fcb11 Fix to a bug that caused loader to crach when loading an object without textures.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 20:25:38 +00:00
Kae..pl ef430fe04a Support for 'Normal' texture mapping for 3D textures.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8094 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 18:50:06 +00:00
Kae..pl 17392d2cf8 Support for image sphere projection on a mesh.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8092 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 18:18:32 +00:00
Kae..pl 263089b68f Fix to tube UV coordinates generation (image will not be upside down now).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8089 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 17:06:47 +00:00
Kae..pl 9a44e32fb2 Image loading changed during textures loading (using AssetManager now).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-24 18:17:23 +00:00
Kae..pl b5e4914ac7 Additional locators added to locate blender resources.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8073 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-24 18:16:26 +00:00
Kae..pl ccb31e646b Small fix to musgrave texture generator.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-23 13:20:41 +00:00
Kae..pl 11b250ffe1 Support for texture's tube projection.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-22 21:10:52 +00:00
Kae..pl 3e1646a6cd Licence blocks added to texture generators.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-22 15:20:53 +00:00
Kae..pl 8f1e07a557 Moving projection calculations to a separate class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-21 22:12:47 +00:00
Kae..pl 843cce9b30 Cube mapping for textures support.
Providing proper texture mapping data to UVCoordinatesGenerator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-21 21:07:46 +00:00
Kae..pl 6c9395c4e9 Creating common setup for both types of loaders.
Fixing a bug with loading objects from all layers when using BlenderModelLoader.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 11:05:59 +00:00
Kae..pl daa86cfec7 Disabling loading all assets by default. Now unlinked assets or those being on inactive layers will not be loaded if they are not requested to.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 10:20:46 +00:00
Kae..pl d6574a8cc7 Importing generated textures as 3D textures.
UV coordinates generator added (will handle different UV coordinates generation methods in the future).
MaterialHelper refactoring.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-19 23:16:32 +00:00
Kae..pl ab26912f60 Adding changes pointed out by madlion.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-18 11:41:51 +00:00
Kae..pl 1f90dcb8ff Textures importing refactoring in blender loader.
Each generated texture has now its own generator class.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-04 21:39:35 +00:00
Kae..pl 83eff8fef0 Removing unnecessary packages.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 23:31:29 +00:00
Kae..pl 1e7b7860fe Large blender importer refactoring:
- bleder features separated between different packages
- refactoring of modifier system (each modifier now in a separate class)
- refactoring of constraints system (each constraint now in a separate class)
- no converter interface
- every helper supports versions 2.49 and 2.5+.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 23:28:21 +00:00
Kae..pl a6700cc754 Minro javadoc update.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 14:43:10 +00:00
Kae..pl 8de7a5755e Fix to mirror modifier loading (buffer bounds were exceeded in some cases).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 12:16:37 +00:00
Kae..pl fbd1cb837b Ignoring textures that are defined but disabled in material.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7944 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 09:33:35 +00:00
Kae..pl 733195c33c Fix with reading the proper buffer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 08:43:23 +00:00
Kae..pl 821dc08553 Automatic generation of UV-coordinates (not the best solution yet, but working on it ;) )
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-28 21:09:56 +00:00
Kae..pl c6aafbd0ef Bugfix: temp var was not released.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-28 19:21:03 +00:00
Kae..pl cc403160be Texture key for generated textures added.
Normalmap is only calculated when generated texture is an input.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7927 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-27 12:52:27 +00:00
Kae..pl 93530bc2d0 Fix to loading models with high number of vertices (greater than Shor.MAX_VALUE).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7923 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-26 11:41:10 +00:00
Kae..pl 04d3509c58 Improving image loading speed by using the BufferedInputStream.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7922 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-26 10:54:28 +00:00
Kae..pl f4d900bc43 Fix to narmal map loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7921 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-26 10:46:11 +00:00
Kae..pl 0de5fe39a3 Fix to loading normal maps.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 20:50:52 +00:00
Kae..pl 99746c72ec Several changes to constraints (but may not working well yet).
Fix to Y-up axis issue when parent was present bu not loaded (in different layer for example).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 12:56:21 +00:00
Kae..pl e911e3299e Changes to animations storing (not yet used in the selected blender file) and small refactoring.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7886 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-20 13:54:42 +00:00
Kae..pl 1e2e6f6a2d Fix to armature modifier loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7884 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-19 12:11:43 +00:00
Kae..pl a2b83be8bd Improvements to blender manual tester.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7882 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 19:56:39 +00:00