2023 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Kae..pl
49f227b7cc Minor optimisations. Added several comments to unveil certain parts of the code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-30 09:52:27 +00:00
nor..67
83caa059fb - release pool in iOS image loader when exiting early
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-29 23:19:01 +00:00
nor..67
e45a75f2f6 - minor optimization in iOS image loader native code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-29 23:16:01 +00:00
nor..67
b3dc16535f - add current iOS code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9914 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-29 22:15:26 +00:00
Kae..pl
1b04d13f3e Bugfix: making sure that the first and last bevel line is parallel to its neighbour in curves that have bevel applied (that is how blender works)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-29 14:22:29 +00:00