2389 Commits

Author SHA1 Message Date
rem..om
9349bd97c6 MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-16 15:06:47 +00:00
Sha..rd
c373f70d01 * Fixed issue where a model loaded from J3O would crash on render (thanks ghoust)
* Uniform.toString() now handles the case where name = null

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-15 02:27:08 +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
Sha..rd
8cf238a262 * Fix crash when loading animated OgreXML model exported from blender2ogre 0.5.7
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:53:20 +00:00
Sha..rd
5730bf67d8 * Removed useless code / formatted DefineList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:52:35 +00:00
Sha..rd
b007fd672a * Added IndexBuffer.wrapIndexBuffer() for wrapping any buffer (convenience method)
* All index buffers now rewind the buffer before allowing any read/write ops

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:52:04 +00:00
Sha..rd
fd03d28d81 * Added AssetKey.clone()
* WeakRefCloneAssetCache will attempt to collect GCd assets more often by not relying WeakHashMap to do so

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:25:21 +00:00
Sha..rd
7b9b9905ef * Removed workarounds for setting material parameter with m_ prefix. From now on it will only be supported when loading really old J3O files.
* Small optimization: if technique is already loaded, define list will not be reconstructed on define change

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:21:50 +00:00
Sha..rd
fbf29530f3 * Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:18:04 +00:00
Sha..rd
37aa17302f * Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-14 00:17:03 +00:00
nor..67
613d519544 SDK:
- remove useless synchonized statements from physics

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-13 20:55:07 +00:00
dan..om
a6033d0193 - Added TestCursor + 3 types of cursors for user testing.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-12 02:09:19 +00:00
dan..om
0ade9ab80f - Removed a comment on a line that wasn't to be commented...
- Fixed import problem when RIFF header didn't have height/width (when it should). The loader will now use the first image's width/height. Since all images in an animation are supposed to be the same size this should not be a problem.
- Fixed import when an .ICO file contains more than one image (as it in in the case of "windows theme" files). The loader will default to a 32x32 icon in that list.
- Formatting.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9485 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-12 01:29:35 +00:00
dan..om
5ac9953f62 Implemented the ability to change the mouse cursor.
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").

NOTE: Supported formats are  "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 21:18:52 +00:00
nor..67
4e419a854c SDK:
- add ogre skeleton files as recognized assets

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 18:07:30 +00:00
nor..67
caba5c80c1 SDK:
ModelImportTool
- fix removing texture data after import

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 17:51:19 +00:00
nor..67
27da3a106b SDK:
ModelImportTool
- fix relative path creation by using correct ProjectAssetManager

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 17:49:23 +00:00
nor..67
77b827ce6b SDK:
ModelImportTool
- uses FileObject list of assets instead of AssetKeys
- uses more robust copying
- supports binary ogre files (in theory)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 17:27:57 +00:00
nor..67
740a6fcf9a SDK:
- enable asset list for binary ogre files

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 17:26:23 +00:00
nor..67
49f6e62048 SDK:
- avoid backslashes in Codeless Project wizard

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 15:44:06 +00:00
nor..67
b7b06266ed SDK:
- add main model file to failed list when import failed in ModelImportTool... at the right place

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 02:01:14 +00:00
nor..67
43eca4f47d SDK:
- add main model file to failed list when import failed in ModelImportTool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:54:58 +00:00
nor..67
2f149ec2a5 SDK:
- avoid duplicate fail entries in AssetDataObject

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:49:08 +00:00
nor..67
4df4fa8ed9 SDK:
- update ModelImportTool AssetKey property display on each load

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:33:42 +00:00
nor..67
e5f8a05055 SDK:
- move ModelImportTool info text to bundle file instead hardcoding it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9473 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:29:04 +00:00
nor..67
00641863cf SDK:
- clear asset list data after failed import in ModelImportTool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:12:18 +00:00
nor..67
7260603652 SDK:
- change editability and colors of ModelImportTool text areas

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 01:08:49 +00:00
nor..67
1f4e666955 SDK:
- improved ModelImporter with failed assets list, better workflow and lots of information and help based on import results

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 00:39:50 +00:00
nor..67
d54451f334 SDK:
- avoid duplicates in AssetDataObject asset list 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9469 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 00:37:08 +00:00
nor..67
3594e90e66 SDK:
- fix creation of unnecessary +Name.material file on ogre import

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 00:00:30 +00:00
nor..67
0da5c9636f SDK:
- make F1 help work in main SDK android panel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9467 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-10 23:36:41 +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
nor..67
5094fe2b95 SDK:
- update ant-jme project to contain its needed libraries

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-10 20:12:54 +00:00
nor..67
c9a929379a SDK:
- add jme3-libraries-blender to Tests project

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9464 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-09 18:29:52 +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
rem..om
b97f8c1271 BatchNode : fixed an issue when a geometry was not unbatched when removed with sometihing else than removeFromParent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-08 20:22:36 +00:00
bre..ns
233627de72 updated SDK manipulation to escape a transformation when right-click
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 23:34:14 +00:00
bre..ns
0b7a92cc38 some fixes to the SDK manipulation tool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9460 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 23:21:28 +00:00
rem..om
855676173a Re fixed material contentEquals crash when technique is null...but better
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 22:04:50 +00:00
rem..om
3e35e32b2d Fixed material contentEquals crash when technique is null.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 21:59:31 +00:00
PSp..om
476120616c Modified the Serializer registration of DisconnectMessage
and ClientRegistrationMessage so that they have fixed IDs
and registration-independent implementations.  This means
that no matter how much the internal auto-registration list
changes that a game can still manage the protocol version
in a graceful way.
Prior to this change, removal of a class registration from
Serializers auto-registered list meant that a client->server
version mismatch was impossible to detect and handle gracefully.

Also, now that it was safe to do so, I removed the auto
registration of some odd Java beans classes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-06 05:31:16 +00:00
PSp..om
516e3065dc Moved the string read/write to static methods to
make it easier to reuse in classes that want to
read/write strings the same way without using
Serializer directly.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9456 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-06 04:52:58 +00:00
PSp..om
819407cf79 Starting to reorganize serializer a bit to later add
some features that will make it slightly less fragile.
The code that registers a serializer for an ID has
been centralized.
A method was added to hand out new IDs and it now
skips IDs that are already in use.  This will allow
certain serializers to be fixed against specific IDs
to maintain backwards and forwards compatability even
as the automatically registered list of serializers
changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-06 03:26:26 +00:00
bre..ns
c74a54db35 small fix to rotate option in blender-manipulation tool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9453 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-04 16:10:52 +00:00
bre..ns
f96e0d771e added Blender-esque manipulation tool to scene composer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9452 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-04 04:55:58 +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
nor..67
83f56bda4e - add updated osx bullet natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9450 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 01:28:52 +00:00
nor..67
a1dd0f9061 - fix bullet ghost overlap, thanks to @iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9449 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 01:08:10 +00:00
nor..67
3450b171c2 - change TestSweepTest to apply the location to the spatial before adding the physics control to avoid having the obstacle at 0/0/0 in the first frame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-02 22:40:43 +00:00
Sha..rd
1ef93999a3 * Fix issue 391
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 22:37:02 +00:00