2380 Commits

Author SHA1 Message Date
rem..om
01419a5fa4 fixed Node.attachChild javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 21:36:22 +00:00
rem..om
306e88c678 Changed the way the reflection cam position and orientation were computed in the SimpleWaterProcessor to avoid some issues when the cam was parallel to the water plane. thanks to @sgold in this thread http://hub.jmonkeyengine.org/forum/topic/simplewater-with-horizontal-camera/
Also extracted the code in an utility class so that the WaterFilter can use the same routine without code duplication

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10899 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 20:14:24 +00:00
iwg..ic
9e8abfb6ec Android: Remove Escape key mapping from InputManager (defined in SimpleApplication) when using Android platforms.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10898 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 18:20:38 +00:00
iwg..ic
9ed99ce21f Add placeholder for future showVirtualKeyboard method for platforms implementing TouchInput
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10897 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:30:51 +00:00
iwg..ic
f7e8f405d5 Add toString() method for TouchEvent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10896 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:22:35 +00:00
iwg..ic
813d163ea7 Add wheel values to toString() for MouseMotionEvent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10895 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-20 13:21:18 +00:00
Kae..pl
fe32d59515 Refactoring: reducing the amount of operations performed in generated textures by fetching all required functions during setup rather than generation time for each pixel.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10894 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-19 17:54:38 +00:00
Kae..pl
20fade37c5 Bugfix: setting the right color for vertex colors for versions 2.62 and below (the color factors were misplaced in older blender versions)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10893 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-17 13:18:31 +00:00
Kae..pl
fd28efd64c Bugfix: fixed a bug in loading vertex colors for non-smooth meshes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10892 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-17 12:51:28 +00:00
Kae..pl
a01e9ab41c Bugfix: vertices colors are now applied correctly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10891 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-17 12:34:48 +00:00
Kae..pl
a4b6107f5b Bugfix: loading vertex colors for B-Mesh (fix provided by Remo Arpagaus).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10890 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-15 14:12:11 +00:00
iwg..ic
21f9aac4ce Fix issue with clearing the map of native objects without clearing the ReferenceQueue. Caused exception in NativeObjectManager when Android recreated the OpenGL context before objects were polled from the ReferenceQueue.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10889 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-13 17:39:55 +00:00
Kae..pl
c5725e238b Bugfix: loader now catches all possible exception and throws IOException with a proper information abount unexpected error.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10887 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-10 18:00:59 +00:00
voi..om
ebc9b2f7b5 Nifty GUI: call mesh.updateCounts() after updating batch content to fix StatsView displaying wrong values
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10886 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-10 17:20:36 +00:00
rem..om
ab89b55a53 Fixed an issue where the fpp and all its filters were reinitialized when all filters had been disabled and the first one was re enabled. Thanks to James Mundy to have found this issue.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10885 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-10 13:20:00 +00:00
rem..om
d502d22d0e Added LightPosition, LightDirection, AmbientColor and LightColor in UniformBinding so they can be referenced and used in the shaderNodes editor.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10884 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-10 10:21:35 +00:00
phr00t
15e379c8f1 Fix typo..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10883 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-09 22:44:35 +00:00
phr00t
614bffa9ae Native bullet raytest m_flags now accessible to Java, updated bullet builds incoming...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10881 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-09 22:32:27 +00:00
bre..om
ac51e1d885 Allow a custom Executor to be passed to the TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10880 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-08 17:43:50 +00:00
Kae..pl
8e1bedf7e7 Bugfix: fixed an NPE exception that occured during flat textures merging.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10878 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-08 08:40:25 +00:00
bre..om
fe1f90dbf6 Added a method to manually clean up any Terrain lod control threads.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-07 21:18:39 +00:00
Kae..pl
61c3d27942 Feature: improved bone debugger shape if provided with bone lengths (if no lengths data is available then the view looks as usual).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-06 22:34:59 +00:00
Kae..pl
7987f5edf0 Refactoring: removing BlenderContext cleaning; reference to the instance of this class is lost instead after the loading is done.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10875 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-04 22:04:26 +00:00
gouessej
f49992d15b Switches to JOGL 2.1.2
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-04 21:31:21 +00:00
Kae..pl
44a7b1f098 Feature: applying static pose transformations for bones.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10872 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-03 17:32:43 +00:00
Kae..pl
6b12e0d071 Bugfix: fixes to bone's transformation evaluation in LOCAL and POSE spaces.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10871 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-03 17:29:22 +00:00
Kae..pl
5097881499 Refactoring: simplified method that loads the object's transformation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-02 15:14:52 +00:00
PSp..om
46b573db52 Fixing some implicit casts. These must be ignored
in GLSL 1.5 but with older GLSL spec'ed I was getting
implicit cast errors.
I believe these are harmless if not needed but I'm
not sure if there are hidden ramifications.  This
looks more correct to my eyes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10866 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 20:49:36 +00:00
PSp..om
b8071a2f50 Properly set the number of samples in some of the
tests to find other filters that worked and didn't
work in the presence of AA.  (CrossHatch is broken
similarly to the way DoF was broken.)


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10865 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 20:24:02 +00:00
PSp..om
6469c739c5 Fixed the DepthOfField effect to work with AA
enabled.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 20:22:45 +00:00
Kae..pl
1c26d91bb2 Bugfix: fixed a bug that raised IndexOutOfBounds exception when blending was applied to image with mipmaps. (commited once more because the previous version still had errors).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10863 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 17:53:50 +00:00
Kae..pl
3dbe5fcec6 Bugfix: fixed a bug that raised IndexOutOfBounds exception when blending was applied to image with mipmaps.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10862 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 15:07:04 +00:00
Kae..pl
c278b39c82 Bugfix: fixed an issue that caused NPE to be raised when UnsupportedConstraint was allocated.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10861 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-01 12:30:17 +00:00
rem..om
b14f33936f the ShaderNodesLoader is now properly reset when loading several technique def using nodes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10859 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-31 18:04:06 +00:00
Kae..pl
1ae900023e Refactoring: making bone constraints to be applied from the root bone to the children and refreshing bone world vector after baking bone's constraint.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10856 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-29 20:15:30 +00:00
rem..om
f6ca843f03 Fixed how Hardware BoneIndex and BoneWeight buffers are handled in extractVertexData when used for a shared mesh.
All buffers are now properly initialized and data copied over if needed.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10855 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-29 19:50:41 +00:00
Kae..pl
27a7fde24d Feature: added support for influence factor in IK constraint.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10854 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-28 17:32:24 +00:00
Kae..pl
821d6b6aa3 Bugfix: locations of bones not connected to their parents are now properly applied if their constraints force them to
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10853 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-28 17:26:34 +00:00
Kae..pl
e148d0e01a Bugfix: fixed a bug that caused NPE to be raised when object had armature but bones were not attached to vertices (now every skeleton that is defined in the blender file is loaded).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10852 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-28 14:20:11 +00:00
Kae..pl
2ccadb7a7a Bugfix: fixed a bug (that occured during work on IK) that caused NPE to be raised when constraint other than IK was applied to bone.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-28 14:18:48 +00:00
PSp..om
d89f4caa94 Added the non-wireless X Box controller mappings
and remap the .z axis (the triggers) so that it
doesn't confuse the remapped rx axis.  Thanks
to @revv for the patch.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10847 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-27 10:17:10 +00:00
sha..RD
27a4d4d268 * On Windows, forcefully load our version of OpenAL to prevent any currently installed versions in System32 from overriding it
* Increase buffer size used to extract natives from 1 KB to 100 KB to speed up extraction 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10846 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-26 20:26:02 +00:00
Kae..pl
0921540124 Bugfixes:
- fixed issues with bones transformation applying and reading in world space
- fixed issue with lack of animation track for some bones whose constraints affected the animation

Refactoring:
- improved (and simplified) bone loading

Features:
- added basic implementation of the IK constraint (still a lot to be done but works for simplest cases)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-26 20:05:37 +00:00
rem..om
509f4eae35 Removed remaining debug system out in SpotLight
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-21 16:23:14 +00:00
rem..om
ee03907418 Changed the Mesh.isanimated to check for BindPose,BoneWeight, BoneIndex instead of just BindPose to avoid crashes in the skeleton control on old models.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-21 06:42:04 +00:00
Kae..pl
a6004618ce Bugfix: changed method visibility from private to public to prevent compilation time errors.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-20 14:47:39 +00:00
Kae..pl
32b79324a9 Bugfix: fixed an issue with proper bone orientation in 3D space (as in blender bones have different local coordinates system than other features); this fix caused more models to be loaded properly and made the code more simple
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-20 14:45:33 +00:00
Kae..pl
c0f0f0ca9e Bugfix: BlenderModelLoader attached root objects to the scene node before applying the constraints; this sometimes caused NPE to occur while applying the constraints
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-20 11:53:27 +00:00
PSp..om
a2a39bd0d5 Added a connected check to DefaultClient's channel-based
send method.  Even though it delegates to a method that
will wait for being connected, send(channel, msg) can't
properly do its channel verification until the connection
is fully setup.  So now it waits.
I also went ahead and added constants for the normal default
(previouslly hidden) channels that are used during normal
send(msg).  Useful for code that wants to deal with channels
genericly but still wants to be able to use the default
channels.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-18 03:08:29 +00:00
PSp..om
db8dc8d4fa Added a toString() method to DisconnectInfo.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-18 03:06:37 +00:00