OSDN Git Service
remy.bouquet@gmail.com [Wed, 27 Jul 2011 17:50:32 +0000 (17:50 +0000)]
SDK :
- applied changes of the core to vehicle editor
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7932
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 27 Jul 2011 17:50:15 +0000 (17:50 +0000)]
SDK :
- applied changes of the core to terraineditor
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7931
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 27 Jul 2011 17:49:55 +0000 (17:49 +0000)]
SDK :
- applied changes of the core to scene composer
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7930
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 27 Jul 2011 17:49:14 +0000 (17:49 +0000)]
SDK :
- fixed key event dispatching from sceneViewer to oglpanel
- added a useCameraControl to avoid to have to override the onAnalog in each cameraController
- added alternate way to rotate camera wuth the third mouse button
- changed position of the view toolbar
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7929
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 27 Jul 2011 12:54:53 +0000 (12:54 +0000)]
- update wiki page list
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7928
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Wed, 27 Jul 2011 12:52:27 +0000 (12:52 +0000)]
Texture key for generated textures added.
Normalmap is only calculated when generated texture is an input.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7927
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Wed, 27 Jul 2011 08:24:40 +0000 (08:24 +0000)]
SDK : fixed scene explorer refresh when deleting a light node
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7926
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 26 Jul 2011 14:23:39 +0000 (14:23 +0000)]
- rename "SceneViewer" to "OpenGL Window" to reduce confusion
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7925
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 26 Jul 2011 13:34:42 +0000 (13:34 +0000)]
- fix small typo in BlenderLoader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7924
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 26 Jul 2011 11:41:10 +0000 (11:41 +0000)]
Fix to loading models with high number of vertices (greater than Shor.MAX_VALUE).
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7923
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 26 Jul 2011 10:54:28 +0000 (10:54 +0000)]
Improving image loading speed by using the BufferedInputStream.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7922
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 26 Jul 2011 10:46:11 +0000 (10:46 +0000)]
Fix to narmal map loading.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7921
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Mon, 25 Jul 2011 22:01:15 +0000 (22:01 +0000)]
SDK : re-added the cache delete when loading an asset since it has been fixed in the engine
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7920
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Mon, 25 Jul 2011 21:30:42 +0000 (21:30 +0000)]
SDK : added possibility to switch to front, left, top, etc... views
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7919
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 25 Jul 2011 20:50:52 +0000 (20:50 +0000)]
Fix to loading normal maps.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7918
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 25 Jul 2011 16:05:21 +0000 (16:05 +0000)]
* All asset cache operations can now work on smart cache
* Added better test for asset cache
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7917
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Mon, 25 Jul 2011 15:25:00 +0000 (15:25 +0000)]
Spot light : fixed issue that was preventing point lights to work correctly when a spot light is in the scene
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7916
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Mon, 25 Jul 2011 15:01:46 +0000 (15:01 +0000)]
SDK : remover deleteFromCache call in SpatialAssetDataObject since it's not allowed anymore
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7915
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 25 Jul 2011 14:51:33 +0000 (14:51 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@7914
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 25 Jul 2011 12:56:21 +0000 (12:56 +0000)]
Several changes to constraints (but may not working well yet).
Fix to Y-up axis issue when parent was present bu not loaded (in different layer for example).
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7913
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 24 Jul 2011 23:47:18 +0000 (23:47 +0000)]
* Javadoc for some classes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7912
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 24 Jul 2011 18:22:05 +0000 (18:22 +0000)]
- fix Material Editor j3m path setting
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7911
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Sun, 24 Jul 2011 11:07:12 +0000 (11:07 +0000)]
Fix: fixed exception when trying to jump with physics turned off
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7910
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 24 Jul 2011 03:56:30 +0000 (03:56 +0000)]
* Fixed issue with spot light shader not taking into account alpha
* Reduced number of varyings by 2 in lighting shader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7909
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 23 Jul 2011 23:42:23 +0000 (23:42 +0000)]
* Fix crashes due to introduction of MaterialKey
* Deleted unused textures
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7908
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 23 Jul 2011 22:44:30 +0000 (22:44 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@7907
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 23 Jul 2011 20:07:48 +0000 (20:07 +0000)]
* Fix for ParticleEmitter.clone()
* Enable smart cache for models
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7906
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShadowIsLord@gmail.com [Sat, 23 Jul 2011 02:36:51 +0000 (02:36 +0000)]
* asin -> atan
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7905
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Fri, 22 Jul 2011 21:45:48 +0000 (21:45 +0000)]
Fix: fixed a bug when using alphamaps with TerrainGrid
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7904
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 21:41:45 +0000 (21:41 +0000)]
- added a ColorRGBA to tempVars
- Used tempvars in Materila.renderMultipassLighting
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7903
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Fri, 22 Jul 2011 18:27:17 +0000 (18:27 +0000)]
Android: fixed logging
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7902
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 09:50:58 +0000 (09:50 +0000)]
- Reverted previous uniform change, it was causing changes in constants, when user was assigning a constant to a uniform (like mat.setColor("Color",ColorRGBA.White)).
- Changed Material's renderMultipassLighting method to not reuse Shader's values instance, and to use temporary allocated variables in the material instance instead
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7901
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Fri, 22 Jul 2011 09:13:40 +0000 (09:13 +0000)]
Fixed a typo in the comment. OCD strikes again.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7900
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Fri, 22 Jul 2011 09:12:11 +0000 (09:12 +0000)]
Turning the memory tracking off since it's pretty expensive
and broken anyway. See comment in source.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7899
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 09:00:59 +0000 (09:00 +0000)]
Fixed varrying binding in the lighting shader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7898
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 03:01:05 +0000 (03:01 +0000)]
sdk : complete commit due to prior mistake in commit
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7897
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 02:52:29 +0000 (02:52 +0000)]
sdk : added spot light support to scene composer
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7896
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 22 Jul 2011 02:39:13 +0000 (02:39 +0000)]
sdk : added spot light support to jmp
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7895
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 22 Jul 2011 00:15:55 +0000 (00:15 +0000)]
- fix lighting compile error
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7894
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 21 Jul 2011 21:58:46 +0000 (21:58 +0000)]
- Added SpotLight light type.
- Implemented spot light shading for lighting (pixel and vertex lighting) and terrain shader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7893
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 21 Jul 2011 15:32:59 +0000 (15:32 +0000)]
Uniforms : fixed Copyright formatting
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7892
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Thu, 21 Jul 2011 15:23:16 +0000 (15:23 +0000)]
* Prevent shader leaks
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7891
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 21 Jul 2011 15:22:45 +0000 (15:22 +0000)]
Uniforms : fixed clearValues to not assign references.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7890
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Thu, 21 Jul 2011 15:19:52 +0000 (15:19 +0000)]
- fix nifty project library
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7889
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Thu, 21 Jul 2011 09:19:50 +0000 (09:19 +0000)]
Android: added some more logging to the surface creation
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7888
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Wed, 20 Jul 2011 13:54:42 +0000 (13:54 +0000)]
Changes to animations storing (not yet used in the selected blender file) and small refactoring.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7886
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 20 Jul 2011 11:40:42 +0000 (11:40 +0000)]
- fix to HingeJoint (native bullet), thanks to @makeshift
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7885
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 19 Jul 2011 12:11:43 +0000 (12:11 +0000)]
Fix to armature modifier loading.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7884
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Tue, 19 Jul 2011 00:00:50 +0000 (00:00 +0000)]
reduced terrain save j3o file size
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7883
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 18 Jul 2011 19:56:39 +0000 (19:56 +0000)]
Improvements to blender manual tester.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7882
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Mon, 18 Jul 2011 16:42:43 +0000 (16:42 +0000)]
fixed terrain camera controller to use the changes to AbstractCameraController
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7881
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 18 Jul 2011 16:27:32 +0000 (16:27 +0000)]
* System.load() will still be called on natives even if the file already exists
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7880
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Mon, 18 Jul 2011 16:12:41 +0000 (16:12 +0000)]
PssmRenderer :
- added a flag flushQueues to prevent the PssmRenderer to flush the shadow queues. This allow to have several PssmRenderer on one scene to have shadows cast by several light sources.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7879
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 18 Jul 2011 14:26:26 +0000 (14:26 +0000)]
* Disable point sprite if not rendering a point mesh. May prevent ATI driver crashes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7878
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 23:57:17 +0000 (23:57 +0000)]
* Another ATI driver hack, now for framebuffers. Based on opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7877
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 23:52:20 +0000 (23:52 +0000)]
* Removed glTexEnv(GL_COORD_REPLACE, ...) call because it is not needed when using shader
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7876
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 23:38:54 +0000 (23:38 +0000)]
* Enable point sprite mode only for first texture unit. May prevent ATI driver crashes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7875
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 17 Jul 2011 21:55:29 +0000 (21:55 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7874
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 17 Jul 2011 21:24:11 +0000 (21:24 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7873
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 17 Jul 2011 17:59:38 +0000 (17:59 +0000)]
- fix NiftyGUI library references
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7872
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 17 Jul 2011 10:11:58 +0000 (10:11 +0000)]
SDK :
- Fixed a NPE in the select tool when user was selectiong nothing
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7871
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 17 Jul 2011 10:11:16 +0000 (10:11 +0000)]
SDK :
- added toggle Orthographic / Perspective view button in the scene composer accessible through keyboard shortcuts
- fixed some focus issues
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7870
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 05:27:55 +0000 (05:27 +0000)]
* Now added "asset name requirements" to FileLocator to prevent Windows -> Linux porting issues
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7869
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 05:20:38 +0000 (05:20 +0000)]
* Added case-sensitivity and other "asset name requirements" to ClasspathLocator to prevent Windows -> Linux porting issues
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7868
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 04:55:21 +0000 (04:55 +0000)]
* Nifty 1.3 release
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7867
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 17 Jul 2011 04:35:26 +0000 (04:35 +0000)]
* Natives will now get extracted only if they were actually updated (last modified date changed)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7866
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ShadowIsLord@gmail.com [Sat, 16 Jul 2011 17:14:47 +0000 (17:14 +0000)]
* Fixed NullPointerException when loading old materials that used wireframe.j3md
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7865
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Sat, 16 Jul 2011 15:18:32 +0000 (15:18 +0000)]
Android: fixed excessive logging in audio renderer
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7864
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Fri, 15 Jul 2011 17:20:39 +0000 (17:20 +0000)]
* 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: http://jmonkeyengine.googlecode.com/svn/trunk@7863
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 15 Jul 2011 16:01:37 +0000 (16:01 +0000)]
WaterFilter : tracked down missing ".0" in the shaders
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7862
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Fri, 15 Jul 2011 15:16:42 +0000 (15:16 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7861
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Fri, 15 Jul 2011 00:23:21 +0000 (00:23 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7860
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Thu, 14 Jul 2011 11:23:04 +0000 (11:23 +0000)]
Return the base color for BitmapText.getColor() because
other things make less sense... though no answer is
exactly "right".
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7859
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Wed, 13 Jul 2011 10:32:00 +0000 (10:32 +0000)]
Android: added ConfigType.LEGACY
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7858
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 13 Jul 2011 08:01:39 +0000 (08:01 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7857
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 13 Jul 2011 07:55:34 +0000 (07:55 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7856
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Wed, 13 Jul 2011 00:30:57 +0000 (00:30 +0000)]
* Fixed syntax error in ModifierHelper
* Other minor fixes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7855
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Tue, 12 Jul 2011 20:07:11 +0000 (20:07 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7854
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Tue, 12 Jul 2011 14:47:32 +0000 (14:47 +0000)]
Moving loading object animation modifier to ModifierHelper class.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7852
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Tue, 12 Jul 2011 09:52:35 +0000 (09:52 +0000)]
Android: Allow custom app instantiation
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7851
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
kimxilxyong [Tue, 12 Jul 2011 09:25:36 +0000 (09:25 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7850
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Mon, 11 Jul 2011 09:54:03 +0000 (09:54 +0000)]
update: removed tileLoaded from TerrainGridListener, one should use tileAttached and tileDetached instead.
updated the tests as well
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7849
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 10 Jul 2011 20:23:00 +0000 (20:23 +0000)]
* Reverted normen's confusion
* TGA loader now properly fails on grayscale formats
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7848
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 10 Jul 2011 19:29:08 +0000 (19:29 +0000)]
- revert ByteBuffer changes for native bullet objects (not asset data!)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7847
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 9 Jul 2011 20:08:22 +0000 (20:08 +0000)]
* Removed evil code
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7846
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 9 Jul 2011 20:02:39 +0000 (20:02 +0000)]
* Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7845
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Fri, 8 Jul 2011 15:10:25 +0000 (15:10 +0000)]
fixed but with normals not updating in terrain
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7844
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
skye.book [Fri, 8 Jul 2011 13:22:15 +0000 (13:22 +0000)]
Fixed grammar in the installer wizard; Added description of jMP to the description field
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7843
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Fri, 8 Jul 2011 00:11:44 +0000 (00:11 +0000)]
changed TerrainGrid methods to protected access
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7842
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Fri, 8 Jul 2011 00:07:08 +0000 (00:07 +0000)]
pulled ImageBasedHeightmap height color calculation out so it can be customized by subClasses
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7841
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Thu, 7 Jul 2011 21:29:45 +0000 (21:29 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7840
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Thu, 7 Jul 2011 19:40:40 +0000 (19:40 +0000)]
Fix to properties storing (bad casting removed).
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7839
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Thu, 7 Jul 2011 18:29:11 +0000 (18:29 +0000)]
Fix to loading properties. They are now assigned to Spatial and not only to Geometry.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7838
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Thu, 7 Jul 2011 15:23:36 +0000 (15:23 +0000)]
Fix: I left a useless parameter in test
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7837
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
anthyon@gmail.com [Thu, 7 Jul 2011 15:02:08 +0000 (15:02 +0000)]
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: http://jmonkeyengine.googlecode.com/svn/trunk@7836
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Thu, 7 Jul 2011 05:41:27 +0000 (05:41 +0000)]
fixed -1 offset in TerrainGrid
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7835
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Wed, 6 Jul 2011 20:12:44 +0000 (20:12 +0000)]
* fixed lod bug in TerrainGrid
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7833
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Wed, 6 Jul 2011 04:07:43 +0000 (04:07 +0000)]
* added an UpdateControl so you can easily enqueue tasks into jme's update loop
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7832
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Wed, 6 Jul 2011 01:40:42 +0000 (01:40 +0000)]
* Fixed syntax errors and crashes with shadow processor and filters
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7831
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
brentowens [Tue, 5 Jul 2011 23:49:53 +0000 (23:49 +0000)]
fixed AbstractHeightMap bounds check, thanks ozonegrif
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7830
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca