920 Commits

Author SHA1 Message Date
rem..om
02c7ab94a0 sdk :
- fixed bounding box selection shape condition

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-10 10:21:48 +00:00
rem..om
c8c48347d9 sdk :
- Added support for FXAA filter to JMP
- Fixed a typo in SSAO filter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-09 15:39:10 +00:00
rem..om
10366623f7 Added FXAA filter to the core thanks to phate666 for its implementation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7992 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-09 15:37:58 +00:00
rem..om
c6bd03eeab Added LinearExtrapolation to FastMath thanks to Wezrule http://jmonkeyengine.org/groups/features/forum/topic/2-requests-for-features/#post-138082
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 22:21:55 +00:00
sha..rd
77dd6761ee * Added fix for when an mesh xml animation has no tracks will no longer throw NPE
* FileLocator now supports "." as a path

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7990 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 20:36:43 +00:00
sha..rd
c5aba505fc * Fixed AssertionError in SceneLoader when loading multiple scenes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7989 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 19:15:29 +00:00
sha..rd
984721cc75 * AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
* Misc javadocs
 * Fix for SoundHandleJme.stop()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 00:08:22 +00:00
rem..om
6432543395 sdk :
- You can now select a material  in material browser by double clicking it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7987 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 16:43:02 +00:00
rem..om
d216390a00 sdk :
- You can now select a texture in texture browser by double clicking it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 16:39:50 +00:00
rem..om
b035d52fa2 sdk :
-  Material live update in material support : now changing parameters in Material editor affect the scene in real time

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7985 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 16:31:41 +00:00
rem..om
3bb3277f3a sdk :
-  Material live update in platform core


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 16:30:19 +00:00
roo..li
59b00bbae9 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: https://jmonkeyengine.googlecode.com/svn/trunk@7983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 14:45:36 +00:00
roo..li
3a3a5de8c9 Added javadoc, fixed tiny typo, reformatted sample a bit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 09:42:51 +00:00
rem..om
20f5e9d200 Fixed vertex lighting broken since last spot light changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 07:44:43 +00:00
sha..rd
2d2ce703d9 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@7980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 03:55:56 +00:00
rem..om
5476be99f7 SpotLight : Applied the same changes to terrain lighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-05 17:37:29 +00:00
rem..om
9e5f9be5ec 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: https://jmonkeyengine.googlecode.com/svn/trunk@7978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-05 17:03:46 +00:00
PSp..om
d67adb8266 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: https://jmonkeyengine.googlecode.com/svn/trunk@7977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-05 07:55:04 +00:00
PSp..om
d62c1311fb 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: https://jmonkeyengine.googlecode.com/svn/trunk@7976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-05 06:46:56 +00:00
Kae..pl
1f90dcb8ff Textures importing refactoring in blender loader.
Each generated texture has now its own generator class.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-04 21:39:35 +00:00
rem..om
152153e94f SDK : removed reference to org.jdesktop.layout in core project
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-04 12:01:32 +00:00
rem..om
72b6211c6f SDK : fixed NPE in colorRGBADIalog introduced by previous change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-03 00:19:38 +00:00
rem..om
354fab834e SDK : Changed Texture panel in material editor to display a preview of the texture, added icons on buttons
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-02 23:33:48 +00:00
rem..om
bb4449423d SDK : Changed color panel in material editor to display the color and input the values in separate fields
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-02 21:35:51 +00:00
rem..om
d722c65280 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: https://jmonkeyengine.googlecode.com/svn/trunk@7970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-02 14:24:59 +00:00
rem..om
291fa0dc1b SDK :
- fixed alignement issues due to previous change in TextPanel

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7966 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-02 00:05:08 +00:00
rem..om
5af2fb3fbb 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: https://jmonkeyengine.googlecode.com/svn/trunk@7965 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 22:50:25 +00:00
rem..om
27e3256577 SDK :
- fixed issue 374...maybe

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 22:45:18 +00:00
rem..om
4c99595a9a SDK :
- fixed polyOffset issue
- fixed FloatPanel spinner having an integer step size

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 22:37:21 +00:00
nor..67
59d2c95991 - display message when unable to open DDS image
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7962 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 18:08:03 +00:00
nor..67
67a8ed6fc7 - disable opening of SceneViewer for OffScenePanels
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7961 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 17:48:54 +00:00
rem..om
2b2daf2090 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: https://jmonkeyengine.googlecode.com/svn/trunk@7960 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 14:05:01 +00:00
rem..om
8dba313b4a 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: https://jmonkeyengine.googlecode.com/svn/trunk@7959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-01 14:00:27 +00:00
sha..rd
2767600fe3 * Proper aging for particles emitted in a frame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-31 20:51:05 +00:00
rem..om
6dcf5f2d50 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: https://jmonkeyengine.googlecode.com/svn/trunk@7956 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-31 09:29:25 +00:00
rem..om
6c24af2831 Particle Emitter : faceNormal is now correctly saved
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-31 08:45:35 +00:00
Kae..pl
83eff8fef0 Removing unnecessary packages.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 23:31:29 +00:00
Kae..pl
1e7b7860fe 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: https://jmonkeyengine.googlecode.com/svn/trunk@7953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 23:28:21 +00:00
rem..om
21f09ad716 SDK refactored texture browser to use a treeview instead of a list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7952 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 21:06:06 +00:00
Sha..om
a1e1057622 * Added javadoc for ParticleEmitter.setMeshType()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 18:37:11 +00:00
Kae..pl
a6700cc754 Minro javadoc update.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 14:43:10 +00:00
rem..om
160b52ff57 SDK Particle Emitter Node:
fixed typo

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 12:35:28 +00:00
rem..om
3a6e089954 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: https://jmonkeyengine.googlecode.com/svn/trunk@7948 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 12:31:37 +00:00
rem..om
f5dceb6c4d Particle Emitter :
- Added possibility to change the mesh type after initialization

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-30 12:29:26 +00:00
rem..om
865c380b4e 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: https://jmonkeyengine.googlecode.com/svn/trunk@7946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 17:30:03 +00:00
Kae..pl
8de7a5755e Fix to mirror modifier loading (buffer bounds were exceeded in some cases).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 12:16:37 +00:00
Kae..pl
fbd1cb837b Ignoring textures that are defined but disabled in material.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7944 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 09:33:35 +00:00
Kae..pl
733195c33c Fix with reading the proper buffer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 08:43:23 +00:00
rem..om
2b802d5272 Particle Emitter :
- fixed NPE when loading a ParticleEmitter from a j3o

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-29 07:12:19 +00:00
Kae..pl
821dc08553 Automatic generation of UV-coordinates (not the best solution yet, but working on it ;) )
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-28 21:09:56 +00:00