103 Commits

Author SHA1 Message Date
nor..67
a98fbb83b6 - change natives extraction to support audio FX on osx (for extracting openal.dylib for soft fx)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9686 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-25 11:12:45 +00:00
nor..67
65e469d8b8 remove unused import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9660 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 18:25:31 +00:00
nor..67
cd4b513afe SDK:
- make VideoRecorderAppState store the orginal system timer instead of just setting a NanoTimer when detaching

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9659 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 16:56:47 +00:00
nor..67
ab2c34fafb SDK:
- add option to set framerate for VideoRecorderAppState

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-16 14:00:11 +00:00
pot..om
16851eb1d8 Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 01:35:56 +00:00
nor..67
382c3da1a4 - add hack to natives extraction to extract .jnilib named libraries from jar on OSX systems running Java 10.7+ (which uses .dylib suffxies)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-10 12:28:40 +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
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
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
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
dan..om
5ac9953f62 Implemented the ability to change the mouse cursor.
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").

NOTE: Supported formats are  "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 21:18:52 +00:00
nor..67
ea0be5cf9f - fix imports across engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 13:10:26 +00:00
Sha..rd
e18d1c261c * Prevent ActionListener.onAction( ... , true ) from being called repeatedly when using AWT panels
* Formatting in AwtMouseInput

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-25 00:29:35 +00:00
sky..ok
a625e8ae2a Javadoc fixes R PHUN
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 15:11:38 +00:00
PSp..om
8bfe663402 Fixed the video recorder app state to attach itself
to the last _enabled_ view instead of just the last
view.
Fixed the internal IsoTimer to report the proper
resolution.  It was reporting picoseconds when it
is actually returning milliseconds.  This manifested
itself as a stuck g_Time in my shaders because time
was creeping along so slowly (if at all... I'm not
sure float has enough resolution to measure 
1 / 1000000000 resolution.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-08 06:13:12 +00:00
sky..ok
96e20aad8d Javadoc fixes: Down from 260 to 221 warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9347 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-05-07 17:03:25 +00:00
nor..67
904d835742 Add variable quality and video file frame count to VideoRecorderAppState, thanks to @entrusc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-09 14:02:38 +00:00
Sha..rd
be7a22e3d5 * Remove most common usage of IntMap.iterator()
* Correct small typo in UniformBinding
 * Make IntMap.iterator() make new iterator each time 
 * Prevent TangentBinormalGenerator from crashing when it encounters some mesh without texcoord/normal buffers
 * AWTLoader now properly fails when AWT can't load the image instead of returning null 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-28 03:57:54 +00:00
Sha..rd
8c0e5ad541 * Removed useless null check in Plane
* Moved Natives class to desktop source package

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 02:00:56 +00:00
sky..om
8e721f5c93 Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
sky..om
1801f1f336 Brought the number of Javadoc workings down to 391 from 410
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:59:16 +00:00
bre..ns
7d2d0bdc75 fixed arraycopy buffer overflow error for Shorts in AWTLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-13 17:51:09 +00:00
nor..67
082f2fb633 - move NVCompress tool to SDK
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:45:56 +00:00
nor..67
e6fae36159 - remove Java 1.6-only call in AwtPanel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:23:08 +00:00
nor..67
e441f95d5e - use JmeSystem.getStorageFolder() for SaveGame util
- move SaveGame util to core plugins
- fix BinaryImporter accessing assetManager if null

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8871 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-06 19:18:59 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
nor..67
2c0fe5e938 - also do check for input stream in Natives extraction
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:54:32 +00:00
nor..67
9574f9dd64 - make sure Natives extraction closes stream
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:53:03 +00:00
nor..67
28ad6d72eb - make UrlLocator not print warning when asset can not be found (FileNotFoundException)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8724 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-19 13:11:10 +00:00
nor..67
7927ad4bbf - add SDK workaround for UrlLocator
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8722 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-19 09:38:09 +00:00
nor..67
fce5f6556b - fix in VideoRecorderAppState cleanup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8718 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:39:39 +00:00
nor..67
86956cf130 - make VideoRecorderAppState record post effects..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:34:56 +00:00
nor..67
7f17c8d1f1 - javadoc update and better default file creation for VideoRecorderAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8716 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:17:50 +00:00
nor..67
183f46ed3e - add empty constructor to VideoRecorderAppState using user.home and currentTimeMillis
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8715 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-18 00:03:47 +00:00
nor..67
69e691872d - simplify multithreading in VideoRecorderAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8714 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 23:24:00 +00:00
nor..67
04e348f0fb - improve multithreading in VideoRecorderAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8713 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 21:17:54 +00:00
nor..67
47e393ba23 - add javadoc to VideoRecorderAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8710 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 02:34:11 +00:00
nor..67
11b5a1395d - make timer of VideoRecorderAppState actually throttle fps if actual fps is greater than target fps, threaded file writing
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8709 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 02:17:35 +00:00
nor..67
f6e3a3eab2 - set NanoTimer when detaching VideoRecorderAppState
- make File in VideoRecorderAppState accessible

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8708 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 01:23:54 +00:00
nor..67
0420b4121e - cleanup VideoRecorderAppState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8707 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:50:36 +00:00
nor..67
fa68e89e6c - add fix for video recorders IsoTimer getTime()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:38:50 +00:00
nor..67
e8ffefe0e4 - add VideoRecorderAppState with M-JPEG avi output using java only
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 22:22:03 +00:00
sha..rd
b2ea6e74d2 * Make AWT mouse wheel events consistent with LWJGL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8666 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-13 23:10:56 +00:00
nor..67
23b4e2fcf0 - synchronized access to AssetManager ClassLoader list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:36:45 +00:00
nor..67
c0695b0a3a - make ClassLoader list in AssetManager a syncronized list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:33:11 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
511c417fe7 * AssetEventListener now has an additional callback that can be used to detect when a dependent asset has failed to load.
Since dependent assets that were not located have no exception thrown, detection of this event could be needed by some tools e.g. jMonkeyPlatform to indicate to the user that the asset may have not been loaded correctly. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:56:15 +00:00
sha..rd
177c88d645 * Rewrote handling of URL based locators to use a shared UrlAssetInfo.
* The AssetInfo.openStream() must create a new stream each time (required by javadoc/spec)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:04:10 +00:00