110 Commits

Author SHA1 Message Date
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
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
sky..ok
f9bd837a7d Fixed typo in UrlLocator
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 19:47:12 +00:00
sha..rd
5feebef7c5 * AwtMouseInput event queue is now synchronized like it should be
* TangentBinormalGenerator no longer writes binormal buffers. Instead it writes the W coordinate of the tangent based on the binormal's sign. Should fix "normal map seams" type problems

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-11 01:07:15 +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
sha..rd
062507e23e * Render off screen surfaces even if main screen isn't visible
* AWTLoader now supports 16-bit grayscale PNG loading as Luminance16
 * AWTLoader uses try/finally on stream
 * Fix exception in MaterialLoader (was it really that hard to fix, normen?)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 23:41:46 +00:00
sha..rd
045e2a4317 * AssetManager.loadAsset() with null key will throw exception
* Make use of try/finally paradigm for all loaders

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8183 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 22:42:32 +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
db0a4f23a8 * New block language parser
* Rewrote J3M loader
 * AssetManager.unregisterLocator() must be implemented
 * Added support for material default vars
 * Apply NVIDIA spot light fix for TerrainLighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-17 03:25:48 +00:00
sha..rd
77dd6761ee * Added fix for when an mesh xml animation has no tracks will no longer throw NPE
* FileLocator now supports "." as a path

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 20:36:43 +00:00
sha..rd
f15107da95 * All asset cache operations can now work on smart cache
* Added better test for asset cache

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 16:05:21 +00:00
sha..rd
73aa30785b * AssetPathURL now accepts non-relative asset paths
* ZipLocator will now crash if the specified zip file does not exist
 * Fixed crash when restarting context with pixel format changes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7914 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 14:51:33 +00:00
sha..rd
026a72d57e * Fix crash in TestEverything
* Fix crash in TestWalkingChar 
 * Fix crash in TestDopper
 * Fix crash in TestApplication 
 * Fix deprecation warnings in audio tests
 * Fixed issues with particle emitter cloning and import/export
 * Fixed TempVars crashes in BoundingSphere 
 * Fixed incorrect deprecation warning in AudioNode 
 * Added smart caching to materials 
 * Added test to verify that particle export and cloning is working correctly

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 22:44:30 +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
15fbe27d13 * Now added "asset name requirements" to FileLocator to prevent Windows -> Linux porting issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 05:27:55 +00:00
sha..rd
9f160234f8 * Added case-sensitivity and other "asset name requirements" to ClasspathLocator to prevent Windows -> Linux porting issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7868 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 05:20:38 +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
sha..rd
235646f38f * Minor shader formatting
* Particles now have proper glow
 * Fixed bug where references to static variables would stay in ParticleEmitter and particleInfluencer, causing havoc
 * Fixed warning in InputManager when using ScreenshotAppState
 * TestEverything now uses TangentBinormalGenerator, since before there was no tangents for the floor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 03:47:29 +00:00
nor..67
a1cc3326ce - add j3f format
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7705 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-23 17:46:57 +00:00
sha..rd
8c69c7d205 * Shader now has accelerated access to attribute by using IntMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:14:27 +00:00
sha..rd
39a7c743af * Fix android runtime error due to BufferedImage being used in AppSettings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7621 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 03:07:21 +00:00
sha..rd
37894d1698 * HttpZipLocator UTF8 decoder replaced with proper code
* Removed some redundant javadoc from SceneProcessor
 * Fixed bug where GeometryBatchFactory.optimize() wouldn't reset the transform on the argument node as would be expected since optimize() applies the world transform of the geometries automatically
 * Terrain grid tests now stream terrain data from googlecode servers instead of having the data bundled in the nightly builds

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 02:49:18 +00:00
nor..67
36d041fae6 - add blender loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-07 11:43:34 +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