2896 Commits

Author SHA1 Message Date
nor..67
2d1af0f1f8 SDK:
- Improve FakeApplication, integrate into main application
- Add separate execution thread for user code
- Add error handling for failing AppStates
- Add error handling for failing Controls
- AppStateExplorer now works when opening it after the scene

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-16 20:14:20 +00:00
nor..67
2c6e8cbb2a SDK:
- improve ProjectAssetManager classpath scanning and updating

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10078 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-16 18:42:22 +00:00
rem..om
e3236e20b4 BatchNode now updates its geometric state right after batching.
This is to avoid to wait for the next update for the generated mesh to be consistent with underlying geometries.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10077 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 23:08:53 +00:00
rem..om
c6d659684e BatchNode and physics : Reverted previous change and made the batchNode batch geom to ignore physics.
see post http://jmonkeyengine.org/forum/topic/batchnode-breaks-createmeshshape/page/2/#post-200684

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10076 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 23:05:28 +00:00
nor..67
2c9fe26913 SDK:
- persist window position of AppStateExplorer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10075 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 05:37:52 +00:00
nor..67
07de275681 SDK:
- rename "Optimize Geometry" -> "Batch Geometry"

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 05:36:36 +00:00
nor..67
00d74ff402 SDK:
- make build script fail if command line svn fails

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10073 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 02:23:51 +00:00
nor..67
9340764639 SDK:
- update AppStateExplorer window registration

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10072 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 00:38:20 +00:00
nor..67
7f83236526 SDK:
- commit name change

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10071 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 00:37:38 +00:00
rem..om
dada1c1d38 CollisionShapeFactory.createCompoundShape now exclude geometies the are batched in a BatchNode.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 22:28:59 +00:00
Kae..pl
601a34ba99 Fixed an error that caused NullPointerException to be raised if a curve had no taper object applied.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10069 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 16:39:57 +00:00
nor..67
7d82eb6ee0 SDK:
- Add mother of all SDK features: Custom AppStates :O

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10068 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 02:07:52 +00:00
nor..67
a6d62a1d16 SDK:
- small improvements to ProjectAssetManager and different way to find project sources

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 02:04:39 +00:00
Kae..pl
61ad771748 Bugfix: 538: Multiple issues with female3.blend
Yay finally found that one :D Models with multiple materials and armatures should now load withour mesh deformations :D

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-13 21:32:04 +00:00
bre..om
4bbbf7dbe8 changed terrain to use a ShortBuffer if the index count is less than 65535 so it can work on more android devices
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-13 16:21:52 +00:00
nor..67
4f02b407cf - remove usage of Box mesh constructor with position from BasicGame template
- deprecate Box mesh constructor with position and add cause to javadoc
- BOOYA

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-13 01:00:53 +00:00
rem..om
17b53db1aa Changed all NullPointerException in ShaderSource to IllegalArgumentException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-12 21:36:40 +00:00
Zer..om
ec95e50f85 Added three "always present" modes to the list of windows resolutions so that these 3 options are always there no matter what the monitor natively supports. (Unless the minimum is set to higher than them of course).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-09 14:41:19 +00:00
iwg..ic
e21f22e6dc Fixed issue with handling Multi-Touch not tracking MOVE for second finger when first finger is lifted. Thanks to kumasao.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10061 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-08 17:45:31 +00:00
iwg..ic
ab5282fb2d Additional fix for http://code.google.com/p/jmonkeyengine/issues/detail?id=504.
Fixes displaying leftover characters in BitmapText when setting the text to a smaller string and a weird situation where the scene would stop rendering do to improper buffer limit.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-08 17:10:32 +00:00
rem..om
609d51dbfd Further fix and cleanup to SSAO for glsl < 1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-08 17:02:33 +00:00
nor..67
21e5244c0a Fixed ssao filter for opengl < 1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-08 16:52:41 +00:00
rem..om
9a6fe1fdf5 Fix to previous commit to OGLESShaderRenderer. Accidently committed unrelated and non working changes to the renderer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-07 19:41:01 +00:00
jul..om
35697b036e Temporarily fixes some things with JARs (for Java and native libraries used by JogAmp) in order to allow some people to run the demos easily
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10056 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-06 13:31:59 +00:00
rem..om
68e0e835f5 Ogles renderer now correctly supports Verctor4 uniforms
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-06 11:20:59 +00:00
rem..om
39d0939879 MotionEvent upVector is now defaulted to Y axis
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-04 18:04:23 +00:00
nor..67
5d9b67214a - add some javadoc to HingeJoint setLimit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-04 13:03:16 +00:00
rem..om
a9eec4c1b2 Jaime model, and test case
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-01 11:04:33 +00:00
rem..om
3f815a0c70 Made the "Continue" buttont he default button of the new setting dialog box
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-01 09:39:06 +00:00
Zer..om
2f886846c8 Updated SettingsDialog with an improved layout (including labels for the options), i18n via a resource bundle, and a more sensible list of windowed mode screen resolutions. You can also now specify a minimum width and height in the app settings and it will not let you select a mode smaller than that.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-29 22:12:15 +00:00
PSp..om
4c2579d0bf Added a getter for the state manager's Application.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-29 18:18:40 +00:00
iwg..ic
044d81f7e8 Add calls to loseFocus and gainFocus when activity pauses and resumes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-28 04:47:50 +00:00
iwg..ic
1df4fe8346 Attempt to clean up some references to help with out of memory issues on second start of app on Android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-28 04:27:10 +00:00
Sha..om
5a90cd7082 * Fixed issue where OBJ loader would fail to parse faces correctly if they had more than 1 space in them
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-28 03:07:25 +00:00
rem..om
7722b7b09d Cinematic, added an enqueueEvent method that allow to stack events without knowing their duration.
added support for blending animations transitions in AnimationEvent, added support for having several channels in AnimationEvent.
added javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-27 12:38:28 +00:00
rem..om
3c84826db1 Shadows,fixed an issue when PolyOffset was not properly applied on lighting material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-24 10:14:34 +00:00
rem..om
01bf1ca843 Fixed 2 issues with shadows :
- Looks like Poly offset behave defferently between ATI and NVIDIA i added a bit of offset to avoid shadow acne for NVIDIA
- Added a flag needCompareModeUpdate in the Texture class to avoid setting it on every frame in the renderer. I changed Lwjgl and Jogl renderer accordingly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-23 13:55:17 +00:00
rem..om
7e43015f3c Removed cos2,sin2 and reduceAngle from FastMath as they were unused and confusing, and somehow buggy.
See forum post
http://jmonkeyengine.org/forum/topic/patch-remove-fastmath-sin2cos2/#post-198276

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-23 08:58:19 +00:00
rem..om
8a4b204154 fixed issue 461
http://code.google.com/p/jmonkeyengine/issues/detail?id=461&can=5&q=label%3AProduct-jME3&sort=priority&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

BatchNode now use an instanceof Geometry statement to know if the spatial can be batched. It Then check the BatchHint on this spatial.
ParticleEmitter, BitmapTextPage and TerrainPatch extends Geometry and should not be batched so their batchHint has been defaulted to Never.
Image also extend Geomety but it may be useful to batch images.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 15:20:26 +00:00
rem..om
a330f83a2d fixed issue 418
http://code.google.com/p/jmonkeyengine/issues/detail?id=418&q=label%3AProduct-jME3&sort=priority&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 15:02:40 +00:00
rem..om
4ad164f278 fixed issue 529
http://code.google.com/p/jmonkeyengine/issues/detail?id=529&q=label%3AProduct-jME3&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 14:55:00 +00:00
nor..67
9d88420dd3 - Quaternion javadoc fix, thanks to @marcodezeeuw
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-19 14:29:14 +00:00
rem..om
c86c692ae9 Applied Javadoc patch for ColorRGBA thanks to jonathan.pikalek
http://code.google.com/p/jmonkeyengine/issues/detail?id=557&can=6&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 16:46:21 +00:00
rem..om
7e79145d70 Removed remaining system.out in AwtKeyInput thaks to @JesperSmith
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 16:36:05 +00:00
nor..67
53807571a6 - Quaternion javadoc fix, thanks to @JesperSmith
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 16:29:00 +00:00
PSp..om
fbb0bcff37 Added an accessor for accessing the current GeometryComparator
for a bucket.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10033 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 05:43:09 +00:00
PSp..om
8ce28cbc04 Added an accessor for getting the list's comparator.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 05:42:42 +00:00
PSp..om
6ec55f097f Removing the accidental method addition (simulateEvent)
that tagged along for the ride when I added the joystick
enhancements.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10031 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 05:42:22 +00:00
rem..om
157fb96141 DirectionalLight shadows now work properly when the view cam is in parallel projection
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-15 12:27:26 +00:00
rem..om
2a4a4ac0ef Fixed an issue with FadeFiltter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-14 22:25:31 +00:00