2231 Commits

Author SHA1 Message Date
rem..om
446c03935e Fixed NPE in AndroidAudioRenderer when soundPool is not initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:44:51 +00:00
rem..om
c4231e3200 - Inverted red channel of the pond normal map so it looks bumpy
- Fixed the HelloMaterial tuto so the rock shines like in the screen shots

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:35:58 +00:00
rem..om
26ffa11655 - Fixed parallax distortion thanks to Survivor
- Used a quad in TestParallax instead of a grid

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9173 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:17:07 +00:00
rem..om
bb9b2ea5ce Changes to AndroidInput to properly handle multipoint touch events with proper ids (thanks to techsonic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:27:02 +00:00
rem..om
a3497ca8b2 Null check on audio renderer in the onPause and onResume of the android Harness. The audio renderer appears to be null (wich is another issue)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:04:53 +00:00
rem..om
afc2710626 Removed the call to glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT as it generates an INVALID_ENUM error.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:03:44 +00:00
rem..om
60479107bb Removed some unused variable and method in MotionPath
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9169 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 09:59:37 +00:00
rem..om
9836918a07 Cinematic changes :
- more consistency in the way to handle time
- Complete refactoring of MotionPath interpolation (simpler and way faster)
- Time seeking should now work correctly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 09:57:41 +00:00
PSp..om
72561e7a8b Made the app-states taking constructor more defensive
so that it can be called with null in various ways
without throwing NPEs.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 04:20:14 +00:00
PSp..om
dac2de12c6 Moved the debug key handling to its own app state.
Also fixed a bug in some SimpleApplication subclasses
that expect access to the guiFont and fpsText from
simpleInit.  This is why some believe protected fields
are the work of the devil. ;)


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 04:11:21 +00:00
PSp..om
c084f0a025 FlyByCamera modified to check if its mappings exist
before unregistering them.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 03:57:23 +00:00
PSp..om
e7f0a5ad91 Since input manager throws an exception when trying
to delete non-existent mappings, and since I'm loathe
to change this behavior even though I kind of don't
agree with it...
instead, I've added a hasMapping() method so that
callers can avoid deleting non-existant mappings
without having to do all of their own book-keeping.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 03:56:41 +00:00
PSp..om
d440f70d92 SimpleApp now uses FlyCamAppState to manage its
camera (by default).  If the app state doesn't
exist then the camera doesn't get created.  Due
to the volume of apps that will expect a working
camera in simpleInit(), it wasn't possible to
do this as a purely separate app state.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 02:17:44 +00:00
PSp..om
0c835eae80 Modified fly cam to be a little more resilient
in the face of being called before it sees an
input manager.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9162 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 02:14:03 +00:00
PSp..om
fef809b3f0 Removing some empty methods that I left in by
mistake.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:40:48 +00:00
PSp..om
f9ab14b751 Added a method to unregister from the input manager.
Untested and incomplete because some things can't
be undone.  Better than nothing.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9160 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:34:48 +00:00
PSp..om
4c18bfaecb Moved the stats view stuff out into an app state
that is added automatically as part of simple app
construction.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:12:10 +00:00
PSp..om
a2043b3ded Modified to tracks its enabled state so that it
can really be disabled.  I will move the 
statistics.clearFrame() on my next commit.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:05:50 +00:00
PSp..om
05a88493a8 Added an accessor for Timer.
Moved the creation of the state manager into
the constructor.  Logically it should exist
as early as possible.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:19:13 +00:00
PSp..om
07d5451a31 Removed the direct accessing of the seconds counter
so that I don't break the build with my next changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:07:45 +00:00
PSp..om
4e616d9360 Use the display flag setters and removed the
clearing of secondsCounter since I couldn't see
that it was used anywhere.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9155 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:06:23 +00:00
PSp..om
500896e935 Modified to use the display flag accessor instead
of directly culling the BitmapText.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:05:30 +00:00
PSp..om
6240a51173 Removed the loadStatsView and loadFpsText because
they are essentially going away and because I 
couldn't see what changes were in this class to 
need the override.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:02:46 +00:00
Sha..rd
b89b2428af * Applied audio fix patch (thanks prich)
- Pause audio when jME3 app is paused
   - Add WAV to supported formats 
   - Add Android audio test 
 * Minor javadoc fixes in AndroidHarness
 * Made jme3tools.android.Fixed class deprecated

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 04:30:35 +00:00
Sha..rd
4721c944a2 * Minor warning fix in BoundingBox, BIHTree
* Fix BoundingSphere, calculation was bugged due to TempVars sharing 
 * Add BoundingSphere vs. Triangle collision
 * Delete Natives class from core as it was moved to desktop previously 
 * Parser classes now use whitespace instead of " " for splitting
 * Bone.getAttachmentsNode() no longer public due to misuse in user code

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9151 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 04:21:51 +00:00
Sha..rd
8c0e5ad541 * Removed useless null check in Plane
* Moved Natives class to desktop source package

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 02:00:56 +00:00
Sha..om
eb9ef60d04 * Fix OBJ Loader exception
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9149 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-13 19:59:40 +00:00
Sha..rd
4aa00107e2 * Added missing AndroidImageInfo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9148 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:16:27 +00:00
Sha..rd
381a3365ef * Applied android audio renderer patch (thanks to prich on the forum)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:14:03 +00:00
Sha..rd
f357a7e89f * OBJ loader now supports multiple spaces or tabs in between vertex/face specifications
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9146 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 21:55:30 +00:00
rem..om
512ebfaa1f Fixed artifact on simple water for old intel card thanks to Androlo
http://jmonkeyengine.org/groups/graphics/forum/topic/fixed-problem-in-simple-water/#post-162943

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9145 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 16:56:12 +00:00
Sha..rd
a64db6fc7b * Andrid - AndroidLocator now follows spec when regards to multiple call support with AssetInfo.openStream()
* Android - fix exception with recycled bitmaps that occurs when jME3 application is restored/maximized after pause

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:42:19 +00:00
Sha..rd
3fa629053a * Deleted AndroidApplication and AndroidSkyFactory due to deprecation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:10:35 +00:00
Sha..rd
8652b1f759 Android
* Enable checking of errors per frame (if checkErrors is disabled)
 * Formatting and javadoc fixes in AndroidHarness
 * AndroidHarness.reportError() rewritten to for clarity
 * OGLESContext will report OpenGL2 failure directly to app through handleError instead of continuing execution 
 * OGLESContext will register uncaught exception handler only for current thread 
 * Formatting and javadoc fixes in OGLESContext

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:08:49 +00:00
Sha..rd
65c27304be * Android - disable GL error check by default
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:35:29 +00:00
Sha..rd
b75a3415c5 * Android - fix shader compile error on PowerVR GPUs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:32:24 +00:00
PSp..om
65f8dbf6ae For the cases where a define has not actually
changed, don't reload the shader.  This prevents
a lot of extra work from being done.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 11:04:46 +00:00
PSp..om
1f0a77de26 Modified the define list to only recompile if
values have changed.  Also, it returns a boolean
for set and remove on whether a change actually
occurred.  This will be used by my next commit
to give a performance boost.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 11:03:53 +00:00
Sha..om
b0cff4343e * Fix View -> Model space for ViewProjectionMatrix
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 02:40:04 +00:00
Kae..pl
026a5bd0a6 Removed unnecessary System.out's.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-05 10:51:47 +00:00
roo..li
3afc155b48 Added enqueue and input handler code snippets to JMP Palette; Updated JMP Palette layer file;
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9135 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-04 16:34:34 +00:00
Sha..om
3bceee24fb * Fixed syntax error due to implicit float -> vec3 conversion in PostShadowPSSM15.frag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9134 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-04 05:17:45 +00:00
nor..67
06de64654e SDK:
- fix palette item mixup

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-03 23:31:11 +00:00
nor..67
be7ebbc5f3 SDK:
- fix typo in palette item

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9132 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-03 23:28:41 +00:00
roo..li
af88b0dadd Updated JMP Palette layer file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9131 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-03 22:42:36 +00:00
roo..li
f2e08c9642 Updated JMP Palette
- Added: Wireframe, ShowNormals Mat, 2x click-to-select, J3O save&load
- Added: Spotlight, Shadows, Post-processor effects. 
- Fixed outdated J3M snippet. 
- Updated light directions.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9130 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-03 22:41:22 +00:00
Sha..om
b53a825d35 * Prevent crash when material technique has no world bindings defined. Fixes issue 454
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-02 18:08:06 +00:00
bre..ns
230398c45b removed some debug code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-02 02:21:25 +00:00
PSp..om
4edf262021 Fixed FloatBuffer support as well as other
buffers that are views of other buffers and
follow the same conventions.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9127 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-01 22:59:36 +00:00
sky..om
33156837bf Updated date in SDK license
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9126 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-01 20:11:43 +00:00