Commit Graph
100 Commits
Author SHA1 Message Date
rem..om 0c403cfc9c Changed the way the light is phased out for the LightScattering filter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 16:38:00 +00:00
rem..om 361e45d04e Applied parent transforms if any in the lookAt method of Spatial.
updated javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-28 21:01:19 +00:00
rem..om de229d4bec Material BlockLanguageParser now accounts for commented lines when computing the line number of a statement
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-26 23:52:14 +00:00
rem..om 5536f5f824 Also Fixed FXAA vertex shader projection calculation for glsl<1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-22 23:15:22 +00:00
rem..om 34ab69cef9 Fixed post vertex shader projection calculation for glsl<1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-22 23:10:08 +00:00
rem..om 3a809e61f5 BatchNode now properly unbatch subgraph when a Node is removed from it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10112 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-20 09:00:55 +00:00
rem..om e3236e20b4 BatchNode now updates its geometric state right after batching.
This is to avoid to wait for the next update for the generated mesh to be consistent with underlying geometries.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10077 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 23:08:53 +00:00
rem..om c6d659684e BatchNode and physics : Reverted previous change and made the batchNode batch geom to ignore physics.
see post http://jmonkeyengine.org/forum/topic/batchnode-breaks-createmeshshape/page/2/#post-200684

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10076 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-15 23:05:28 +00:00
rem..om dada1c1d38 CollisionShapeFactory.createCompoundShape now exclude geometies the are batched in a BatchNode.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-14 22:28:59 +00:00
rem..om 17b53db1aa Changed all NullPointerException in ShaderSource to IllegalArgumentException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-12 21:36:40 +00:00
rem..om 609d51dbfd Further fix and cleanup to SSAO for glsl < 1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-08 17:02:33 +00:00
rem..om 9a6fe1fdf5 Fix to previous commit to OGLESShaderRenderer. Accidently committed unrelated and non working changes to the renderer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-07 19:41:01 +00:00
rem..om 68e0e835f5 Ogles renderer now correctly supports Verctor4 uniforms
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-06 11:20:59 +00:00
rem..om 39d0939879 MotionEvent upVector is now defaulted to Y axis
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-04 18:04:23 +00:00
rem..om a9eec4c1b2 Jaime model, and test case
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-01 11:04:33 +00:00
rem..om 3f815a0c70 Made the "Continue" buttont he default button of the new setting dialog box
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-01 09:39:06 +00:00
rem..om 7722b7b09d Cinematic, added an enqueueEvent method that allow to stack events without knowing their duration.
added support for blending animations transitions in AnimationEvent, added support for having several channels in AnimationEvent.
added javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-27 12:38:28 +00:00
rem..om 3c84826db1 Shadows,fixed an issue when PolyOffset was not properly applied on lighting material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-24 10:14:34 +00:00
rem..om 01bf1ca843 Fixed 2 issues with shadows :
- Looks like Poly offset behave defferently between ATI and NVIDIA i added a bit of offset to avoid shadow acne for NVIDIA
- Added a flag needCompareModeUpdate in the Texture class to avoid setting it on every frame in the renderer. I changed Lwjgl and Jogl renderer accordingly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-23 13:55:17 +00:00
rem..om 7e43015f3c Removed cos2,sin2 and reduceAngle from FastMath as they were unused and confusing, and somehow buggy.
See forum post
http://jmonkeyengine.org/forum/topic/patch-remove-fastmath-sin2cos2/#post-198276

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-23 08:58:19 +00:00
rem..om 8a4b204154 fixed issue 461
http://code.google.com/p/jmonkeyengine/issues/detail?id=461&can=5&q=label%3AProduct-jME3&sort=priority&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

BatchNode now use an instanceof Geometry statement to know if the spatial can be batched. It Then check the BatchHint on this spatial.
ParticleEmitter, BitmapTextPage and TerrainPatch extends Geometry and should not be batched so their batchHint has been defaulted to Never.
Image also extend Geomety but it may be useful to batch images.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 15:20:26 +00:00
rem..om a330f83a2d fixed issue 418
http://code.google.com/p/jmonkeyengine/issues/detail?id=418&q=label%3AProduct-jME3&sort=priority&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 15:02:40 +00:00
rem..om 4ad164f278 fixed issue 529
http://code.google.com/p/jmonkeyengine/issues/detail?id=529&q=label%3AProduct-jME3&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-22 14:55:00 +00:00
rem..om c86c692ae9 Applied Javadoc patch for ColorRGBA thanks to jonathan.pikalek
http://code.google.com/p/jmonkeyengine/issues/detail?id=557&can=6&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 16:46:21 +00:00
rem..om 7e79145d70 Removed remaining system.out in AwtKeyInput thaks to @JesperSmith
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-18 16:36:05 +00:00
rem..om 157fb96141 DirectionalLight shadows now work properly when the view cam is in parallel projection
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-15 12:27:26 +00:00
rem..om 2a4a4ac0ef Fixed an issue with FadeFiltter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-14 22:25:31 +00:00
rem..om 22a18c5ba4 Fixed issue int RnederManager.proeloadScene that was causing failure when attempting to load CPU usage buffers to the GPU
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10018 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-02 15:57:33 +00:00
rem..om 6a455731c7 Cinematic, made sure an event is properly initialized when added during playback
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-12-02 15:48:15 +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
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
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
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
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
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
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
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
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
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
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
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
rem..om a5b8b48ea1 fixed an isue in shadow shaders where shadows outside of the shadowZExtend were dark instead of light.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-26 16:20:31 +00:00
rem..om f7db40695f fixed javadoc in PSSMShadowFilter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9904 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-26 16:03:51 +00:00
rem..om 479a5ae7a4 SDK : fixed another issue in EmitterBoxShapeEditor
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9871 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-18 21:05:09 +00:00
rem..om c84d25b755 EffectTrack now correctly stops when loopMode is DontLoop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9870 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-18 20:57:36 +00:00
rem..om d359091842 FilterPostProcessor filters list can now be fetched as an unmodifiable list
FilterPostProcessor has now a getFilter(filterType) method

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-16 21:45:14 +00:00
rem..om a61bdf1d47 AudioTrack : prevented audio track to be looped even if the channel loopMode is dontLoop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9866 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-13 07:31:44 +00:00
rem..om f7d6c30db3 EffectTrack : fixed an issue when emitter wouldn't emit again once the animation was done and loopMode was set to DontLoop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-08 21:56:01 +00:00
rem..om 479632c06e EffectTrack : fixed control loading issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-07 21:46:25 +00:00
rem..om c5c06ca10a SDK : One can now set the animation parameters (loopMode and speed) when playing an animation in the SDK
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9848 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-07 08:34:09 +00:00
rem..om 639de490a2 AnimControl.clearChannels now notify the animCycleDone on every listener for every channels before clearing the channels.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9847 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-07 08:27:51 +00:00
rem..om bc544adb40 SDK : properly shutdown poolExecutor in UserDataPicker and ParticleInfluencerPicker.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-06 08:50:51 +00:00
rem..om 4ae24ffeee SDK : ParticleEmitter editor, enhanced particleInfluencer editor to avoid slow downs due to classpath scanning.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-06 08:45:15 +00:00
rem..om 54313302be EffectTrack : fixed isssue where an IllegalArgumentExceptio was wrongly raised when removing the spatial from the kill particle control
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 21:12:40 +00:00
rem..om cb06858534 EffectTrack : fixed serialization issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 20:54:17 +00:00
rem..om f5622ffc1e SDK : Fixed EmitterShapePropertyEditor formatting when using a Box shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9831 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 17:05:05 +00:00
rem..om d82953b7b8 test PSSM: set the light dirrection to a non failing value until the issue is fixed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-02 16:07:59 +00:00
rem..om 281d38d609 RenderManager : Changed renderScene to reset the camera plane state to 0 (the first node to render is not always a root, it can be a sub part of the scene graph) and call renderSubScene.
Created a private method renderSubScene that recursively renders the scene graph.
This fixes culling issues with the reflection/redraction processors for the water effects se this post
http://jmonkeyengine.org/groups/graphics/forum/topic/possibly-bug-simplewater-postprocessor-renders-entire-scene-no-frustrum-of-objects/?#post-192561

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9790 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-01 22:29:40 +00:00
rem..om cbafa1852b Shadows : There is now an alternative to the PssmRenderer : the PssmFilter that has to be used as any other filter. It does the same ass the PssmRenderer except the post shadow pass is done in screen space making it run very faster on scene that have a lot of shadow recieving Geometries.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-29 09:38:53 +00:00
rem..om 0e733ff100 Filter postQueue method now takes a RenderQueue as parameter like SceneProcessor instead of the RenderManager and ViewPort.
Filters that were using those attributes now properly keep a reference on them in the filterInit method.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 20:47:57 +00:00
rem..om d980519674 Re-introduced alphaDiscardThreshold in lighting frag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9768 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-24 16:40:03 +00:00
rem..om e0df200dfd Properly update the Height map and normal map to the water filter material when setting those textures to the filter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9764 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-23 18:38:36 +00:00
rem..om bdb715e527 Shadows : attempt two to fix them on mac.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9757 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-21 20:26:08 +00:00
rem..om c31c7a406b BatchNode : fixed bounding issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 18:01:41 +00:00
rem..om 6c2dcc472d Lighting and Shadows :
- removed the const keyword for the poisson disk array declaration in the shader (attempt to fix the shader on mac)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9754 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-19 16:25:32 +00:00
rem..om 384f4ac1c2 Lighting and Shadows (PSSM only) :
- re introduced the alphaDiscardThreshold as explained in prvious commit. It's not binded to the AlphaTestFallOff fixedfunc binding
- Added a small poly offset to post shadow technique, this greatly help in fixing shadow acne.
- Added Poisson disc sampling PCF Filtering for shadows
- Properly passed the shadow map size as a define in the shaders and remove the hardcoded value
- Pssm15 don't use the textureSize function anymore and use the same shadow map size define ( this increased performance quite a bit)
- Optimized the shaders code a bit
- Better PSSM test

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-18 21:37:11 +00:00
rem..om 2915316e45 One can now have a block ForcedRenderState in a technique defnition. this renderstate if filled will be forced into the renderer when the technique is forced
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9749 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-17 21:32:48 +00:00
rem..om eab37f7fce Reverted changes in RenderManager from previous commit as they were not meant to be committed and unrelated to the change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9748 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-17 20:14:58 +00:00
rem..om 5111fd8b66 Implemented fixedfunc binding for AlphaTestFallOff
- Made the relvent changes in lwjgl1Renderer
- Changed the check in the lwjglRenderer (note that it's deprecated in opengl 3)
- Removed the test in the OglESRenderer since GL_ALPHA_TEST/GL_ALPHA_FUNC no longer exists in OGLES 2, this must be handled in the fragment shader aka the alphaDiscardThreshold that is coming back in an upcoming commit.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9747 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-17 19:36:41 +00:00
rem..om 5635bc2ff1 Geometry : fixed an issue where batching information were copied over cloning causing problem because the cloned geometry was marked as batched but was not.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9731 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 13:49:34 +00:00
rem..om 2577485727 BufferUtils : ensureLargeEnough now set the limit to the buffer capacity if it exists to avoid creating a new buffer instead of reusing the previous one.
see http://jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/bugbufferleak-in-ensurelargeenoughbitmaptextpage/?#post-188976

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9730 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 12:09:07 +00:00
rem..om e253546982 ChaseCamera : added a hideCursorOnRotate flag to the chaseCam to prevent interfering with nifty.
See forum post
http://jmonkeyengine.org/groups/gui/forum/topic/nifty-window-not-accepting-input-after-clicking-into-the-scene/?topic_page=3&num=15#post-189063

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9697 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-01 08:36:17 +00:00
rem..om 5c9afd9d59 LightNode now properly works with SpotLight
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9696 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-31 19:20:09 +00:00
rem..om e0dac249a4 SDK : One can now add and edit user data of a custom data type. The custom type must be a Savable with get and set accessors for every attribute and propper read an write method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-20 21:02:30 +00:00
rem..om 206a6b74f3 UserData : setUserData(someKey,null) now properly removes the user data from the map.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9670 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-19 21:56:06 +00:00
rem..om a04d5dde01 BufferUtils : Apply changes made by Empire Phenix to properly track direct memory. This feature is defaulted to off.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-17 14:36:59 +00:00
rem..om fc3a4a4471 SDK : Added a way to change the ParticleInfluencer on an emitter in the SDK
- Property of influencers are created through reflection
- One can even add an home brewed influencer.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:06:23 +00:00
rem..om 29045cada4 SDK : Fixed an issue in AudioTrackProperty where the value was not properly set
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9667 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:04:09 +00:00
rem..om 966ff8d857 SDK : removed some forgotten system.out from JmeGeometry
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9666 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 22:03:21 +00:00
rem..om 37710098a2 ParticleEmitter : created a RadialParticleInfluencer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9664 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 21:40:25 +00:00
rem..om 27930a7cd9 DefaultParticleInfluencer / NewtonianParticleInfluencer : Fixed initialVelocity attribute naming that was kept as startVelocity while acessors where get/setInitialVelocity.
- Also changed serialization to reflect this change and incremented the serialization verison of DefaultParticleInfluencer.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9663 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 21:33:49 +00:00
rem..om aacc136aa8 ParticleEmitter : RotationSpeed has now an effect when setting a faceNormal to a ParticleEmitter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9661 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 21:30:31 +00:00
rem..om ba2e17ef89 SDK :
- Renaming a Spatial Node in the scene explorer now properly lights up the save button

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9650 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 19:56:05 +00:00
rem..om 116ced422b SDK :
- Select tool does not keep its own instance of the selected spatial, it nows use the ToolController.selectedSpatial, for better selection synchronisation between sceneExplorer and sceneViewer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 19:26:16 +00:00
rem..om 32152741cc SDK :
- Made toggle buttons instead of check boxes for Snap to grid/scene, select terrain
- Added a Select Geometries toggle

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9648 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 19:06:45 +00:00
rem..om 9179c9e401 SDK :
- Select Tool Fxed NPE when selecting a child node of a lonked asset in the viewer.
- Move tool fixed bad application of scale when moving.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 14:30:16 +00:00
rem..om f01888de8f SDK :
- New way to visualize and play animations in the SceneExplorer
- Visualization of animation tracks
- Possibility to add and edit EffectTracks and AudioTracks
- reworked icons a bit too

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9635 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-11 08:27:23 +00:00
rem..om 3bd77d3048 Changed the way EffectTrack and AudioTrack are serialized.
EffectTrack and AudioTrack can now porperly update their reference to the Spatial they are using upon loading.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9634 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-10 22:23:13 +00:00
rem..om ae3cc96caa Fixed issue http://code.google.com/p/jmonkeyengine/issues/detail?id=524
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9633 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-10 22:17:27 +00:00
rem..om ef98888ce7 EffectTrack now disable and cull the emitter once all particles are gone
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9625 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-06 18:50:56 +00:00
rem..om 1fbc0cc406 Audio and Effect tracks added a couple of accessors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9609 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-03 21:06:07 +00:00
rem..om 96b7355347 SDK :
- Fixed focus issue in the sdk (part 2)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9608 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-02 10:04:16 +00:00
rem..om 737b765cb0 SDK :
- Fixed focus issue in the sdk (part 1)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9607 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-02 10:03:54 +00:00