2019 Commits

Author SHA1 Message Date
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
Kae..pl
0e9f7ea22f Fixes to limit rotation constraint.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9125 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-01 18:45:45 +00:00
Sha..om
c576a12f83 i fixed the problem, are you happy now mark?
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-31 21:38:33 +00:00
rem..om
bfa243a619 PssmShadowRenderer now have a contructor that takes a material as a parameter to override the post shadow material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 23:04:09 +00:00
rem..om
0c5e5341bd Time in cinematic is now computed by stacking tpf
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9122 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 21:15:28 +00:00
PSp..om
ebb2fca18f Renamed the destroyByteBuffer method to destroyDirectBuffer
because it more appropriately says what it does and this is
a relatively new method.  After changing it to work with
any direct buffer it seemed inappropriately named.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 10:49:40 +00:00
PSp..om
9ecaf0b96e Expand the destroyByteBuffer() call to take any
Buffer and do a safety check for isDirect().
This should let it free FloatBuffers, etc.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 10:37:30 +00:00
Sha..rd
b1d4c36fd7 * InputManager fix syntax error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-29 18:19:32 +00:00
nor..67
965974c18d - javadoc html tag fix
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9118 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 14:25:59 +00:00
Kae..pl
65afa0bbc8 Fixes to spot light loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 10:25:11 +00:00
Sha..rd
db4188c797 * InputManager will throw exception if joysticks are disabled instead of returning null
* Allow use of negative program IDs in LwjglRenderer (will continue instead of crashing for "Invalid ID received from driver" errors)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 06:19:51 +00:00
Kae..pl
3a84693f68 Many changes:
- simplified implementation for bones loading
- static bones poses discarded
- loading of object animation for blender 2.50+ added (didn't work for these versions before)
- several small bugfixes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-27 21:22:11 +00:00
nor..67
fb68a176b5 - fix DefaultServer initialization, it would place a null in the channels list (tcp/udp channels) if there was no UPD poprt specified.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-27 14:47:33 +00:00