2251 Commits

Author SHA1 Message Date
Zer..om
fbf305a386 Changed the settings dialog to "alwaysOnTop" so it doesn't get lost if you click elsewhere. (It doesn't appear in the task bar etc due to being a dialog not a frame).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10013 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-29 21:37:42 +00:00
iwg..ic
200df1c84b androidInput.loadSettings was never called, so setting mouseEventsEnabled = false; in MainActivity had no effect.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-29 17:53:59 +00:00
dan..om
c798db10b2 - Reverted Nehon's termporary depth fix. We don't need jME to do the extra work if it's not needed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-27 14:08:58 +00:00
nor..67
d3438942a0 - change funny exception in ConeCollisionShape to an existing one
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 21:54:44 +00:00
nor..67
1a4b918451 - fix ConeCollisionShape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 17:11:17 +00:00
Sha..om
85059fd8a0 * Fix height = radius bug in ConeCollisionShape
* Added docs
 * Added getter for height and axis

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 17:05:41 +00:00
dan..om
eea91e0b20 - Fix to sphericalToCartesian and related methods that checks if store is null. If it is, store is created internally.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-26 13:12:44 +00:00
rem..om
064908c69f LightScattering : smoother "vanishing" while lookking away from the light
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-24 17:56:09 +00:00
rem..om
b88350a069 All shadow renderers/filters are now properly savables
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10005 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-24 14:46:12 +00:00
Zer..om
dd2b82c881 Fixed build problem due to changed constructor format.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-24 08:39:28 +00:00
Sha..rd
5a3a1838f6 * Allow removal/addition of NiftyJmeDisplay from ViewPort
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-23 18:09:50 +00:00
rem..om
6bd3ff2f29 BufferUtils now use java 5 compliant code to find if a Buffer is direct
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-21 21:10:53 +00:00
jul..om
3bde7326de Fixes a spelling mistake in the creation of the offscreen buffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-17 00:38:57 +00:00
rem..om
84e4f0f8ad Ten thousand monkeys !!
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-16 21:22:15 +00:00
Zer..om
219af0f9f4 Updated AppState Javadoc.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-16 14:57:44 +00:00
Kae..pl
5e2c814086 Issue 540: NullPointerException when loading blender model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-16 12:47:54 +00:00
Kae..pl
6573b87bf0 Bugfix: Issue 547: Unsupported type exception importing model from Blender
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-14 10:30:10 +00:00
rem..om
d8213d15b6 SoundEvent now sets the underlying audioNode to not be positional
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 21:31:11 +00:00
Sha..rd
2e35519182 * Nifty will now set the BitmapText base color instead of using the material's color (which could override the color of the shared font)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:16:16 +00:00
Sha..rd
4aea96f4b9 * Made nifty mouse wheel rotation be the same as nifty LWJGL's renderer (1/-1 instead of 120/-120)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:14:51 +00:00
Sha..rd
e8f747e8ce * Fix incorrect nifty display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 02:07:12 +00:00
Zer..om
99bf4248df Fixed the toggling of stats display on/off to also remove the shading behind.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9992 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-11 12:41:45 +00:00
Sha..rd
b7c76799e2 * Attempt to fix SDK / AWT panels issue "Framebuffer doesn’t have any renderbuffers attached."
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-11 07:42:31 +00:00
Sha..rd
e9395812bc * Partial fix for issue 504 (Android renderer only)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 22:03:37 +00:00
Sha..rd
ffa0639580 * Fix issue 526
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:57:54 +00:00
Sha..rd
2d69a5d159 * Fixed issue 460
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:55:11 +00:00
Sha..rd
0229a54b5e * Fixed some "throw new NullPointerException" statements and replaced with IllegalArgumentException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:47:19 +00:00
Sha..rd
7dae4d5238 * Fix issue 551
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:39:33 +00:00
Sha..rd
be59bd91fb * Fixed issue 550
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:33:42 +00:00
Sha..rd
fead899369 * Fixed issue 511
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:08:11 +00:00
Sha..rd
6745c8ed63 * Made AppletHarness fields protected instead of private to allow extension
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:58:38 +00:00
bre..om
d68fba1fef fixed TerrainGrid.getTerrainAtCell() and TerrainGrid.getTerrainAt(), updated TerrainGridTileLoaderTest
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:34:35 +00:00
Sha..rd
b3e63e9732 * Depth writes now completely disabled for all nifty elements - should fix various glitches when nifty is rendered with jME3 gui or 3D objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:30:56 +00:00
Sha..rd
9e03dba566 * Add checks for maximum texture resolution in all renderers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:28:00 +00:00
rem..om
78d1754df1 Implemented proper frustum culling for the shadow post pass.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 14:15:41 +00:00
rem..om
116c7161f7 Added a workaround the incomplete draw buffer in basicShadowRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-09 06:30:46 +00:00
bre..om
c7d42dede5 removed physics error from TerrainGrid tests
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-08 23:02:47 +00:00
rem..om
3a2d25ce30 One can now remove a cinematic event from a cinematic
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-08 18:36:19 +00:00
Zer..om
cb079b48c0 Added code to darken the area behind the stats display so it can be read even over a light background. This can be turned off by calling setDarkenBehind(false) on the StatsAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-08 13:58:26 +00:00
rem..om
5a22c0d9de Water reflection/refraction cameras parallel projection is now explicitely set to false.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 23:36:37 +00:00
Kae..pl
2ace208225 Bugfix: fixed NPE error while getting subtarget of a constraint, not every constraint data have such field
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 16:07:48 +00:00
Kae..pl
69205a679b Updating the bound of every newly loaded node.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 15:55:20 +00:00
rem..om
0dadaa80f5 Shadow system refactoring.
- Basic and PSSM shadow renderer are now deprecated
- There is now one processor and its filter conterpart for each light type
- created an abstract shadow processor that hold the common shadowing code. It's totally independent of the shadow technique used.
- extracted the CompareMode and FilterMode enum to their own files.
- renamed FilterMode enum to EdgeFilteringMode
- refactored the shader code, to avoid duplicate code. all shadow related code is now gathered into Shadows.glsllib and Shadows15.glsllib.
- added spot light Shadows
- removed the ShadowCamera class as it was not used.
- removed "pssm" in the naming of classes, shader and shader libs since it's not relevant anymore

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 08:38:56 +00:00
jul..om
2ca9775aef Fixes the sample count
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 19:02:09 +00:00
jul..om
3002e5e057 Uses GL2GL3 instead of GL2 when it is possible
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9962 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 18:33:15 +00:00
PSp..om
4458603c7e Attempt to make the isParallelProjection() flag better
match the actual state of the Camera.  When a camera
is created it is initially not a perspective camera and
now will reflect that.  Setting the perspective frustum
will also now clear this flag.
The regular setFrustum can be used for ortho cameras
and so does not change the mode.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9956 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 05:52:54 +00:00
jul..om
380b40b7e9 Adds some off-screen rendering (work in progress, not tested)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 19:12:07 +00:00
bre..om
c405f09391 added toCellSpace() and toWorldSpace() utility methods to TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:31:13 +00:00
bre..om
fa29b95c39 added TerrainGrid.getTerrainAtCell(Vector3f cellCoordinate) to get the terrain tile from cell coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:25:14 +00:00
bre..om
9c2a897bfb removed deprecated methods from TerrainGrid, added in getTerrainAt(Vector3f worldLocation), more docs on TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9952 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:18:47 +00:00