2635 Commits

Author SHA1 Message Date
iwg..ic
5a71423624 Fix issue with BEST config not choosing a valid config on some devices when RGBA is not matched (ie no config exists with 0bit alpha). ConfigChooser now looks for an exact match of all attributes first, then a match of RGBA only, then uses the first available config.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9715 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-11 01:07:25 +00:00
iwg..ic
3aa223360a Add check for no Vibration Service on Device
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9714 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-11 00:52:49 +00:00
Sha..rd
07a6ca931f * Fix "particlesPerSecond set to 0 accumulates timeDiff" issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-10 23:18:40 +00:00
Sha..rd
6aefda2e38 * BatchNode / GeometryBatchFactory now batch animated models correctly. Note that any control(s) are removed during the batching process, and must be re-added after batching for animation to work.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-10 23:09:52 +00:00
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
2012-09-10 21:51:26 +00:00
Sha..rd
2a11aae3a4 * ImageRaster now supports Android. However the constructor can no longer be used. Instead user should create it by using ImageRaster.create() which automatically defers the handling to JmeSystem.
* TestImageRaster tests both reading and writing from various types of formats now by chaining the image conversions
 * 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-09 23:39:45 +00:00
iwg..ic
5aca23f9b3 Changed Android Joystick Rumble to pulses. Rumble amount is used to determine length of vibration pulse. Vibration now stays on (pulsing based on rumble amount) until user sets joystick.rumble(0).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9709 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-08 20:56:29 +00:00
iwg..ic
f219c8596d Added Rumble support for Android. If joystick.rumble is used, then the Manifest file must have <uses-permission android:name="android.permission.VIBRATE"/>. Since Android doesn't allow for changing the vibration intensity, the rumble amount is convert into a vibration time duration in milliseconds (ie rumble amount of 0.25 = 250 milliseconds).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9708 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-08 14:23:51 +00:00
Sha..rd
6cddcf8f1d * Fix crash in TestWalkingChar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:52:32 +00:00
Sha..rd
3c4405868a * Fix incorrect bounding box calculation when points are not centered on origin
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-06 03:51:46 +00:00
Sha..om
be1aa87f55 * Fixed issue 518 .. again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 22:02:27 +00:00
Sha..om
c8b3ae7f64 * Fix issue 518
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9704 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 21:58:12 +00:00
ShA..Rd
9ad757596b * Fixed issue where using images with pregenerated mips would cause performance loss due to them being generated again and again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9703 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 21:26:05 +00:00
ShA..Rd
96c4b31e0f * Partial fix for issue 532 and issue 533
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9702 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-05 20:39:14 +00:00
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
2012-09-03 15:17:01 +00:00
iwg..om
39f265f50e Adding Android Sensor support as simulated joysticks. Only orientation is supported right now, more sensor types to be added later. When device orientation changes, Joystick[0] is updated just like using an actual joystick. Users need to add "joystickEventsEnabled = true" to the MainActivity to enable the orientation joystick so battery life is conserved if sensor data is not desired. See http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for the long history.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 21:10:41 +00:00
Kae..pl
fa426feb08 Wrapping cameras into CameraNode.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9699 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 14:12:13 +00:00
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
2012-09-01 14:03:21 +00:00
rem..om
e253546982 ChaseCamera : added a hideCursorOnRotate flag to the chaseCam to prevent interfering with nifty.
See forum post
http://jmonkeyengine.org/groups/gui/forum/topic/nifty-window-not-accepting-input-after-clicking-into-the-scene/?topic_page=3&num=15#post-189063

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9697 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 08:36:17 +00:00
rem..om
5c9afd9d59 LightNode now properly works with SpotLight
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-31 19:20:09 +00:00
nor..67
23e949974a - change default error message of engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9695 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-29 15:58:18 +00:00
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
2012-08-28 18:34:49 +00:00
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
2012-08-28 13:46:16 +00:00
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
2012-08-28 11:56:14 +00:00
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
2012-08-28 10:10:42 +00:00
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
2012-08-28 10:06:22 +00:00
PSp..om
c6bc0bf79b Added a null listener check just to help track down
odd errors.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-26 17:42:36 +00:00
nor..67
e154d0ebab - change fix for Android SDK 20 build file flaw
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9688 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-26 12:54:35 +00:00
nor..67
1c1afd5712 - add fix for Android SDK 20 build file flaw
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9687 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-26 12:13:08 +00:00
nor..67
a98fbb83b6 - change natives extraction to support audio FX on osx (for extracting openal.dylib for soft fx)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9686 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-25 11:12:45 +00:00
nor..67
639449db4d - update lwjgl to 2.8.4 (applet and desktop)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9685 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-25 11:07:17 +00:00
nor..67
96b60664a9 - add Filter support to AssetManager (thanks to @rectalogic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9684 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-24 18:17:18 +00:00
bre..ns
cf103e191d axis-aligned terrain tool snapping support, thanks @shirkit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9683 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-24 17:04:41 +00:00
bre..ns
2cf1455867 removed the leftovers of the terrain editor border tool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9682 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-24 04:13:02 +00:00
bre..ns
0fe8394916 terrain tool changes and improvements, thanks @Shirkit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9681 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-23 16:05:38 +00:00
dan..om
133bd21ab9 - Fixed bug where if you set minDistance that is higher than the current distance, the camera view would still remain at the old distance.
- Same as above but for maxDistance.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-23 06:20:15 +00:00
nor..67
c842eefb90 - add serialization to DepthOfFieldFilter (thanks to @rectalogic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9679 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-22 21:06:16 +00:00
nor..67
abfc4d6c45 - add some javadoc to PhysicsRayTestResult
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9678 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-22 20:24:02 +00:00
nor..67
64cadc1284 - remove deprecated methods from RagDollControl
- make PhysicsBoneLink accessible as its the userObject of the collision objects which is accessible for the user elsewhere and has to be dealt with in collision callbacks

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9677 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-22 20:18:14 +00:00
nor..67
893c2b940b - fix typo in RagDollControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9676 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-22 20:10:45 +00:00
nor..67
5ab8b477ed - update bullet binaries from latest nightly
- add latest version of macosx bullet binary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9675 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-21 15:40:47 +00:00
bre..ns
05f5473505 cleaned up some terrain code and deprecated a few constructors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9674 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-21 15:40:26 +00:00
nor..67
16b1afabec - update bullet build for bullet 2.80 and OSX 10.7 / XCode 4.4+
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9673 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-21 15:39:34 +00:00
nor..67
e089be20f8 - remove bullet binary from build for now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9672 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-21 15:08:34 +00:00
rem..om
e0dac249a4 SDK : One can now add and edit user data of a custom data type. The custom type must be a Savable with get and set accessors for every attribute and propper read an write method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-20 21:02:30 +00:00
rem..om
206a6b74f3 UserData : setUserData(someKey,null) now properly removes the user data from the map.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9670 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-19 21:56:06 +00:00
rem..om
a04d5dde01 BufferUtils : Apply changes made by Empire Phenix to properly track direct memory. This feature is defaulted to off.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-17 14:36:59 +00:00
rem..om
fc3a4a4471 SDK : Added a way to change the ParticleInfluencer on an emitter in the SDK
- Property of influencers are created through reflection
- One can even add an home brewed influencer.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:06:23 +00:00
rem..om
29045cada4 SDK : Fixed an issue in AudioTrackProperty where the value was not properly set
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9667 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:04:09 +00:00
rem..om
966ff8d857 SDK : removed some forgotten system.out from JmeGeometry
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9666 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:03:21 +00:00