2251 Commits

Author SHA1 Message Date
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
bre..om
fdf238cc08 moved player location in HelloTerrainCollision. Set a backwards compatibility scale for ImageBasedHeightmap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-14 15:37:21 +00:00
bre..om
c6fe6a2064 Changed ImageBasedHeightMap to use ImageRaster.create() instead of JmeSystem
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-12 22:56:49 +00:00
bre..om
c909219a4e Added TerrainTestAndroid and a smaller heightmap image for it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-12 18:24:43 +00:00
bre..om
636e309098 changed ImageBasedHeightMap to use JmeSystem to get ImageRaster
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-12 17:46:59 +00:00
bre..om
d81b46c2fb adding imageRaster to ImageBasedHeightMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-12 17:22:58 +00:00
iwg..ic
feff63fda2 Add support for JmeSystem.StorageFolderType in saveGame and loadGame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-06 17:05:50 +00:00
Zer..om
ecb8b0508d (Hopefully) Fixed a shader problem on macs where it was trying to multiply an int with a float...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10021 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-05 13:05:59 +00:00
iwg..ic
dd46be3688 Add support for multiple folder storage types for getStorageFolder
See forum post http://jmonkeyengine.org/groups/android/forum/topic/jmesystem-getstoragefolder-updates/

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-05 00:59:52 +00:00
jul..om
2a3e28bb9d Removes a useless check from JoglRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-04 15:39:47 +00:00
rem..om
22a18c5ba4 Fixed issue int RnederManager.proeloadScene that was causing failure when attempting to load CPU usage buffers to the GPU
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10018 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-02 15:57:33 +00:00
rem..om
6a455731c7 Cinematic, made sure an event is properly initialized when added during playback
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-02 15:48:15 +00:00
jul..om
e4b80ebb0d Fixes a bug in JoglNewtDisplay: the native counterpart of the Screen instance must have been created before retrieving or modifying the screen mode according to Sven Göthel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-01 09:30:43 +00:00
jul..om
97cb4145e5 Fixes a bug in JoglNewtDisplay: the canvas must be visible before retrieving or modifying the screen mode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10015 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-01 08:31:44 +00:00
jul..om
92b7170c3d Updates JogAmp (GlueGen build 613, JOAL build 379, JOGL build 865)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10014 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-30 22:49:08 +00:00