2524 Commits

Author SHA1 Message Date
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
pot..om
eb024346ff Added constructors and method to allow users to set the file path to store the screenshots.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-29 01:52:05 +00:00
pot..om
48b40f4e3c Fixed issue where MOVE events were being generated even if the deltaX and deltaY were both 0. Now MOVE events with both deltaX and deltaY values of 0 will not be generated. See post http://jmonkeyengine.org/groups/android/forum/topic/differentiating-tap-from-a-quick-downmoveup/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9596 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-28 23:11:47 +00:00
pot..om
0deeb597f1 Screenshots are now supported on Android. Be Aware, file location for screenshots is now based on JmeSystem.getStorageFolder. This means that on Desktop systems, the screenshots will be placed in the user.home location instead of the application directory. Other changes include: Moved ScreenshotAppState to core, added takeScreenShot method, force glViewPort to full screen to handle cases where the last postView ViewPort isn't full screen. See post http://jmonkeyengine.org/groups/android/forum/topic/screenshotappstate-for-android/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-28 23:06:19 +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
bre..ns
461882701d uncommented some textures in TerrainTestAdvanced
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-27 15:09:30 +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
bre..ns
8fa651fe43 patch for the terrain editor slope tool from shirkit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9588 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-26 15:46:11 +00:00
Kae..pl
e9af2e4dc4 Classes added that represent new constraints in blender. Classes have no implementation yet, they simply exist so that the loaded models will not crash when they use them.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9587 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-26 13:23:09 +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
bre..ns
f5cd1e97c4 fixed the terrain normal calc for the edges
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9584 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-25 13:34:31 +00:00
bre..ns
b59ec271ca terrain now checks the ray's limit when colliding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9583 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-25 00:03:01 +00:00
bre..ns
d3b280c7e3 added 'slope' tool to terrain editor, and some more options to the 'level terrain' tool. Thanks @shirkit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9582 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-23 22:38:09 +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
Sha..om
94f424f203 * ViewPort will only set refresh flags on scene if its a Geometry (since normally a node based scene graph would have these flags set already).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9580 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-23 14:52:24 +00:00
Kae..pl
86be16cda4 Fixed Issue 498: Blender loader has strict requirements for animation import.
(Although the animation of the given model looks bad because bone constraints are not yet fully supported.)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9577 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 12:04:49 +00:00
Kae..pl
3a5b8bb3d6 Using one UV buffer for all types of texture mapping (the textures are cast to different UV's when neded). Support for using generated textures as normal maps (looks best when large generatedTexturePPU is used and on large faces).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 11:55:50 +00:00
bre..ns
22f0410e78 hooked in key events to terrain editor tools
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9575 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-21 07:21:03 +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
pot..om
242f5d82f9 Fixed issue with AndroidInput not resetting the last touch position correctly on the UP and DOWN actions. See forum post http://jmonkeyengine.org/groups/android/forum/topic/small-bug-in-androidinput/#post-183530
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9572 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-20 19:28:35 +00:00
Sha..rd
c7186886bc * OGLESShaderRenderer.readFrameBuffer() can now read from the main framebuffer in RGBA format.
* Add JmeSystem.writeImageFile() for a platform independent image writing method. Desktop and Android implementations are available.
 * ScreenshotAppState no longer depends on AWT or Desktop Java, instead it uses JmeSystem.writeImageFile() which will run on Android as well.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-20 01:06:15 +00:00
Sha..rd
a3255e4f45 * Javadoc fixes to FastMath
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:52:35 +00:00
Sha..rd
9d95528e21 * Fixed issue where setReverbEnabled(false) after setPositional(false) did not actually remove reverb. Reverb is now removed automatically when setPositional(false) per contract of the method.
* Formatted the classes.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:46:04 +00:00
Sha..rd
5497fcc7e6 * Fixed issue where attaching scene to viewport does not force it to update
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:44:26 +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
nor..67
2a18784041 SDK:
- remove material file check from the ogre scene data object

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9560 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 15:54:17 +00:00
nor..67
558dc2bcbb SDK:
- fix +material issue for .scene loader
- check for actual name in AssetKey when warning about missing ogre material file

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9559 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 14:39:07 +00:00
Sha..rd
6c12291559 * Missed this one yesterday, removed FixedFunc name from UnshadedArray.j3md
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:42:20 +00:00
Sha..rd
eae0a18246 * Fix crash in SaveGame class due to lack of regex escape -> used char token instead
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:40:32 +00:00
Sha..rd
0a3f7903a4 * Added methods to BufferUtils to create Vector4f buffers or set them
* Start implementing issue 504 (capacity -> limit)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:39:25 +00:00
Sha..rd
f401c9c1da * Material world parameters are now set in uniformBindingManager instead of RenderManager
* Fix issue 497 -> TempVars are no longer used to set world parameters so they cannot leak onto other params or lighting values
 * Uniform is no longer serializable
 * Cleaned up uniform from old/outdated stuff

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:36:06 +00:00
Sha..rd
9b9fa57de4 * Formatting and names in ShaderDebug
* Remove shininess=0 in TestParallax, its bad

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:33:09 +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
Sha..rd
d46ee26002 * The bounding box will compute faster, maybe even more faster on Android .. If its bad, please go ahead and complain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:02:57 +00:00
Sha..rd
7825249952 * Made some classes pretty, hope you like it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:00:03 +00:00
Sha..rd
27e97c34da * 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:56:51 +00:00
Sha..rd
55d75c5abc * Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
 * Shaders no longer have the "usable" member and the renderers don't use it either (its useless)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:53:53 +00:00
Sha..rd
af7435ffdf * jME3 now shows error dialog on exception by default (unless user overrides handleError)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:49:05 +00:00