OSDN Git Service

mikumikustudio/MikuMikuStudio.git
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

13 years agoRemoving unnecessary packages.
Kaelthas_Spellsinger@o2.pl [Sat, 30 Jul 2011 23:31:29 +0000 (23:31 +0000)]
Removing unnecessary packages.

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

13 years agoLarge blender importer refactoring:
Kaelthas_Spellsinger@o2.pl [Sat, 30 Jul 2011 23:28:21 +0000 (23:28 +0000)]
Large blender importer refactoring:
- bleder features separated between different packages
- refactoring of modifier system (each modifier now in a separate class)
- refactoring of constraints system (each constraint now in a separate class)
- no converter interface
- every helper supports versions 2.49 and 2.5+.

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

13 years agoSDK refactored texture browser to use a treeview instead of a list
remy.bouquet@gmail.com [Sat, 30 Jul 2011 21:06:06 +0000 (21:06 +0000)]
SDK refactored texture browser to use a treeview instead of a list

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

13 years ago * Added javadoc for ParticleEmitter.setMeshType()
ShadowIsLord@gmail.com [Sat, 30 Jul 2011 18:37:11 +0000 (18:37 +0000)]
 * Added javadoc for ParticleEmitter.setMeshType()

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

13 years agoMinro javadoc update.
Kaelthas_Spellsinger@o2.pl [Sat, 30 Jul 2011 14:43:10 +0000 (14:43 +0000)]
Minro javadoc update.

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

13 years agoSDK Particle Emitter Node:
remy.bouquet@gmail.com [Sat, 30 Jul 2011 12:35:28 +0000 (12:35 +0000)]
SDK Particle Emitter Node:
fixed typo

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

13 years agoSDK Particle Emitter Node:
remy.bouquet@gmail.com [Sat, 30 Jul 2011 12:31:37 +0000 (12:31 +0000)]
SDK Particle Emitter Node:
- Changed properties layout
- Added a button in the properties panel to emitt all particles
- The mesh type can now be changed in the properties panel

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

13 years agoParticle Emitter :
remy.bouquet@gmail.com [Sat, 30 Jul 2011 12:29:26 +0000 (12:29 +0000)]
Particle Emitter :
- Added possibility to change the mesh type after initialization

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

13 years agoParticle Emitter :
remy.bouquet@gmail.com [Fri, 29 Jul 2011 17:30:03 +0000 (17:30 +0000)]
Particle Emitter :
- Changed cloning method to clone(boolean cloneMaterial), and added a clone() method that calls clone(true). The missing clone(boolean) method was preventing the particle emitter to be correctly cloned when loading it from a j3o file yielding weird results.

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

13 years agoFix to mirror modifier loading (buffer bounds were exceeded in some cases).
Kaelthas_Spellsinger@o2.pl [Fri, 29 Jul 2011 12:16:37 +0000 (12:16 +0000)]
Fix to mirror modifier loading (buffer bounds were exceeded in some cases).

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

13 years agoIgnoring textures that are defined but disabled in material.
Kaelthas_Spellsinger@o2.pl [Fri, 29 Jul 2011 09:33:35 +0000 (09:33 +0000)]
Ignoring textures that are defined but disabled in material.

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

13 years agoFix with reading the proper buffer.
Kaelthas_Spellsinger@o2.pl [Fri, 29 Jul 2011 08:43:23 +0000 (08:43 +0000)]
Fix with reading the proper buffer.

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

13 years agoParticle Emitter :
remy.bouquet@gmail.com [Fri, 29 Jul 2011 07:12:19 +0000 (07:12 +0000)]
Particle Emitter :
- fixed NPE when loading a ParticleEmitter from a j3o

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

13 years agoAutomatic generation of UV-coordinates (not the best solution yet, but working on...
Kaelthas_Spellsinger@o2.pl [Thu, 28 Jul 2011 21:09:56 +0000 (21:09 +0000)]
generation of UV-coordinates (not the best solution yet, but working on it ;) )

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

13 years agoBugfix: temp var was not released.
Kaelthas_Spellsinger@o2.pl [Thu, 28 Jul 2011 19:21:03 +0000 (19:21 +0000)]
Bugfix: temp var was not released.

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

13 years agoParticle Emitter :
remy.bouquet@gmail.com [Thu, 28 Jul 2011 17:08:59 +0000 (17:08 +0000)]
Particle Emitter :
- fixed setNumParticle method to correctly update the mesh buffers
- added a getMaxNumParticle that returns the max number of particles of the emitter
- changed testMovingParticles and testPointSprite to change the numParticle when hitting the space bar

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

13 years ago- fix material editor layout for some window managers (thanks to @madlion)
normen667 [Thu, 28 Jul 2011 17:04:41 +0000 (17:04 +0000)]
- fix material editor layout for some window managers (thanks to @madlion)

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

13 years ago- fix material editor layout for some window managers (thanks to @madlion)
normen667 [Thu, 28 Jul 2011 16:18:25 +0000 (16:18 +0000)]
- fix material editor layout for some window managers (thanks to @madlion)

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

13 years ago- improve "create j3m" naming scheme
normen667 [Thu, 28 Jul 2011 14:52:16 +0000 (14:52 +0000)]
- improve "create j3m" naming scheme

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

13 years ago- fix in MaterialPropertyEditor cache clear
normen667 [Thu, 28 Jul 2011 14:48:06 +0000 (14:48 +0000)]
- fix in MaterialPropertyEditor cache clear

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

13 years ago- fix preview of material in material editor
normen667 [Thu, 28 Jul 2011 12:43:09 +0000 (12:43 +0000)]
- fix preview of material in material editor

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

13 years agoSDK :
remy.bouquet@gmail.com [Thu, 28 Jul 2011 12:29:45 +0000 (12:29 +0000)]
SDK :
- fixed materialPropertyEditor that was failing when changing material and aplying it to the geom

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

13 years agoSDK :
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

13 years agoSDK :
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

13 years agoSDK :
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

13 years agoSDK :
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

13 years ago- update wiki page list
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

13 years agoTexture key for generated textures added.
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

13 years agoSDK : fixed scene explorer refresh when deleting a light node
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

13 years ago- rename "SceneViewer" to "OpenGL Window" to reduce confusion
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

13 years ago- fix small typo in BlenderLoader
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

13 years agoFix to loading models with high number of vertices (greater than Shor.MAX_VALUE).
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

13 years agoImproving image loading speed by using the BufferedInputStream.
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

13 years agoFix to narmal map loading.
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

13 years agoSDK : re-added the cache delete when loading an asset since it has been fixed in...
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

13 years agoSDK : added possibility to switch to front, left, top, etc... views
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

13 years agoFix to loading normal maps.
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

13 years ago * All asset cache operations can now work on smart cache
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

13 years agoSpot light : fixed issue that was preventing point lights to work correctly when...
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

13 years agoSDK : remover deleteFromCache call in SpatialAssetDataObject since it's not allowed...
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

13 years ago * AssetPathURL now accepts non-relative asset paths
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

13 years agoSeveral changes to constraints (but may not working well yet).
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

13 years ago* Javadoc for some classes
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

13 years ago- fix Material Editor j3m path setting
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

13 years agoFix: fixed exception when trying to jump with physics turned off
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

13 years ago * Fixed issue with spot light shader not taking into account alpha
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

13 years ago * Fix crashes due to introduction of MaterialKey
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

13 years ago * Fix crash in TestEverything
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

13 years ago * Fix for ParticleEmitter.clone()
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

13 years ago * asin -> atan
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

13 years agoFix: fixed a bug when using alphamaps with TerrainGrid
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

13 years ago- added a ColorRGBA to tempVars
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

13 years agoAndroid: fixed logging
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

13 years ago- Reverted previous uniform change, it was causing changes in constants, when user...
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

13 years agoFixed a typo in the comment. OCD strikes again.
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

13 years agoTurning the memory tracking off since it's pretty expensive
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

13 years agoFixed varrying binding in the lighting shader
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

13 years agosdk : complete commit due to prior mistake in commit
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

13 years agosdk : added spot light support to scene composer
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

13 years agosdk : added spot light support to jmp
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

13 years ago- fix lighting compile error
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

13 years ago- Added SpotLight light type.
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

13 years agoUniforms : fixed Copyright formatting
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

13 years ago * Prevent shader leaks
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

13 years agoUniforms : fixed clearValues to not assign references.
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

13 years ago- fix nifty project library
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

13 years agoAndroid: added some more logging to the surface creation
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

13 years agoChanges to animations storing (not yet used in the selected blender file) and small...
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

13 years ago- fix to HingeJoint (native bullet), thanks to @makeshift
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

13 years agoFix to armature modifier loading.
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

13 years agoreduced terrain save j3o file size
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

13 years agoImprovements to blender manual tester.
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

13 years agofixed terrain camera controller to use the changes to AbstractCameraController
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

13 years ago * System.load() will still be called on natives even if the file already exists
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