265 Commits

Author SHA1 Message Date
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
2012-06-17 22:34:54 +00:00
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
2012-06-14 14:06:43 +00:00
Kae..pl
624125aadc Added images types support in PixelIOFactory.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9466 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-10 21:51:15 +00:00
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
2012-06-09 15:04:43 +00:00
nor..67
ea0be5cf9f - fix imports across engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 13:10:26 +00:00
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
2012-05-26 19:12:20 +00:00
Kae..pl
a2b2a85cce Extending TexturePixel functionality.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9430 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-25 12:34:03 +00:00
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
2012-05-24 10:39:37 +00:00
Kae..pl
027d448b7d Added support for the following texture types import:
- Luminance8Alpha8
- Luminance16
- Luminance16Alpha16
- Luminance16F
- Luminance16FAlpha16A
- Luminance32F

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9413 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-23 08:48:05 +00:00
Kae..pl
e2652851c5 Issue 429: Blender loader doesn't specify that meshes are non-animated (fix)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9403 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 19:07:17 +00:00
Kae..pl
9e2f6b88ef Support for multilayered textures and textures with mipmaps.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9402 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 17:14:58 +00:00
Kae..pl
816b082c73 Adding UV coordinates to the model if they are defined for the mesh even if no material is applied.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9383 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-13 15:09:58 +00:00
Kae..pl
f8771f437e Fix to loading object animation for Blender 2.62+ (found by 'reactlogic').
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9382 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-13 14:49:50 +00:00
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
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
Sha..rd
79194f054c * License and formatting in GeneratedTextureKey
* TestJoystick now assigns input mappings for all joysticks instead of just the first one 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9307 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:43:24 +00:00
Sha..rd
1da836ea72 * Blender user properties no longer savable, as it is not allowed to have non-core data in j3o
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9299 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 19:28:01 +00:00
sky..ok
533fb86c50 Down to 260 Javadoc warnings from 324
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-22 00:22:09 +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
Sha..om
06f5ad5bce * Fix Blender 2.62 issue with uint64_t
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 14:05:59 +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
Sha..rd
3695f8f1fc * Blender loader now writes color as a normalized byte buffer, reduces mem usage by 4 times
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9015 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 05:15:53 +00:00
Sha..rd
3e6d649c48 * Fixed incorrect byte->float conversion when loading color buffer in Blender loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9014 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 05:10:06 +00:00
Sha..rd
8cca61b3ef * Fixed crash in blender loader when given textures without extension
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9013 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:49:34 +00:00
Sha..rd
3d54ab3378 * Blender loader will now extract vertex data into separate vertex buffers for meshes that use multiple materials instead of sharing them
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:48:28 +00:00
Sha..rd
03fb684b10 * Blender now supports loading color for shadeless materials
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:46:57 +00:00
sky..om
8e721f5c93 Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
sky..om
1801f1f336 Brought the number of Javadoc workings down to 391 from 410
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:59:16 +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
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
nor..67
f6ccfa79bb - fix non-UTF8 characters in bullet importer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8921 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-13 22:52:14 +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