45 Commits

Author SHA1 Message Date
nor..67
23e949974a - change default error message of engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9695 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-29 15:58:18 +00:00
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
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
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
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
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
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
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
sha..rd
d1e81fc8c9 * Specify library path for JInput as well as LWJGL in case the user's home directory is used for natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 20:29:49 +00:00
nor..67
2c0775e3f3 - remove size check from natives extraction (write test needed for windows anyway)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 21:34:46 +00:00
nor..67
45af20de0c - add write test to natives extraction
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 19:27:15 +00:00
nor..67
65cbed47c6 - change natives extraction to check for space *and* writability
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 14:26:38 +00:00
nor..67
33fb670771 - change natives extraction to use getUsableSpace(), which checks for user permissions etc. too.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 17:32:26 +00:00
sha..rd
164dec188a * Native extraction will place natives in working directory unless its non-writable, in that case it will place them in <home dir>/.jme3/natives_<apphash>
* Hopefully fixed NPE in computing extraction hash

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 00:01:07 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sha..rd
97145d7d4d * Natives are now extracted to user.home based on hash of classpath and last modified of jMonkeyEngine3.jar
* Fixed crash in BloomFilter when screen size is 1x1

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 03:45:28 +00:00
sha..rd
a236c7d03b * Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-05 01:51:04 +00:00
nor..67
6df9eaf033 - add backengineered PaintMode.java ;)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8345 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-04 12:35:48 +00:00
sha..rd
e3bff6d62a * Moved checkFrameBufferError() to part that sets up framebuffer. Can prevent odd crashes on some systems before any framebuffer is active.
* AWT Panels
    - Added automatic throttling to update loop if none of the panels are visible to the user (e.g. covered by another tab)
    - Fixed NPE that could occur when an AwtPanel becomes invisible
    - Called reshape() on all viewports to which an AwtPanel is attached when the panel is resized
    - Fixed inverted mouse coordinates

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8344 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-04 04:30:48 +00:00
sha..rd
fa92c00a20 * AwtKeyInput now synchronized properly between OGL and EDT threads
* AwtMouseInput will no longer generate events with no mouse movement
 * Fixed issue where settings specified on AwtPanelsContext were not copied properly to the offscreen context
 * Significant performance improvements in AwtPanel system
  - Use of proper locking to prevent deadlocks
  - Optimized BufferStrategy by using a single, accelerated front buffer
  - Removed pbuffer.makeCurrent() which was not necessary and used many CPU cycles

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-03 05:05:24 +00:00
sha..rd
a28d0d8baf * Initial commit for light-weight jME3 AWT panels
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8323 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 04:23:52 +00:00
sha..rd
adf65d648a * Fix message "WARNING: Cannot locate native library: libbulletjme"
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 00:36:42 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
nor..67
15885dcfa9 - update JmeSystem version number
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-26 17:11:45 +00:00
sha..rd
381764a0ec * System.load() will still be called on natives even if the file already exists
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7880 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 16:27:32 +00:00
sha..rd
7f96a82b77 * Natives will now get extracted only if they were actually updated (last modified date changed)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7866 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 04:35:26 +00:00
rem..om
620e339b7c SettingDialog :
- Image url does not need an additionnal "/" at the start of the path (still work with it though). It to be consistent with the paths used for the asset manager.
- If the image is not found an AssetNotFound exception is thrown.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 08:39:39 +00:00
sha..rd
a58814b838 * Load proper bulletjme dll for windows 64 bit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7442 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 18:08:27 +00:00
nor..67
1f14c00d2e - add disable warning option to Natives.jar extraction
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7419 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 22:23:54 +00:00
nor..67
5ae0340ccf - use finally in Natives.jar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7418 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 22:13:05 +00:00
nor..67
ea6e817f7f - load library in Natives.java on demand
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7417 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 21:51:33 +00:00
nor..67
469ac7ba51 - use current dll for windows 32bit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7412 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 16:10:08 +00:00
nor..67
4bb937b155 - make 64bit default for native libraries (e.g. libbulletjme32.so for 32bit)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7411 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 16:01:27 +00:00
nor..67
ba365cf8f3 - cleanup build process
- unify jME3 jar file names
- build optional libraries
- build android jar as opt library
- build native bullet as opt library
- cleanup Natives.java
- add bullet native extraction to Natives.java
- add better macosx Java7 recgnition to JmeSystem.java
- add dependency finder ant lib for comparing native and java bullet API

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7403 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-03 14:33:55 +00:00
sha..rd
0d49c41b38 * Remove messed up logging setup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:35:10 +00:00
sha..rd
7dd3d52e9e * Removed many deprecated methods and classes
* Fixed various small issues detected by code analyzer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:19:11 +00:00
nor..67
0e10f7bdc3 - fix logging to only replace logger for jme3 packages
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 22:34:50 +00:00
sha..rd
90bf137894 * Added new renderer capability: NonPowerOfTwoTextures
* LwjglRenderer will show warnings when NPOT textures are used and the graphics card doesn't support them
 * LwjglGL1Renderer will scale textures to POT sizes if NPOT is not supported
 * Enable simple logging

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:45:29 +00:00
nor..67
9e53abbb7a move jme3 to trunk
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-14 12:55:32 +00:00