OSDN Git Service

mikumikustudio/MikuMikuStudio.git
12 years agoadded 'no texture' option to texture browser
brentowens [Tue, 23 Aug 2011 00:03:39 +0000 (00:03 +0000)]
added 'no texture' option to texture browser

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8061 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoflipped terrain texture coordinates. New tangent calculations. Warning if heightmap...
brentowens [Mon, 22 Aug 2011 23:11:20 +0000 (23:11 +0000)]
flipped terrain texture coordinates. New tangent calculations. Warning if heightmap is different size than specified terrain

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSupport for texture's tube projection.
Kaelthas_Spellsinger@o2.pl [Mon, 22 Aug 2011 21:10:52 +0000 (21:10 +0000)]
Support for texture's tube projection.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoUpdated BookSamples terrain and water code, textures
rootli@gmail.com [Mon, 22 Aug 2011 21:05:47 +0000 (21:05 +0000)]
Updated BookSamples terrain and water code, textures

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoLicence blocks added to texture generators.
Kaelthas_Spellsinger@o2.pl [Mon, 22 Aug 2011 15:20:53 +0000 (15:20 +0000)]
Licence blocks added to texture generators.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Sun, 21 Aug 2011 23:08:23 +0000 (23:08 +0000)]
SDK:
- add new plugin excludes for sdk build

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8056 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoMoving projection calculations to a separate class.
Kaelthas_Spellsinger@o2.pl [Sun, 21 Aug 2011 22:12:47 +0000 (22:12 +0000)]
Moving projection calculations to a separate class.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8055 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoCube mapping for textures support.
Kaelthas_Spellsinger@o2.pl [Sun, 21 Aug 2011 21:07:46 +0000 (21:07 +0000)]
Cube mapping for textures support.
Providing proper texture mapping data to UVCoordinatesGenerator.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Sun, 21 Aug 2011 18:50:18 +0000 (18:50 +0000)]
SDK:
- update jME3 public classes list

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Sun, 21 Aug 2011 18:48:51 +0000 (18:48 +0000)]
SDK:
- change jMP build process to incorporate version number in settings folder

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Sun, 21 Aug 2011 18:40:55 +0000 (18:40 +0000)]
SDK:
- change jMP to use netbeans user dir variable for natives extraction
- change OgreXML command line tools to be expanded to netbeans user dir

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Sun, 21 Aug 2011 17:30:27 +0000 (17:30 +0000)]
SDK:
- change branding name back due to dependency problems
- remove harness folder

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoBookSamples code update
rootli@gmail.com [Sun, 21 Aug 2011 16:29:32 +0000 (16:29 +0000)]
BookSamples code update

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago- Added steep parallax mapping, activate it by setting SteepParallax attribute to...
remy.bouquet@gmail.com [Sat, 20 Aug 2011 21:42:47 +0000 (21:42 +0000)]
- Added steep parallax mapping, activate it by setting SteepParallax attribute to true in lighting material
- Refactored paralax calculation code in Parallax.glsllib
- Added a boolean param to lighting material PackedNormalParallax to specify if the parallax map is stored in the alpha channel of the normal map (it was already implemented in the shader). added a dds file and a material using this
- The parallax height can now be set by users by setting the ParallaxHeight attribute. default is 0.05
- Deleted old normal map for water
- Inverted green channel of the brickwall normal texture to look good with recent change in normal calculation in lighting material
- Created a test case for parallax mapping where you can swich from classic to steep parallax using spacebar, and where you can tweak the parallax heigh by using I and K keys.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoFixed material default value loading
remy.bouquet@gmail.com [Sat, 20 Aug 2011 14:10:18 +0000 (14:10 +0000)]
Fixed material default value loading

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoBetter normal map for water
remy.bouquet@gmail.com [Sat, 20 Aug 2011 13:41:03 +0000 (13:41 +0000)]
Better normal map for water

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoCreating common setup for both types of loaders.
Kaelthas_Spellsinger@o2.pl [Sat, 20 Aug 2011 11:05:59 +0000 (11:05 +0000)]
Creating common setup for both types of loaders.
Fixing a bug with loading objects from all layers when using BlenderModelLoader.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoDisabling loading all assets by default. Now unlinked assets or those being on inacti...
Kaelthas_Spellsinger@o2.pl [Sat, 20 Aug 2011 10:20:46 +0000 (10:20 +0000)]
Disabling loading all assets by default. Now unlinked assets or those being on inactive layers will not be loaded if they are not requested to.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoDome.java: Renamed accessor for inverted boolean.
rootli [Sat, 20 Aug 2011 06:03:16 +0000 (06:03 +0000)]
Dome.java: Renamed accessor for inverted boolean.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoDome.java: Updated javadoc to explain effect of parameters and to distinguish between...
rootli [Sat, 20 Aug 2011 05:52:29 +0000 (05:52 +0000)]
Dome.java: Updated javadoc to explain effect of parameters and to distinguish between use as SkyDome, pyramid, or cone. Renamed inverted boolean.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoImporting generated textures as 3D textures.
Kaelthas_Spellsinger@o2.pl [Fri, 19 Aug 2011 23:16:32 +0000 (23:16 +0000)]
Importing generated textures as 3D textures.
UV coordinates generator added (will handle different UV coordinates generation methods in the future).
MaterialHelper refactoring.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoterrain editor now copies default texture to assests folder
brentowens [Thu, 18 Aug 2011 15:58:51 +0000 (15:58 +0000)]
terrain editor now copies default texture to assests folder

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoAdding changes pointed out by madlion.
Kaelthas_Spellsinger@o2.pl [Thu, 18 Aug 2011 11:41:51 +0000 (11:41 +0000)]
Adding changes pointed out by madlion.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 23:23:26 +0000 (23:23 +0000)]
SDK:
- remove planet from welcome screen

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 22:28:22 +0000 (22:28 +0000)]
SDK:
- small fixes

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 21:53:54 +0000 (21:53 +0000)]
SDK:
- Fix threading in SceneExplorer while opening scene

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8033 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 21:48:24 +0000 (21:48 +0000)]
SDK:
- Make sure SceneExplorer and FilterExplorer become visible when a scene / filter is opened

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 21:44:40 +0000 (21:44 +0000)]
SDK:
- Make sure plugin TopComponents bring OpenGL window to front when used

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8031 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 17:32:58 +0000 (17:32 +0000)]
SDK:
- Improve TerrainEditor window layout

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 17:25:20 +0000 (17:25 +0000)]
SDK:
- Remove Palette from SceneComposer
- Add new splash screen
- Change branding name to jmonkeyplatform_beta
- Update Window Title to jMonkeyPlatform Beta

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoTest rundown part 1 :
remy.bouquet@gmail.com [Wed, 17 Aug 2011 16:01:31 +0000 (16:01 +0000)]
Test rundown part 1 :
- fixed NPE in FilterPostProcessor
- fixed compilation error in terrain lighting

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 14:35:36 +0000 (14:35 +0000)]
SDK:
- remove PolyOffset parsing workaround

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK:
normen667 [Wed, 17 Aug 2011 14:32:37 +0000 (14:32 +0000)]
SDK:
- change MatDef parsing so that new ffunc bindings are removed from parameter name

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago * Use the same pbuffer pixel format for everything. Provides better compatibility.
shadowislord [Wed, 17 Aug 2011 03:34:11 +0000 (03:34 +0000)]
 * Use the same pbuffer pixel format for everything. Provides better compatibility.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago * New block language parser
shadowislord [Wed, 17 Aug 2011 03:25:48 +0000 (03:25 +0000)]
 * 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: http://jmonkeyengine.googlecode.com/svn/trunk@8024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSkyFactory : you can now specify the sky sphere radius when creating a sky to avoid...
remy.bouquet@gmail.com [Tue, 16 Aug 2011 19:08:57 +0000 (19:08 +0000)]
SkyFactory : you can now specify the sky sphere radius when creating a sky to avoid near plane clipping when it's set too close to the radius value.
see this post http://jmonkeyengine.org/groups/graphics/forum/topic/why-is-the-skybox-culling-when-i-adjust-my-camera-frustum/#post-139378

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agofixed add terrain bug, now they all use the same action
brentowens [Tue, 16 Aug 2011 16:14:46 +0000 (16:14 +0000)]
fixed add terrain bug, now they all use the same action

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 14:47:51 +0000 (14:47 +0000)]
SDK :
- Changed the way to check if a file is a dds file (third and last)

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8021 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 14:47:06 +0000 (14:47 +0000)]
SDK :
- Changed the to check if a file is a dds file

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 14:46:44 +0000 (14:46 +0000)]
SDK :
- Changed the to check if a file is a dds file

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 11:13:20 +0000 (11:13 +0000)]
SDK :
- Fixed show selection toggle button in scene composer

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8018 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 11:09:27 +0000 (11:09 +0000)]
SDK :
- Skybox wizard now supports dds file format
- Terrain editor now supports loading of dds files
- Optimized buttons creation in the terrain editor's texture list

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Tue, 16 Aug 2011 11:06:19 +0000 (11:06 +0000)]
SDK :
- Allowed the dds preview to display on a button

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Mon, 15 Aug 2011 13:38:36 +0000 (13:38 +0000)]
SDK :
- Used DDSPreview in material editor
- Added support for texture3D and CubeMaps to material editor

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8015 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Mon, 15 Aug 2011 13:37:25 +0000 (13:37 +0000)]
SDK :
- refactored DSS preview to make it generic

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8014 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK :
remy.bouquet@gmail.com [Mon, 15 Aug 2011 10:21:40 +0000 (10:21 +0000)]
SDK :
- PreviewRequest can now be requested with a given size
- DSS preview is now supported in texture browser for Texture2D, Texture3D and CubeMaps

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8013 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoEngine : added texture type hint to the texture key
remy.bouquet@gmail.com [Mon, 15 Aug 2011 09:38:57 +0000 (09:38 +0000)]
Engine : added texture type hint to the texture key

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago* Fix for x window crash on Display.destroy() on linux
ShadowIsLord@gmail.com [Mon, 15 Aug 2011 03:02:48 +0000 (03:02 +0000)]
* Fix for x window crash on Display.destroy() on linux

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago * Fix hard edge bug for spot lights on NVIDIA cards
shadowislord [Sun, 14 Aug 2011 18:36:59 +0000 (18:36 +0000)]
 * Fix hard edge bug for spot lights on NVIDIA cards
 * Fix bump mapping issue that was there since the beginning of time ... flipping normal.y only worked for pond_normal.png texture and IS NOT CORRECT in most cases. Now the texture itself has been adjusted to be correct while the flipping of normal.y removed
 * Fix crash when playing sound in simpleInitApp()
 * Fix issue where Spatial.setModelBound() would do absolutely nothing
 * Skies created via SkyFactory now don't suffer from "premature culling" bug

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoJavadoc fixes and links for the com.jme3.animation package; Added missing license...
skye.book [Sun, 14 Aug 2011 15:47:40 +0000 (15:47 +0000)]
Javadoc fixes and links for the com.jme3.animation package; Added missing license header

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoFixed to properly update the buffer when the extents
PSpeed42@gmail.com [Sun, 14 Aug 2011 10:46:54 +0000 (10:46 +0000)]
Fixed to properly update the buffer when the extents
are changed.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years ago * Forgot to commit proper exception for generated textures in MatParams
shadowislord [Sat, 13 Aug 2011 19:04:02 +0000 (19:04 +0000)]
 * Forgot to commit proper exception for generated textures in MatParams
 * OBJ/MTL loaders now use logger instead of System.out for warnings

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoLighting material
shadowislord [Sat, 13 Aug 2011 19:02:29 +0000 (19:02 +0000)]
Lighting material
 * Hopefully fix incorrect parallax map
 * Multiply specular by diffuse factor to prevent physically impossible shininess (compare TestNormalMapping to understand the difference)

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoBlender Loader
shadowislord [Sat, 13 Aug 2011 19:01:52 +0000 (19:01 +0000)]
Blender Loader
 * Enable mipmaps for packed and generated textures
 * Better handling of material flags for 2.58
 * Allow loading of meshes with no vertices instead of crashing

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8005 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoSDK : Texture Editor: fixed save feature.
remy.bouquet@gmail.com [Fri, 12 Aug 2011 08:52:51 +0000 (08:52 +0000)]
SDK : Texture Editor: fixed save feature.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

12 years agoEngine :
remy.bouquet@gmail.com [Fri, 12 Aug 2011 05:50:31 +0000 (05:50 +0000)]
Engine :
- Added Volume texture 3D loading support to the DDSLoader
- Added a test case for texture 3D loading
- fixes a minor log issue in Material.java

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoengine : added texture3D support based on darkfalkon Texture3D code and Kaelthas...
remy.bouquet@gmail.com [Thu, 11 Aug 2011 09:33:38 +0000 (09:33 +0000)]
engine : added texture3D support based on darkfalkon Texture3D code and Kaelthas testcase

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- revert previous change as wrong image paths might result
normen667 [Wed, 10 Aug 2011 18:57:56 +0000 (18:57 +0000)]
- revert previous change as wrong image paths might result

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- fix NiftyJmeDisplay so that other locators can be registered for NiftyGUI
normen667 [Wed, 10 Aug 2011 18:54:15 +0000 (18:54 +0000)]
- fix NiftyJmeDisplay so that other locators can be registered for NiftyGUI

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@8000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- make AppSettings final
normen667 [Wed, 10 Aug 2011 17:26:34 +0000 (17:26 +0000)]
- make AppSettings final

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Wed, 10 Aug 2011 16:59:07 +0000 (16:59 +0000)]
sdk :
- Fixed some spacing issues in material editor UI for small screens resolution

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- add support for material name mappings to MaterialExtensionLoader
normen667 [Wed, 10 Aug 2011 12:12:53 +0000 (12:12 +0000)]
- add support for material name mappings to MaterialExtensionLoader

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7997 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- globally reduce asset paths in AssetKey constructor so that no key type can produce...
normen667 [Wed, 10 Aug 2011 11:09:45 +0000 (11:09 +0000)]
- globally reduce asset paths in AssetKey constructor so that no key type can produce relative elements in the asset name

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Wed, 10 Aug 2011 10:25:18 +0000 (10:25 +0000)]
sdk :
- Removed grey selection. Select tool now use the blue selection managed by the toolController.
- Changed move plane gizmo to only appear when the move tool is activated
- Optimized moveTool to not instanciate new vectors on every frame.
- Changed particle emitter selection shape to bounding box

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Wed, 10 Aug 2011 10:21:48 +0000 (10:21 +0000)]
sdk :
- fixed bounding box selection shape condition

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Tue, 9 Aug 2011 15:39:10 +0000 (15:39 +0000)]
sdk :
- Added support for FXAA filter to JMP
- Fixed a typo in SSAO filter

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoAdded FXAA filter to the core thanks to phate666 for its implementation
remy.bouquet@gmail.com [Tue, 9 Aug 2011 15:37:58 +0000 (15:37 +0000)]
Added FXAA filter to the core thanks to phate666 for its implementation

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7992 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoAdded LinearExtrapolation to FastMath thanks to Wezrule http://jmonkeyengine.org...
remy.bouquet@gmail.com [Sun, 7 Aug 2011 22:21:55 +0000 (22:21 +0000)]
Added LinearExtrapolation to FastMath thanks to Wezrule jmonkeyengine.org/groups/features/forum/topic/2-requests-for-features/#post-138082

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago * Added fix for when an mesh xml animation has no tracks will no longer throw NPE
shadowislord [Sun, 7 Aug 2011 20:36:43 +0000 (20:36 +0000)]
 * 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: http://jmonkeyengine.googlecode.com/svn/trunk@7990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago * Fixed AssertionError in SceneLoader when loading multiple scenes
shadowislord [Sun, 7 Aug 2011 19:15:29 +0000 (19:15 +0000)]
 * Fixed AssertionError in SceneLoader when loading multiple scenes

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago * AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
shadowislord [Sun, 7 Aug 2011 00:08:22 +0000 (00:08 +0000)]
 * AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
 * Misc javadocs
 * Fix for SoundHandleJme.stop()

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Sat, 6 Aug 2011 16:43:02 +0000 (16:43 +0000)]
sdk :
- You can now select a material  in material browser by double clicking it

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Sat, 6 Aug 2011 16:39:50 +0000 (16:39 +0000)]
sdk :
- You can now select a texture in texture browser by double clicking it

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Sat, 6 Aug 2011 16:31:41 +0000 (16:31 +0000)]
sdk :
-  Material live update in material support : now changing parameters in Material editor affect the scene in real time

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agosdk :
remy.bouquet@gmail.com [Sat, 6 Aug 2011 16:30:19 +0000 (16:30 +0000)]
sdk :
-  Material live update in platform core

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoAdded CameraNode and new navigation to TestPhysicsCharacter.
rootli [Sat, 6 Aug 2011 14:45:36 +0000 (14:45 +0000)]
Added CameraNode and new navigation to TestPhysicsCharacter.
Added a variant of createPhysicsTestWorld with more spheres.
Changed the size of golem in TestWalkingCharacter to fit step length.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoAdded javadoc, fixed tiny typo, reformatted sample a bit.
rootli [Sat, 6 Aug 2011 09:42:51 +0000 (09:42 +0000)]
Added javadoc, fixed tiny typo, reformatted sample a bit.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoFixed vertex lighting broken since last spot light changes
remy.bouquet@gmail.com [Sat, 6 Aug 2011 07:44:43 +0000 (07:44 +0000)]
Fixed vertex lighting broken since last spot light changes

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago * Added AbstractControl.getSpatial() as otherwise AnimEventListener is kinda useless...
shadowislord [Sat, 6 Aug 2011 03:55:56 +0000 (03:55 +0000)]
 * Added AbstractControl.getSpatial() as otherwise AnimEventListener is kinda useless as it only gives the AnimControl as the reference and to get userdata you need the spatial itself
 * World space particles are now influenced by rotation

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSpotLight : Applied the same changes to terrain lighting
remy.bouquet@gmail.com [Fri, 5 Aug 2011 17:37:29 +0000 (17:37 +0000)]
SpotLight : Applied the same changes to terrain lighting

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSpotLight : reduced the number of float varying by 5 in the shaders :
remy.bouquet@gmail.com [Fri, 5 Aug 2011 17:03:46 +0000 (17:03 +0000)]
SpotLight : reduced the number of float varying by 5 in the shaders :
- computed the spotDirection in view space on the java side in Material and pass it as a uniform -> vec4 spotVec disapear
- this implies to decode the cos values for falloff in the frag shader instead of the vert shader, but allows to reduce light vec from vec4 to vec3

All in all it shouldn't be that much of a performance hit, since the matrix multiplication of spotVec occur once per geometry instead of once per vertex, we could go further and compute it once per frame.
On the other hand decoding of the cos values happens once for each pixel instead of once for each vertex ( a floor a mult and a fract). I guess this should be balanced in a rich scene.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoPulled the ExecutorService stuff out and replaced it with a
PSpeed42@gmail.com [Fri, 5 Aug 2011 07:55:04 +0000 (07:55 +0000)]
Pulled the ExecutorService stuff out and replaced it with a
plain single thread.  This gives more control over the queuing
behavior as with an ThreadPoolExecutor it is difficult to implement
blocking execute() behavior.  Also, this avoids creating an
extra object per-message.
Anyway, this code now implements a blocking queue instead of
a boundless queue.  It's set to 16,000 messages which should only
bottom out in the worst of cases.  I was seeing it in the throughput
tests where the sockets were backing up and the queues were
consuming all of the heap until an out of memory error occurred.
Outbound messaging is only throttled this way on the client.
Servers typically wouldn't do this sort of spamming anyway.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoFixed a long-standing but well hidden bug in message
PSpeed42@gmail.com [Fri, 5 Aug 2011 06:46:56 +0000 (06:46 +0000)]
Fixed a long-standing but well hidden bug in message
protocol.  In the wild, I've only seen this crop up in
really really odd circumstances.  As it turns out, the
throughput tests eventually trigger this when testing
TCP.  I've lost sleep over wondering when this was going
to bite for real so I'm glad to have what is essentially
the last known bug in message transfer fixed.
This change handles the case where so far only one
byte of the two byte message size has been read from
the network.  Rare, but it can happen.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoTextures importing refactoring in blender loader.
Kaelthas_Spellsinger@o2.pl [Thu, 4 Aug 2011 21:39:35 +0000 (21:39 +0000)]
Textures importing refactoring in blender loader.
Each generated texture has now its own generator class.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK : removed reference to org.jdesktop.layout in core project
remy.bouquet@gmail.com [Thu, 4 Aug 2011 12:01:32 +0000 (12:01 +0000)]
SDK : removed reference to org.jdesktop.layout in core project

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK : fixed NPE in colorRGBADIalog introduced by previous change
remy.bouquet@gmail.com [Wed, 3 Aug 2011 00:19:38 +0000 (00:19 +0000)]
SDK : fixed NPE in colorRGBADIalog introduced by previous change

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK : Changed Texture panel in material editor to display a preview of the texture...
remy.bouquet@gmail.com [Tue, 2 Aug 2011 23:33:48 +0000 (23:33 +0000)]
SDK : Changed Texture panel in material editor to display a preview of the texture, added icons on buttons

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK : Changed color panel in material editor to display the color and input the value...
remy.bouquet@gmail.com [Tue, 2 Aug 2011 21:35:51 +0000 (21:35 +0000)]
SDK : Changed color panel in material editor to display the color and input the values in separate fields

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoCameraNode : created a simple testCase to demonstrate how easy it is to make a camera...
remy.bouquet@gmail.com [Tue, 2 Aug 2011 14:24:59 +0000 (14:24 +0000)]
CameraNode : created a simple testCase to demonstrate how easy it is to make a camera follow a spatial using a Camera Node.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Tue, 2 Aug 2011 00:05:08 +0000 (00:05 +0000)]
SDK :
- fixed alignement issues due to previous change in TextPanel

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7966 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Mon, 1 Aug 2011 22:50:25 +0000 (22:50 +0000)]
SDK :
- Material editor : made TextPanel widget to trigger property change when the field looses focus. It was only triggering it when you pressed enter in the field. (at least on Windows 7, it can be different on other OS)

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7965 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Mon, 1 Aug 2011 22:45:18 +0000 (22:45 +0000)]
SDK :
- fixed issue 374...maybe

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Mon, 1 Aug 2011 22:37:21 +0000 (22:37 +0000)]
SDK :
- fixed polyOffset issue
- fixed FloatPanel spinner having an integer step size

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- display message when unable to open DDS image
normen667 [Mon, 1 Aug 2011 18:08:03 +0000 (18:08 +0000)]
- display message when unable to open DDS image

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7962 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago- disable opening of SceneViewer for OffScenePanels
normen667 [Mon, 1 Aug 2011 17:48:54 +0000 (17:48 +0000)]
- disable opening of SceneViewer for OffScenePanels

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7961 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Mon, 1 Aug 2011 14:05:01 +0000 (14:05 +0000)]
SDK :
- Added a material browser custom editor to pick materials.
- refactored the material preview to a widget, with possibility to preview on a sphere a box or a quad.
- changed the material editor preview by the new widget

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7960 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK :
remy.bouquet@gmail.com [Mon, 1 Aug 2011 14:00:27 +0000 (14:00 +0000)]
SDK :
- Added a CameraRequest to the PreviewRequest to be able to request location, rotation and lookAt of the scene camera
- fixed some compilation warning

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years ago * Proper aging for particles emitted in a frame
shadowislord [Sun, 31 Jul 2011 20:51:05 +0000 (20:51 +0000)]
 * Proper aging for particles emitted in a frame

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoSDK : scene composer has now an effect section in the utilities frame with a button...
remy.bouquet@gmail.com [Sun, 31 Jul 2011 09:29:25 +0000 (09:29 +0000)]
SDK : scene composer has now an effect section in the utilities frame with a button to make all emitters under the selected node to emit their particles.

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7956 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

13 years agoParticle Emitter : faceNormal is now correctly saved
remy.bouquet@gmail.com [Sun, 31 Jul 2011 08:45:35 +0000 (08:45 +0000)]
Particle Emitter : faceNormal is now correctly saved

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca