Commit Graph
67 Commits
Author SHA1 Message Date
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
Kae..pl a67dbf9977 Moving loading object animation modifier to ModifierHelper class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7852 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 14:47:32 +00:00
Kae..pl 1403574835 Fix to properties storing (bad casting removed).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 19:40:40 +00:00
Kae..pl 491b0f8bce Fix to loading properties. They are now assigned to Spatial and not only to Geometry.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 18:29:11 +00:00
Kae..pl ccf1242112 A method to find property in subproperties added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7749 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-26 19:39:47 +00:00
Kae..pl 7ea8687e4a Textures test asset updated.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7733 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-25 22:10:23 +00:00
Kae..pl 3f352ea5de Storing texture path as its name.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-25 21:19:08 +00:00
Kae..pl 41cde21260 Fix to applying Y-up axis to rotated objects.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7704 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 17:16:18 +00:00
Kae..pl c67ab5bb8d NPE bugfix (properties are only applied for Geometries).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 16:43:53 +00:00
Kae..pl bb474ecbd2 Returning to the previous way of uv-mapping reading (the new one apparently caused troubles).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7702 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 16:32:35 +00:00
Kae..pl 82a718e413 Adding additional comments.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7701 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 16:12:33 +00:00
Kae..pl 1704f839b7 Update of testing asset.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 15:46:25 +00:00
Kae..pl aaeb948b9d Fix to object positioning when Y axis is set to be UP axis.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 14:10:03 +00:00
Kae..pl 491c164bd3 Using BoneAnimation cloning rather that internal method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7698 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 14:09:15 +00:00
Kae..pl f1c1bc70e9 Fix to constraint's influence loading (if IPO of the influence was not present then NPE was raised).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7697 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 14:07:02 +00:00
Kae..pl c30288febf Fix to texture loading: catching asset's manager AssetNotFoundException.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7690 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 18:06:11 +00:00
Kae..pl 38eb3de309 Clone method added to BoneAnimation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7688 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 17:18:52 +00:00
Kae..pl 4a9f7ab979 Implementation of shrinkwrap constraint (+ several bugfixes and updated test asset file).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7686 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 22:46:36 +00:00
Kae..pl 697a02e7c5 Support for object animation constraints loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7684 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 19:00:26 +00:00
Kae..pl 542559738d Bugfix: constructor with 'scales' argument did not store it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7683 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 18:57:27 +00:00
Kae..pl 48bfcaac18 Synchronization added during constraints functions initialization.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7682 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 13:16:47 +00:00
Kae..pl 52b40e7ae5 Refactoring. Moving Properties class to structures package.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7681 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 12:58:20 +00:00
Kae..pl e0188e7a13 Support for 'Fit curve' mode in array modifier added.
(also several small fixes to array modifier added)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-20 22:56:25 +00:00
Kae..pl 88584ea76c Full support for loading mirror modifier added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7678 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-20 09:21:56 +00:00
Kae..pl 16c60c7cde 'isNotNull' method added to pointer (so that the code reading is more clear).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7676 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 22:57:53 +00:00
Kae..pl fd2184784c Support for loading custom properties added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7675 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 22:50:12 +00:00
Kae..pl 7d7e6062ee Improvements to mirror modifier (90% complete).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7637 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-15 20:28:42 +00:00
Kae..pl 15e099e160 Fix to texture UV-mapping (textures did not exactly fit the ones in blender).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7635 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-15 20:04:52 +00:00
Kae..pl 07a2a44f7f Fix to setting initial velocity by DefaultParticleInfluencer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-15 12:05:53 +00:00
Kae..pl e90d01d6e2 Support for loading mirror modifier (75% complete).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 21:12:34 +00:00
Kae..pl e173bfb441 Textures test asset update.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 17:55:41 +00:00
Kae..pl 5dc1a29f6e Fix to setting the normal texture if vertex coloring is enabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 17:47:24 +00:00
Kae..pl 068b6a9943 Input stream closing in blender input stream.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7602 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 23:02:02 +00:00
Kae..pl f914018dc5 Small fix to name fetching from structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7601 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 23:01:19 +00:00
Kae..pl e6532fc7ed Implementation changes in texture blending methods.
Prepared for more texture types support (and should be more readable for developers now :) ).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 22:56:38 +00:00
Kae..pl 19ad025877 Moving emitter shapes to a separate package.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 17:03:29 +00:00
Kae..pl c4270ad91f Javadocs added and removed unused methods.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7566 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 16:25:04 +00:00
Kae..pl c6be5633ce Support for Newtonian Physics in particles importing.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 16:21:08 +00:00
Kae..pl 49116be02d Changes to particles system:
1. Improvement in cooperation with mesh-shaped emitters.
2. Added particle influencers that calculate initial velocity.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7564 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 16:16:23 +00:00
Kae..pl 9a74373da3 Support for BGR8 and RGBA8 texture formats added (credits to madlion for finding that :) ).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7562 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-09 05:55:50 +00:00
Kae..pl 3806ab1fe6 Support to loading specified layers of the scene added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 20:30:44 +00:00
Kae..pl c50055645f Initial import of blender loader test classes and assets.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 18:53:46 +00:00
Kae..pl b6d7b78a70 Added shape emitters that uste the meshes' shapes to emit particles (used by Blender Loader).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7511 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-19 20:30:08 +00:00
Kae..pl a343fef6ea Fix to bezier curve length computation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 11:41:50 +00:00
Kae..pl b17d5d3706 Bugfix: missing break might have caused problems with curves interpolations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:32:09 +00:00
Kae..pl 46785739a4 Small fixes and support for closed NURBS surfaces.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:08:06 +00:00
Kae..pl a9a7d2d4de Basic support for NURBS curves and surfaces added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7089 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 20:03:17 +00:00
Kae..pl 7aae9615ca Calculation of Bezier curve's length added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 13:07:55 +00:00
Kae..pl ff5db41a0e A method that returns the length added to curve.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:45:00 +00:00
Kae..pl 4c1fd5ddbf The light's name added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:44:33 +00:00