2125 Commits

Author SHA1 Message Date
rem..om
cb06858534 EffectTrack : fixed serialization issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 20:54:17 +00:00
sky..ok
fa841874c6 Add missing licenses in Core, Core-Effects, Core-Plugins, and Desktop code groups
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 19:28:55 +00:00
sky..ok
01f1c8ff27 Replace NetBeans file templates with jME licenses
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:22:45 +00:00
sky..ok
28ce76245f Change all source licenses to say 2009-2012
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:01:57 +00:00
sky..ok
751cb9e20a Javadoc cleanup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 16:44:26 +00:00
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
2012-10-05 15:36:53 +00:00
nor..67
4ca72499eb - update android bullet natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 04:35:43 +00:00
nor..67
c5933f0c84 - fix android native bullet build with bullet 2.80
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 04:31:12 +00:00
nor..67
c328f5ab9a - more effective null check for TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9822 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 03:26:22 +00:00
nor..67
2f7f270d6f - add null check to TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 03:17:13 +00:00
rem..om
d82953b7b8 test PSSM: set the light dirrection to a non failing value until the issue is fixed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 16:07:59 +00:00
nor..67
b9717e2faf SDK:
- update to RC2 state / NetBeans 7.2
- breaks nightly builds for beta

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9799 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 15:45:58 +00:00
nor..67
3fadc2242f SDK:
- update to RC2 state / NetBeans 7.2
- breaks nightly builds for beta

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9798 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 15:45:52 +00:00
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
2012-10-02 13:35:30 +00:00
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
2012-10-02 10:15:48 +00:00
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
2012-10-02 10:15:11 +00:00
rem..om
281d38d609 RenderManager : Changed renderScene to reset the camera plane state to 0 (the first node to render is not always a root, it can be a sub part of the scene graph) and call renderSubScene.
Created a private method renderSubScene that recursively renders the scene graph.
This fixes culling issues with the reflection/redraction processors for the water effects se this post
http://jmonkeyengine.org/groups/graphics/forum/topic/possibly-bug-simplewater-postprocessor-renders-entire-scene-no-frustrum-of-objects/?#post-192561

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9790 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-01 22:29:40 +00:00
iwg..ic
3afb803c68 Added check for sensor data accuracy to ignore data when sensor accuracy is unreliable.
Fixed error in log entry when sensor accuracy changes
Added log entry on calibration of axis

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9789 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-01 13:58:15 +00:00
bre..om
77a1ec09f8 moved terrainGrid normal recalculations out of the tile loading loop to run after all tiles have loaded
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9788 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-30 23:41:57 +00:00
rem..om
cbafa1852b Shadows : There is now an alternative to the PssmRenderer : the PssmFilter that has to be used as any other filter. It does the same ass the PssmRenderer except the post shadow pass is done in screen space making it run very faster on scene that have a lot of shadow recieving Geometries.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-29 09:38:53 +00:00
PSp..om
f0d4f86dd8 Updates to use logical ID mapping instead of names.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9785 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 22:26:25 +00:00
PSp..om
52b08cd0da Updated to work with logical ID instead of name.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9784 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 21:34:42 +00:00
PSp..om
d9dd8603b8 Remap logical ID instead of name since it is now
logical ID that is used for look-ups and it is
not locale specific.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 21:33:52 +00:00
PSp..om
9b763443fa Modified the string-based look-ups to use logical
ID instead of name.  The names may be localized for
the local language.... Bouton 0 instead of Button 0, etc.
I also changed the compatible layer and the one default
mapping to use logical IDs now.
Added a few constants to JoystickButton just to make
things easier for the standard buttons 0-11.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9782 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 21:33:16 +00:00
iwg..ic
56bf97a7e2 Update Android Sensors to be compatible with the new Joystick interface. http://code.google.com/p/jmonkeyengine/source/detail?r=9763 http://code.google.com/p/jmonkeyengine/source/detail?r=9762
Only Orientation is supported currently

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-27 01:59:19 +00:00
PSp..om
810164da46 Added a method for directly poking keyboard events
into Nifty's queue.  This is nice for hooking up
things like joysticks to the cursor keys to navigate
nifty menus/screens.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-26 06:25:06 +00:00
PSp..om
33968b4c39 Added code to reset the actions of opposite joystick
axes during analog processing.  Actions were always
invoked for the active axis direction but if the
stick flipped to fast across the middle then the
reverse axis' actions were still "pressed" and would
get stuck.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9779 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-26 06:05:24 +00:00
bre..om
211b63be84 Line shape now rewinds the buffer before data is set in updatePoints()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-26 00:19:08 +00:00
rem..om
0e733ff100 Filter postQueue method now takes a RenderQueue as parameter like SceneProcessor instead of the RenderManager and ViewPort.
Filters that were using those attributes now properly keep a reference on them in the filterInit method.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 20:47:57 +00:00
bre..om
7f740a0cd4 TerrainGrid executor now prints out any exceptions from the threads
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9776 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 18:51:54 +00:00
PSp..om
c3549f42f6 Fixed a bug in how POV.DOWN_RIGHT was reported...
it was actually sending events as if it was UP_LEFT.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9775 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 06:33:26 +00:00
PSp..om
4b4ae178e5 Added a basic way to have default remappings of
joysticks that properly report their name.  It's
a simple system using properties files on the
classpath.  A core file has been added with at
least one known remapping.
Buttons and axes can be renamed but they can't
yet be flipped.  If needed that can be added
later.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9774 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 06:31:25 +00:00
PSp..om
67750ff7a5 Added a dump of the buttons.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9773 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 04:41:34 +00:00
bre..om
c4574bff13 fixed an issue with TerrainGrid not having a large enough cache of tiles. Properly hooked in the tileDetached event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9772 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 04:32:25 +00:00
Sha..rd
8efd28da76 * Some optimizations for defines and shader key. Computing "compiled" define list isn't necessary to execute a lookup against asset manager. Allows faster changes in defines.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9771 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:09:39 +00:00
Sha..rd
1a12437436 * Remove unneeded printlns in AudioNode and HDRRenderer
* Poly offset will become disabled if factor and units are set to 0.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 02:04:33 +00:00
PSp..om
86a3b0532c Save and restore the color in the nifty-optimization
method: render(RenderManager rm, ColorRGBA color)
So that it doesn't clobber other BitmapText that just
happens to be using the font.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9769 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 18:06:00 +00:00
rem..om
d980519674 Re-introduced alphaDiscardThreshold in lighting frag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9768 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 16:40:03 +00:00
Sha..om
d329e243fa * dotScene loader: prevent issue when dotScene file is missing an externals section.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:49:22 +00:00
Sha..om
0995dcf9b6 * Change shadow direction to demonstrate bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9766 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 15:02:48 +00:00
PSp..om
a7717d9ea2 Reverting the changes made in r9389
http://code.google.com/p/jmonkeyengine/source/detail?spec=svn9389&r=9389
That caused the StringBlock to be recreated every
time the text was set to "".  Doing this blew away
90% of BitmapText's internal state causing subsequent
text to be the wrong size, misaligned, etc.
The original reason for the change needs to be revisited.
Big comment left in code with the original change commented
out.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9765 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 05:54:08 +00:00
rem..om
e0df200dfd Properly update the Height map and normal map to the water filter material when setting those textures to the filter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9764 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 18:38:36 +00:00
PSp..om
bd2695061d Updates to build with latest joystick changes.
This breaks joysticks on android until they can be
ported to the "new way"... but at least it should build.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 09:01:02 +00:00
PSp..om
2970ff46b3 Updated the joystick test to allow better testing
of joysticks and gamepads.  It now presents a gamepad
on the screen that updates itself whenever any connected
joystick or gamepad are used.  This allows the tester
to compare the actual controller layout to the "default"
controller layout.
Information about the active joystick's available axes
and buttons is also rendered to the display.
A dump of all controllers and their components is written
to joysticks-###.txt file.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9762 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 04:18:49 +00:00
PSp..om
6db4dde5e8 Changes to support new joystick refactoring.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9761 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 04:16:15 +00:00
PSp..om
81837959b1 A refactoring of the joystick class to provide more
information about buttons and axes and allow slightly
easier hook-up of stanard triggers.
The events have also been expanded to include the
actual JoystickAxis and JoystickButton objects.
Changes to the JInput joystick support coming next
commit.  Android joystick stuff was modified to compile
but is totally broken with this change until the code
can be properly updated.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9760 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 04:15:45 +00:00
iwg..ic
8daa039ecc Add methods to control FlyByCamera zooming speed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9759 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-22 04:08:55 +00:00
iwg..ic
47cb989c63 Added mapping of Android Scale Gesture (ie PinchZoom) to mouse wheel. If mouseEventsEnabled is set, mouse wheel reacts to the gesture.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9758 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-22 03:44:17 +00:00
rem..om
bdb715e527 Shadows : attempt two to fix them on mac.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9757 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-21 20:26:08 +00:00
rem..om
c31c7a406b BatchNode : fixed bounding issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 18:01:41 +00:00