2636 Commits

Author SHA1 Message Date
Sha..rd
e78474a5b1 * Fix issue 506
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 21:52:17 +00:00
Sha..rd
be58274ab8 * Fix issue 520 again: pressing mouse over jme and releasing over nifty did not tell jme about the release.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:39:15 +00:00
Sha..rd
f82be26af8 * Fix issue 520
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:34:16 +00:00
Sha..rd
8e153c0379 * LwjglGL1Renderer: do not set vertexbuffer on mesh if vertexcolor is disabled. This fixes issue where an unshaded material still uses vertex colors even if they are disabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9613 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:32:57 +00:00
Sha..rd
20566963f8 * Add javadoc for InputManager.setMouseCursor()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9612 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:29:42 +00:00
pot..om
a76f3a2cab Reset viewport size to current camera settings after reading the framebuffer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 19:48:35 +00:00
pot..om
bb631ab13a Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 01:55:37 +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
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