3720 Commits

Author SHA1 Message Date
PSp..om
767231a4a8 Fixed an NPE in the FlyCamAppState that occurred
when shutting down an app with no InputManager.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-23 02:11:32 +00:00
Kae..pl
cf830b4c7c Bugfix: fixing errors that appeared during mirror modifier loading (there is still mirror rotation being not supported, but hope to fix that soon).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10944 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-18 12:32:06 +00:00
rem..om
f8c317f593 BloomFilter, applied James patch to make sure the filter is properly re initialized when de downsampling factor is changed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-17 08:06:49 +00:00
Kae..pl
b77f5a422c Bugfix: fixed a bug that caused objects with negative scale to have improper transformations.
Bugfix: improved the matrix loading method (now the matrix is switched to Y-up axis withou loosing the information about negative scales).
Refactoring: decreased the amount of allocated matrices during transformation loading.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-14 20:01:52 +00:00
Kae..pl
68debc95eb Bugfix: displaying the bone name in BoneContext toString() method even if the bone is not yet created.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-13 14:34:37 +00:00
Kae..pl
25e20509c6 Bugfix: bone context returns the length of the bone without taking model scale into account; that caused troubles during constraint's computations but should be used for bone debugger length (an appropriate notice is in the method's javadoc).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-10 19:29:52 +00:00
Kae..pl
b5357e96ec Bugfix: taking scale into account when loading constraint's world matrix.
Refactoring: reducing the amount of allocated matrices during applying and loading constraint's matrices.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-10 18:47:53 +00:00
PSp..om
faf04cbb1f Keep better track of the independent alpha test related
state...
This fixes a bug where if alpha test was enabled with
a fall off of 0 that it could never again be disabled
unless alpha falloff was first set to a non-0 value.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10938 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-09 09:03:27 +00:00
PSp..om
4fc8cb8443 Added additional state for alpha test because
falloff can logically be 0 and have alpha test
still enabled.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10937 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-09 09:02:01 +00:00
rem..om
79def7aa8f Re added nifty optimization to not render fully transparent quads
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10936 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-09 08:27:38 +00:00
rem..om
d6f3b4a5bc Removed a useless line of code in Parallax.glsllib
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10935 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-09 07:54:34 +00:00
dan..om
8ff0cd386a FEATURE: Added some features to ScreenshotAppState.
You can now:
- Specify the name of the screenshot.
- Tell the state not to append numbers.

The state can now be used for screenshot while saving.

Also fixed some javadoc lines.

Note that the default behavior remains the same as it was before.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10927 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-05 19:04:22 +00:00
Kae..pl
17a0554897 Bugfix: fixed a bug that caused models to be heavily spoiled if they had armatures with identical bones' names.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10926 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-01 20:37:13 +00:00
Kae..pl
9289d03604 Bugfix: fixed a bug that caused IDENTITY matrix to be changed during loading (sorry about that ;).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10925 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-01 10:49:18 +00:00
PSp..om
66c1b0b457 Modified containsGui() to work like the other contains
in that it ignores null. Otherwise, an empty guiNode
causes an NPE.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10924 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-12-01 01:56:39 +00:00
rem..om
9d63a7fc02 Fixed an issue with how reading text files with bufferedReader was done. Using a null check for EOF instead of buffer.ready(). This was causing a NPE on android 4.4
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10923 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-28 21:28:13 +00:00
Kae..pl
45e82cdbb1 Bugfix: fixed parenting issue (turned out that blender does not always store parent inverse matrix in objects parentinv field)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10922 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-28 21:19:31 +00:00
Kae..pl
382c1c85f5 Bugfix: added tracks equalisation method (inequal tracks' frame count caused exceptions during animation simulations).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10921 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-28 20:03:46 +00:00
rem..om
7a612494a2 Fixed an issue introduced by last change on the filter post processor when disabling all filters before the Processor is initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10920 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-27 20:00:29 +00:00
iwg..ic
911958cfbe Android: set PreserveEGLContextOnPause when the os is rev 11 or higher. Dramatically reduces the resume time when the context can be preserved.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10919 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-27 02:11:49 +00:00
iwg..ic
743aa2144a Android: Add scaling to input coordinates (onTouch Coordinates from Android) to compensate for manually set surface resolutions. Android always sends the touch coordinates relative to the view resolution, not the resolution of the surface. If users use view.getHolder().setFixedSize(width, height) in MainActivity.onCreate(), then the input coordinates are not correct which messes up ray casting and other things. This scales the input coordinates before sending them to jME.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-26 02:35:00 +00:00
iwg..ic
4f75cb688f Android: Move application initialization to the first onDrawFrame. Resolves issues where simpleInitApp gets called without the correct appsettings width and height.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-26 02:20:42 +00:00
Kae..pl
1e33d2b0f3 Bugfix: allowing to use vertex colors when mesh has no material defined in blender.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-25 13:26:05 +00:00
Kae..pl
5e4af7a4fe Feature: disabling texture optimisations by default.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10915 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-24 21:37:15 +00:00
Kae..pl
dd8b8fbd5f Feature: added support for line and point type of meshes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10914 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-24 18:56:57 +00:00
Kae..pl
69e4392ba9 Bugfix: fixed an issue with wrong vertrex colors applying (along with classes prepared to implement line and point mesh loading).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-24 09:27:37 +00:00
roo..li
e20d0c0045 fixed typos for Issue 552: AbstractCinematicEvent JavaDocs errors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-23 15:01:37 +00:00
iwg..ic
cf92f30090 Android: Change Android Input to the new AndroidInputHandler.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10908 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 17:15:39 +00:00
iwg..ic
60c58fd081 Android: Add new extendable input system to organize various Android inputs so that they can be extended to support new Android input functionality when the OS running the app supports it. Not activated yet. Just adding the supporting classes for now.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 13:33:30 +00:00
iwg..ic
67aa834369 Android: Add onHover events to TouchEvent. Not implemented yet.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10906 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-22 13:07:43 +00:00
iwg..ic
a1dee924f6 Android: Updating source compile android.jar library to rev19. Developers, don't forget to use Build.VERSION.SDK_INT to check for the OS version when using Android features added after rev9. Base version of Android supported by jME 3.1 will be rev9 (Android 2.3).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 22:11:23 +00:00
rem..om
9bf532b95e Committed sgold's patch to BoundingBox discussed in these threads:
http://hub.jmonkeyengine.org/forum/topic/sky-visibility-in-a-simple-scene/
http://hub.jmonkeyengine.org/forum/topic/infinite-extents-in-com-jme3-bounding-boundingbox/

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10904 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 22:02:28 +00:00
rem..om
1b2b9a6e88 Explained PCFPOISSON filtering in EdgeFilterinMode enum javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10903 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 21:50:05 +00:00
rem..om
d7b5283e7d Changed DirectionalLight.setDirection javadoc to be more explicit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 21:43:08 +00:00
rem..om
d7414262e2 Applied javadoc patch to SkyFactory from sgold
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10901 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-21 21:40:03 +00:00
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
phr00t
256f1c9229 Updated Native Bullet 2.82 builds to support m_flag modification via Java (now supported on all platforms)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10888 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-11-11 16:37:33 +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