sky..ok
751cb9e20a
Javadoc cleanup
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
a0d0b0922f
* ArmatureModifier now sets 0.0 weight if the vertex should not be influenced by any bones. This fixes "disappearing" object issues in animated models.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
46fb4c43b4
* Fix UTF8 error in ConstraintDefinition
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9722 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Kae..pl
fa426feb08
Wrapping cameras into CameraNode.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..om
78bbe9b251
* Fix issue where blender animation importer was truncating the animation duration to an integer (thanks rectalogic)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9626 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Kae..pl
fde6b4a447
Fixes to normals loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
0e24cf969b
Bugfix for textures loading: when one texture had several mappings it might not have appeared on the scene at all.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a85db87169
Support for BMesh loading. Enjoy :)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
691ebcb53d
Fixes to vertex color buffer applying. This functionality is also moved from MEshHelper to MeshBuilder.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
332fe4d3ac
Fixing bugs with applying UV maps.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
440217fbd2
Fixing a bug that raised an exception when bone animation was attached directly to the object for Blender 2.49.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
1c429f0eb2
Fix to logging (thanks to rectalogic for finding it out :).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
d63683d240
Issue 466: Blender loader duplicates vertices
...
Done. Hope it does not break anything ... too much :)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
e8762bcf9d
Fix to 3D texture triangulation procedure that might have caused an image of width or height == 0 to be produced (which caused later errors during textures merging).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
624125aadc
Added images types support in PixelIOFactory.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
84404cfb5f
Fix for animations tracks loading. If rotations were not set up by user then the model might have been disappearing because of (0, 0, 0, 0) rotation quaternion. (0, 0, 0, 1) quaternion is set in that case.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9463 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
dc646e048e
Fixes to luminance textures IO operations.
...
Added support for IO operations for RGB images (all except RGB10 and RGB9E5 formats).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9431 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
a2b2a85cce
Extending TexturePixel functionality.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9430 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
7ff1261d79
Adding uncommited methods (sorry for breaking the build).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9417 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago