PSp..om
4e98d0e13d
Added a method to clear collision data. This is often
...
necessary when modifying the mesh in some way. Previously,
the only other option was to force creation of the collision
data for every change but this is wasteful since the collision
data does not need to be regenerated until collideWith() is
called.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
Kae..pl
e7aeb9a222
Tests: added a method that returns the known blender primary types names. This will be needed in unit tests. (forgot to make the method static).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
Kae..pl
c0f46d97c5
Tests: added a method that returns the known blender primary types names. This will be needed in unit tests.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
797caf6936
Provide access to an in-order list of all class
...
registrations.
Also made the direct register by ID method public
so that external callers can register serializers
for specific IDs.
With these changes, it is possible for a server to
authoritatively send out a list of all registrations
to its clients greatly reducing the "registration
dependency" that exists otherwise.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10948 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
90913bf8c3
Catch another case where shutdown state can cause a
...
key to be invalid before it is checked. The "bug"
was that shutdown of a network server would occasionally
log an exception about a canceled key.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
Kae..pl
a499e972ab
Bugfix: fixed an issue that was recently introduced with not negating Y-rotation values when Y axis was up.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Kae..pl
5e4af7a4fe
Feature: disabling texture optimisations by default.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10915 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
rem..om
01419a5fa4
fixed Node.attachChild javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
iwg..ic
f7e8f405d5
Add toString() method for TouchEvent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10896 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago