Commit Graph
100 Commits
Author SHA1 Message Date
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
rem..om 3f8d7f0807 SDK :
- Blender style rotation now rotates objects in world space and parent rotation are correctly taken into account.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-31 08:50:50 +00:00
rem..om 68e17702e2 SDK :
- Formatted SelectTool class

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-30 15:25:27 +00:00
rem..om 7beda908c1 SDK :
- Created a MoveManager than now handles move methods. 
- MoveTool and SelectTool now use the MoveManager.
- Blender like move now use a camera aligned plane to move along so things are more "blenderish"
- One can enter move/rotate/scale values with the numpad 


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9604 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-30 15:23:17 +00:00
rem..om 91f2353a57 Re-introduced WorldMatrixInverseTranspose in UniformBindingManager
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9603 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-30 07:13:00 +00:00
rem..om 2868741bbb SDK : Various import fix and code formatting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9602 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-29 17:19:38 +00:00
rem..om 25efcd4f7b SDK : MoveTool fixed imports and formatted the file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9599 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-29 07:54:09 +00:00
rem..om 458ce63d15 SDK : MoveTool removed usage of TempVars
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9598 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-29 07:33:10 +00:00
rem..om 7756c21d4a SDK : MoveToll now correctly takes into account selected object's parent's world transforms.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9594 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-28 15:28:10 +00:00
rem..om 3a706d2f42 SDK, SceneExplorer : one can now see the skeleton bone Hierarchy under the skeletonControl. One can get the attachement node on any bone to attach spatials
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9593 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-28 13:29:19 +00:00
rem..om a597f1b19e Created AudioTrack and EffectTrack to add sound or particle effects to an existing Animation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-26 16:02:00 +00:00
rem..om ef6644b58f FilterPostProcessor now correctly clears the color of the previous render when rendering a new filter, except when in multiviewports.
This fixes the color bleeding when enabling AlphaToCoverage. (see post http://jmonkeyengine.org/groups/graphics/forum/topic/multi-sampling-issues/#post-183919)



git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9586 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-25 16:28:52 +00:00
rem..om ce124e7729 Renderer : Fix to copy framebuffer to exclude the upper bound if the rectangle as specified in opengl specs. Thanks @rectalogic
http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/lwjgl-copyframebuffer-off-by-one-error-patch/#post-184138

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-25 16:23:03 +00:00
rem..om 4f848ab5b5 Renderer : Caps.Multisample is now correctly added to the renderer caps when GL_ARB_multisample is present in ogl caps
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9581 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-23 16:13:01 +00:00
rem..om f3d56b3ee6 BatchNode : fixed an issue where the material map entry was passed to the material.contentEqual instead of the material.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 05:47:40 +00:00
rem..om a38c61a65a Fixed syntax error in post shadow shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9573 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-20 21:21:39 +00:00
rem..om c02b24da12 Cinematics : renamed all XXXTrack in cinematic.event to XXXEvent, so there is no confusion with the Tracks in the animation system.
Old XXXTrack classes are now deprecated an just extend the corresponding XXXEvent class.
Also removed PositionTrack, RotationTrack and ScaleTrack for they are deprecated since alpha 3.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 21:16:05 +00:00
rem..om 94ae185d6d Animation tracks is now a SafeArrayList instead of an array. One can now add a track to an Animation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 16:26:05 +00:00
rem..om 96ae823504 Fixed viewport uniforms binding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 15:55:15 +00:00
rem..om 28926b8383 WaterFilter can now have a square shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 22:19:03 +00:00
rem..om 9276987aac WaterFilter forgot the heightmap for the test case
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 20:39:47 +00:00
rem..om 68892dfee3 WaterFilter can now be constrained to an area in the scene based on a center and a radius. This allows to have several water areas in the same scene with different sets of parameters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 20:33:30 +00:00
rem..om 9469d08dcb ShaderCheck : fixed compilation issue due to recent shaderKey change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 17:02:06 +00:00
rem..om c2ac08f70b MotionPath : fixed waypoint triggering on low framerate.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-07 13:19:13 +00:00
rem..om 4e987ae63e Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background.
There is now a new ogles configType called BEST_TRANSLUCENT if users really want a transparent background.
The BEST or FASTEST confing are now both OPAQUE, this gives a nice boost to the BEST configuration.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-17 15:23:49 +00:00
rem..om 67712589e2 Android : changed the way the glsurface's pixel format was chosen, allowing the surface to have a translucent background
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9507 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-17 08:43:09 +00:00
rem..om 9349bd97c6 MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-16 15:06:47 +00:00
rem..om b97f8c1271 BatchNode : fixed an issue when a geometry was not unbatched when removed with sometihing else than removeFromParent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-08 20:22:36 +00:00
rem..om 855676173a Re fixed material contentEquals crash when technique is null...but better
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 22:04:50 +00:00
rem..om 3e35e32b2d Fixed material contentEquals crash when technique is null.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-07 21:59:31 +00:00
rem..om e574e73b68 - Nifty : fixed gradient material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 21:41:07 +00:00
rem..om cd64f74898 - ANDROID fixed multitouch move taht was not sending additional pointers event. thanks to iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-30 19:40:24 +00:00
rem..om d76d58c0e9 - ANDROID audio renderer : added a state check on the MediaPlayer to prenvent it to throw errors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-29 14:52:23 +00:00
rem..om 0fe3b69f7d - ANDROID Reverted a change in resolution setting, as it apparently has bad side effects on GUI
- Android texture util ENABLE_COMPRESSION is now public to be able to change it. Accessing it through the appSettings would be better.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9436 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-29 14:50:18 +00:00
rem..om 4adaf86db9 fixed simple batch node : The SimpleBatchNode must NOT sets the refresh flag on its children when it is transformed. That's the very purpose of the SimpleBatchNode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9411 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-20 22:20:33 +00:00
rem..om 3f5fd9f6c3 Parallax mapping : changed calls to texture2DLod to texture2D as it fails on mac since it shouldn't be used in a frag shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9384 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-13 19:51:57 +00:00
rem..om 2b097ebdfc SkeletonControl : check hasArray for both BoneWeight and BoneIndex buffers before prep them for anim (convert them to non direct).
This to avoid an UnsupportedOperationException on android 4.0 when fetching the backing array on the BoneWeight buffer.
Before, only the BoneIndex was checked, and, for some mysterious reason, this ByteBuffer can be direct AND have a backing array on android 4.0. thus the preping wasn't done on the BoneWeight buffer that was kept as Direct. Hence the exception when fetching the array.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9371 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-09 19:38:59 +00:00
rem..om 311242b6d9 - Framebuffer can now render to a cube map face, thanks to dflemstr
http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/how-do-i-render-to-a-face-of-a-texturecubemap/?#post-171990

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9363 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 19:51:08 +00:00
rem..om c9d5011555 used dynamicEqual instead of dynamicHashCode in BatchNode and GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9362 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 19:10:50 +00:00
rem..om d33cbce333 - Changed BatchNode and GeometryBatchFactory according to material recent changes.
- BatchNode now does incremental batch upon adding a new geom to the batch (was there before but didn't work properly).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9361 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 19:02:13 +00:00
rem..om 2e704987b9 Fixed alpha variable declaration in SSAO Normal pass shader.Thanks to koris.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-01 19:16:11 +00:00
rem..om 9d7d5a388c Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold from the frag shaders
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-30 11:39:21 +00:00
rem..om 22edb7beb0 Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold attribute from the lighting material. Transparency discarding is now handled by the AlphaFallOff render state (as it should be).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9330 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-29 20:32:08 +00:00
rem..om 1c92f500eb AndroidAudioRenderer : propperly set the looping value on media player
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9323 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-19 16:09:18 +00:00
rem..om 2966b6a7b0 AndroidAudioRenderer : better mediaplayer life cycle handling
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 13:15:39 +00:00
rem..om 544e1f6342 Shaders : The line numbers on error now correctly takes the version line added to the shader into account
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9295 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-14 11:13:34 +00:00
rem..om 3a0e1f50ac Shaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-12 20:08:38 +00:00
rem..om 4155cacf74 PssmShadowRenderer : post shadow pas does not write depth anymore, also added a slight polyOffset to avoid z-fighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-12 19:36:40 +00:00
rem..om 91ea95328e Fixed isEqual to equals in GeometryBatchFactory and in TestMaterialCompare
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-11 22:30:29 +00:00
rem..om d50efde277 Fixed imports from last commit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9290 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-11 22:28:43 +00:00
rem..om c3ed68cfbb AnimationTrack null checked the animation channel in onStop, onPause and setLoopMode to avoid NPE
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9288 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-11 22:09:37 +00:00
rem..om bc0207f1fc BatchNode is now indexing the batches by geometry to easily retrieve them during the update phase.
This is fixing this issue http://jmonkeyengine.org/groups/general-2/forum/topic/batchnode-not-accounting-for-transformations-in-cloned-spatials/#post-170945

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-11 22:03:11 +00:00
rem..om 732955a56c fixed BoundingBox merge method javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9282 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-09 08:24:08 +00:00
rem..om e5b99b5035 ShadowUtil now use tempVars instead of instantiating new objects
Matrix4f now has a set method that teakes 16 floats like the constructor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9281 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-09 08:00:00 +00:00
rem..om cecf807001 SpotLight, inner and outer angle cos is now correctly packed when opening a saved light
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-09 07:35:20 +00:00
rem..om bf55974bf4 Changed the way post shadow pass is done. It's now a technique of the lighting material definition.
This allow to have shadows that fully works with partially transparent objects (like trees).
If a material does not have the postShadow technique, the renderer uses the fallback material (like before).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-07 19:55:43 +00:00
rem..om 7445565df3 Fixed buffer overflow when increasing the size of a BitmapText (issue 486)
thanks  to Daniel Brunton for the patch
http://code.google.com/p/jmonkeyengine/issues/detail?id=486&colspec=ID%20Type%20Status%20Component%20Priority%20Product%20Milestone%20Owner%20Summary&start=100

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9278 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-07 08:26:17 +00:00
rem..om e3ed779fc9 Committed iwgeric patch for native bullet PhysicCollisionEvent
http://jmonkeyengine.org/groups/android/forum/topic/null-objects-in-collision-callbacks-on-android-resolved/#post-169899

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-02 20:03:54 +00:00
rem..om a8bfb54b02 Fixed the mix up in fromAngles method's javadoc in Quaternion, pitch is Attitude and roll is Bank
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9273 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-01 16:04:32 +00:00
rem..om f156b31ce1 Spline now clones the control points to not keep a reference on the given vector.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-01 08:23:45 +00:00
rem..om a4c1fd7670 Fixed naming of pitch, yaw, roll thing in rotation that was wrong. Now they are named xAngle, yAngle, zAngle in Spatial and Quaternion. Pitch , Yaw, Roll are just mentionned in the javadoc.
There has been several posts about that, the last in date is here http://jmonkeyengine.org/groups/general-2/forum/topic/confused-about-euler-axes-and-jme-axes/#post-169736

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-01 08:22:26 +00:00
rem..om 203bc00a7d Lighting material now normalize normal value read from the normal map to avoid banding artifacts
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9261 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-25 12:36:27 +00:00
rem..om fecf355de2 ChaseCam : changed all private attributes and methods to protected so people can extend the chaseCam behavior as they see fit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-24 09:05:08 +00:00
rem..om cf93c2c6fc Fixed issue when the last waypoint of a motion path was not triggering listeners
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9259 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-23 10:50:36 +00:00
rem..om 7f6ce84ffd Implemented setSpeed for animationTrack as it needs special treatment
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-23 10:38:32 +00:00