2013 Commits

Author SHA1 Message Date
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
nor..67
9817fa4ef6 - fix GhostObject overlapping objects in native bullet (thanks to @ttrocha) (Fixes issue 457)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9113 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-26 15:39:07 +00:00
rem..om
751b4e851d JDK : Nifty Editor
- added validation of the XML with build in Nifty validaiton tool
- added an error list reporting the errors on the file
- redisigned the UI a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9112 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-24 19:15:57 +00:00
nor..67
e9614a683a SDK:
- fix niftygui editor locking file when loading fails

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9110 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-23 23:34:19 +00:00
rem..om
edc7a8b37c JDK : Font Creator
- added support for horizontal and vertical padding
- added support for letter spacing
- added a field to change the file name
- redisigned the UI a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9109 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 22:55:43 +00:00
rem..om
26665e5df0 GeometryBatchFactory now correctly transforms tangents buffer (it was not taking the 4th component into account)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9108 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 11:00:54 +00:00
rem..om
e1d4d66877 BatchNode now correctly accounts for tangents buffer. (the initial copy of the buffer was only accounting for 3 components instead of 4).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 10:50:03 +00:00