905 Commits

Author SHA1 Message Date
PSp..om
1e8dea8eba Made the methods called from the audio thread final because
no good can come from overriding them.  Also made those
variables volatile so that other threads are guaranteed to
see the right values.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 21:55:29 +00:00
PSp..om
287bc0167c Added an AudioContext to hold the thread local audio
renderer as set by the application update().  a) this
ensures that the audio node must be updated on the render
thread like everything else, b) it means that audio node
doesn't need to juggle its own reference to AudioRenderer
since from the right thread it can always get at it.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 21:24:11 +00:00
nor..67
27265b1149 - fix NiftyGUI library references
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7872 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 17:59:38 +00:00
rem..om
66badd193a SDK :
- Fixed a NPE in the select tool when user was selectiong nothing

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7871 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 10:11:58 +00:00
rem..om
89e18f9b85 SDK :
- added toggle Orthographic / Perspective view button in the scene composer accessible through keyboard shortcuts
- fixed some focus issues

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7870 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 10:11:16 +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
045a8f6f0d * Nifty 1.3 release
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 04:55:21 +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..om
a5d00fd003 * Fixed NullPointerException when loading old materials that used wireframe.j3md
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7865 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 17:14:47 +00:00
kim..ng
7d08828fa7 Android: fixed excessive logging in audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 15:18:32 +00:00
bre..ns
dda8ee2c38 * select and move tools added to sdk
* ability to easily add other tools to scene composer
* changed camera controller to handle more types of mouse events
* much refactoring of sceneComposerToolController

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7863 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 17:20:39 +00:00
rem..om
6c80e0a558 WaterFilter : tracked down missing ".0" in the shaders
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7862 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 16:01:37 +00:00
rem..om
9e0f7dc942 SDK, Filter Editor
- Added a wizard for choosing Bloom mode when creating a BloomFilter
- Changing the filter's name in the properties panel now also change it's name in the Filter Explorer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7861 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 15:16:42 +00:00
PSp..om
bb18399b6d Made the math classes (most of them) java.io.Serializable
since it's harmless and makes these math classes more useful
as general data structures.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7860 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 00:23:21 +00:00
PSp..om
dd5d56ab42 Return the base color for BitmapText.getColor() because
other things make less sense... though no answer is
exactly "right".


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7859 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-14 11:23:04 +00:00
kim..ng
0a58b3c92b Android: added ConfigType.LEGACY
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 10:32:00 +00:00
PSp..om
349c9d9e4a Modified to use the new SafeArrayList for children and controls.
This means it is possible for a control to modify its own
node hierarchy in a way that might have caused random skipping
at best and index out of bounds exceptions at worse.
Also, users can iterate over children and detach them at the
same time using standard for each constructs.
Performance is the same for me though I'd expected it to be
at least slightly faster given that most inner loops now use
direct array access.  My scenes must not exploit this much.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7857 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 08:01:39 +00:00
PSp..om
11ab79a766 Added a custom array-based List class that buffers modifications
in such a way that the list can be modified while being iterated.
Furthermore, it exposes the raw array "snapshot" for iteration
simplifying some code elsewhere.
I've left comments in the code as to some beneficial mods that
could be made for the target use-cases.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7856 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 07:55:34 +00:00
sha..rd
b8826716b1 * Fixed syntax error in ModifierHelper
* Other minor fixes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7855 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 00:30:57 +00:00
PSp..om
a0dea25ec5 Fixed an event ordering issue. The server now only
first the connection added event after sending the
connect confirmation to the client.  This prevents
a resource deadlock if the connection listener
tries to send a message to the client and the
client tries to send a response back... since the
client won't have been fully initialized yet.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7854 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 20:07:11 +00:00
Kae..pl
a67dbf9977 Moving loading object animation modifier to ModifierHelper class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7852 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 14:47:32 +00:00
kim..ng
d90f6e7e18 Android: Allow custom app instantiation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:52:35 +00:00
kim..ng
2f8ae09033 Android: Fixed a race condition in OGLESContext which sometimes called initialize() more than once, added screen resolution setting and invert mouse x to harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:25:36 +00:00
ant..om
026abb5a74 update: removed tileLoaded from TerrainGridListener, one should use tileAttached and tileDetached instead.
updated the tests as well

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7849 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-11 09:54:03 +00:00
sha..rd
bf72c7975b * Reverted normen's confusion
* TGA loader now properly fails on grayscale formats

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7848 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-10 20:23:00 +00:00
nor..67
7cc3592f0f - revert ByteBuffer changes for native bullet objects (not asset data!)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7847 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-10 19:29:08 +00:00
sha..rd
80ac165e67 * Removed evil code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7846 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-09 20:08:22 +00:00
sha..rd
a24becee32 * Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-09 20:02:39 +00:00
bre..ns
7b93faa8e1 fixed but with normals not updating in terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 15:10:25 +00:00
sky..ok
24dd8692f6 Fixed grammar in the installer wizard; Added description of jMP to the description field
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 13:22:15 +00:00
bre..ns
668eaf9cfb changed TerrainGrid methods to protected access
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 00:11:44 +00:00
bre..ns
a5511a19dc pulled ImageBasedHeightmap height color calculation out so it can be customized by subClasses
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 00:07:08 +00:00
ant..om
dde0c0a885 Fix: extended TerrainGridListener with ozonegrif's extension
this allows physics to be handled by the user rather than manipulating in the grid
see tests for details

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 21:29:45 +00:00
Kae..pl
1403574835 Fix to properties storing (bad casting removed).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 19:40:40 +00:00
Kae..pl
491b0f8bce Fix to loading properties. They are now assigned to Spatial and not only to Geometry.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 18:29:11 +00:00
ant..om
549dda881c Fix: I left a useless parameter in test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 15:23:36 +00:00
ant..om
07e096ae71 Fix: the new way to add physics to terrainGrid is to use the listener interface, see updated tests
new heightmaps are provided for TerrainGridTest

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 15:02:08 +00:00
bre..ns
4eeab63f9f fixed -1 offset in TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7835 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 05:41:27 +00:00
bre..ns
1a08b7b0f6 * fixed lod bug in TerrainGrid
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 20:12:44 +00:00
bre..ns
feef9dc6d5 * added an UpdateControl so you can easily enqueue tasks into jme's update loop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7832 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 04:07:43 +00:00
sha..rd
f8df2f00cc * Fixed syntax errors and crashes with shadow processor and filters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7831 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 01:40:42 +00:00
bre..ns
08e5d1a68f fixed AbstractHeightMap bounds check, thanks ozonegrif
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 23:49:53 +00:00
kim..ng
7b0f06ff4d Android: added mouseEventsInvertY option to Harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 20:20:01 +00:00
bre..ns
bb718f942c * javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7826 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 19:42:37 +00:00
bre..ns
db83e48019 * fixed terrainGrid NPE on executor
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 16:28:12 +00:00
bre..ns
1a72ca91b1 * simplified terrain tests, only passing in single camera
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 16:03:54 +00:00
bre..ns
9407f4c3d0 * delayed creation of TerrainQuad executorService unless absolutely needed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 15:56:32 +00:00
Sha..om
b2c7849355 * Added stereo 3D to AppSettings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7822 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 14:14:11 +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