1419 Commits

Author SHA1 Message Date
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
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
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
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
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
rem..om
82b1e94953 Added SpashScreen support for android thanks to iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 09:59:10 +00:00
Sha..om
d6af43a5cb * Removed yet another check for "unknown" joystick type
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9105 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 04:52:57 +00:00
Sha..rd
ed1fd4a253 * Try to fix the guys problem with the joystick
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-20 03:09:22 +00:00
rem..om
33b6bcb20c BatchNode now use bulk copy for untransformed buffers like GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 20:02:00 +00:00
rem..om
4c7e271606 Fixed Garnaout issue with cinematic \o/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 19:42:27 +00:00
PSp..om
38f56d3f2e GeometryBatchFactory now bulk copies the untransformed
buffers instead of copying them one element at a time.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9101 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:22:09 +00:00
PSp..om
1545a83abb Implemented a more efficient way of bulk copying
a vertex buffer's elements to another.
Also modified copyElement to call the new copyElements
call with a size of 1... since they were nearly identical
minus the * len mods.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:21:25 +00:00
PSp..om
e6dc1b7183 Modified GeometryBatchFactory to be thread safe
from other readers of the meshes upon which it is
operating.  At least in theory.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:08:50 +00:00
PSp..om
606b676d69 Modified so that read-only operations will not
clobber each other if done from other threads
and provided a way to safely access the whole
buffer if only read-only access is required.
Round 1 of a fix for GeometryBatchFactory...


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 05:57:43 +00:00
Sha..om
0f41e1fee1 * nifty - fix incorrect conditional in InputSystemJme.onMouseButtonEvent()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9097 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 00:00:40 +00:00
nor..67
697d23ddc0 - fix FXAA shader BlindCoding(TM) bug
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9096 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 01:36:13 +00:00
sha..rd
d0699f5c60 * FXAA now supports baseline GLSL 1.00 instead of GLSL 1.3
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9095 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 01:14:06 +00:00
sha..rd
e9a28ced31 * Cleaned up FXAA shader, moved requirement to GLSL 1.3, removed dependency on EXT_gpu_shader4
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9094 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-18 00:07:40 +00:00
Sha..rd
b38e545036 * Fix Android 2.2 - 3.2 crash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 02:13:17 +00:00
bre..ns
a59339054a moved some of the terrain utils into tool options in the scene explorer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 01:36:13 +00:00