2789 Commits

Author SHA1 Message Date
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
nor..67
304ecb4bf7 SDK:
- rename news title in welcome screen

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 02:38:46 +00:00
nor..67
b68647c97d SDK:
- remove hint about latest version from internal welcome page

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9969 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 02:32:33 +00:00
nor..67
5d3661cae0 SDK:
- update welcome screen with correct paths and some improvements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9968 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 02:10:11 +00:00
nor..67
b4cf745189 SDK:
- update manual

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9967 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-07 02:09:01 +00:00
nor..67
1fbdbc59bb SDK:
- make welcome screen use version-specific welcome page
- some cleanups in welcome screen

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9966 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 21:06:30 +00:00
nor..67
7b85ebead3 SDK:
- remove new editor window from window menu

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9965 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 20:53:55 +00:00
nor..67
bb16ed6cfc SDK:
- remove new editor window from window menu

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 20:14:22 +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
rem..om
a2b1fea9f1 Fixed dependencies in SDK welcome screen
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9961 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 16:16:03 +00:00
nor..67
904ba740a3 SDK:
- add listener for hyperlinks in main welcome doc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9960 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 16:02:09 +00:00
nor..67
924c3b07f6 SDK:
- fix npe due to caret=null

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 16:00:34 +00:00
nor..67
1c169fda64 - add updated welcome screen
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 15:59:08 +00:00
nor..67
d8fd0868df - add updated welcome screen
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9957 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-06 15:59:01 +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
nor..67
b003393e55 SDK:
- cleanup assets panel layout

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 02:37:05 +00:00
jul..om
a0a67abf06 Fixes a bug in the frame buffers (thanks to Nehon's suggestion)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-04 11:27:50 +00:00
PSp..om
b9274a3ed2 Added Rectangle.toString()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-04 06:57:29 +00:00
PSp..om
bf782ac840 Just fixing a typo in a comment.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9948 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-04 05:05:38 +00:00
PSp..om
4610dbdacc Added a form of line wrap mode that does a hard
clip, to include truncating the letter quad at
the border.  This is better when text needs to
be hard constrained for UI type fields.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-04 04:27:10 +00:00
PSp..om
580579285b Added a getter for size since it's the only way
to compare a particular BitmapText's size to the
BitmapFont size.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-04 03:45:11 +00:00
nor..67
9b30f25616 SDK:
- make SDK really set gl level to "1" instead of "any" when enabling GL1

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 12:14:59 +00:00
jul..om
54c7447efa Mouse and input support for NEWT canvas and display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9944 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 12:11:57 +00:00
jul..om
c9c1ae1cae Fixes BPP in JoglNewtAbstractDisplay
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 12:02:12 +00:00
rem..om
66ddbb654d Point light shadows first push. Working solution based on rendering 6 different shadow maps.
Made a PointlLightShadowRenderer and a PointLightShadowFilter.
- This will need a lot of refactoring as a lot of code is duplicated with the PSSMShadowRenderer
- Also i plan to change the Shadow map rendering to a cubemap instead of 6 separate textures.
Added a cornell box model and a test case


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 09:38:33 +00:00
rem..om
8d841b70dd Forced depth range to 0,0 in NiftyJmeDisplay processor before rendering nifty to avoid depth check issues between the 3D scene and the text elements of the nifty gui.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 08:27:00 +00:00
jul..om
48ca976705 Adds a display based on NEWT (work in progress)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 23:10:12 +00:00
jul..om
345cac2444 Adds a canvas based on NEWT (work in progress)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 22:45:39 +00:00
jul..om
44b89a367c Fixes a bug occurring when exiting the full screen mode and adds an abstract display based on NEWT (work in progress)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9938 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 22:37:17 +00:00
jul..om
0170c7b5eb Fixes some problems with framebuffers (second attempt)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9937 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 21:20:41 +00:00
rem..om
89608f3fd5 fixed material param settings in PssmShadowRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9936 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 14:47:24 +00:00
rem..om
89d1f64739 SDK : added convenient way to type Vector3f, Vector2f, Quaternions, Emitter shapes. Thanks to kwando
see http://jmonkeyengine.org/groups/jmonkeyplatform/forum/topic/small-change-to-the-properties-pane-in-scenecomposer/?#post-196107

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9935 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-02 07:11:58 +00:00
rem..om
76dcabae66 Added proper documentation for camera.getWorldCoordinates
Added a convenience method to compute z in projection space from z in view space

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9934 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-01 22:49:34 +00:00
nor..67
f8f4a9e33e SDK:
- commit local version of beginnigs of new SDK core api

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9933 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-01 11:16:38 +00:00
jul..om
0263c78d55 Fixes some problems with framebuffers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9932 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-01 07:31:13 +00:00
rem..om
7271bf4de7 Made the PSSmRenderer stop to create a new matrix for each split on every frame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9931 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 22:42:07 +00:00
rem..om
3b84ae44e5 Made all attributes of PssmShadowRenderer protected
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9930 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 22:08:11 +00:00
rem..om
d1a036a021 Pssm now supports fade out of the shadows when using a zextend
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9929 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 15:53:33 +00:00
nor..67
a3cda69323 - move JmeCursor interface back to Core-Plugins due to dependencies in core :/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9928 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 01:37:48 +00:00
nor..67
4dc549f3df - delete folder
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9927 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 01:30:02 +00:00
nor..67
fb2412d1b1 - move cursor loader to desktop package due to awt dependence
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9926 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 01:28:24 +00:00
nor..67
cae51429ac - move cursor loader to desktop package due to awt dependence
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9925 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-31 01:28:18 +00:00
nor..67
7bb5e9bfdd - move native jme-ios.m file to plugin for now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9924 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-30 17:16:46 +00:00
nor..67
2aae8d72a6 SDK:
- use base Node object in MaterialPropertyEditor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9923 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-30 16:32:06 +00:00
nor..67
97909725cb SDK:
- add ios-base to jMonkeyEngine3 Library plugin

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9922 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-30 16:30:31 +00:00