155 Commits

Author SHA1 Message Date
rem..om
3378222dfa Ragdoll :
- New test with sinbad
- Added bone selection for building the collision shapes
- Moved Radoll classes to proper package

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-12 12:35:10 +00:00
rem..om
14e4b79170 Changed Camera.setViewPort(float,float,float,float) to not call onViewPortChage 4 times.
thanks to Lutherion http://jmonkeyengine.org/groups/development-discussion-jme3/forum/topic/possible-bug-with-viewport-on-camera/#post-124630

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7235 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-12 11:29:56 +00:00
sha..rd
7f7fc50ab5 * Increased buffering for streaming audio from ~250 ms to 1000 ms.
* Reduced audio thread update from 100 fps to 20 fps (why was it 100 anyway??)

Result: Music stuttering dramatically reduced.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 00:57:18 +00:00
sha..rd
2979a26984 * Added support for up to 8 texture coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:15:33 +00:00
rem..om
77acf77428 Fixed NPE in setBoneAttachement in SkeletonControl.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 20:54:53 +00:00
PSp..om
f9c321e6e9 Reduced the scope of the synchronized block to something
more reasonable (rather than essentially encompassing the
entire application if you build your app around AppStates)
but the realy benefit is now the app states can add/remove
other app states without random oddness happening.
...and it's ever so slightly more efficient now, too.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7220 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-08 03:55:57 +00:00
sha..rd
3778400635 * More errors sent to Application.handleError()
* Application.handleError now stops by default to prevent process from lingering on
 * Made sleeps in LwjglCanvas slightly longer to prevent hogging 100% cpu
 * Renamed elephant skeletonxml to skeleton.xml
 * Compressed HoverTank textures and removed high-res versions
 * Compressed Tree textures

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 19:58:16 +00:00
sha..rd
6c776e7bb3 * Got rid of ADPCM stuff that didn't even work
* Fixed bug in WAVLoader causing it to fail if the file had extra bytes at the end

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 03:22:51 +00:00
sha..rd
ff344c6a96 * Added MatParam.getValueAsString() to print out the material param value as it would appear in a J3M file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7199 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 02:49:15 +00:00
sha..rd
c3b060be6d * Fixed bug with WAV audio getting truncated on import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7197 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 01:23:35 +00:00
nor..67
b24b3f78d4 - add suppress warnings for Spatial.getUserData()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7196 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 23:13:02 +00:00
nor..67
6407e5617d - use paul's awesome generics magic in Spatial.getUserData
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7193 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 20:08:55 +00:00
nor..67
33596cb88f - serialize light&camera name
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 13:09:53 +00:00
nor..67
d5db0aef1f - add name to camera and light (not being part of the scenegraph is no reason to be nameless)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7181 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 13:00:12 +00:00
sha..rd
90bf137894 * Added new renderer capability: NonPowerOfTwoTextures
* LwjglRenderer will show warnings when NPOT textures are used and the graphics card doesn't support them
 * LwjglGL1Renderer will scale textures to POT sizes if NPOT is not supported
 * Enable simple logging

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:45:29 +00:00
sha..rd
86a4ad3718 * J3O files will now automatically load J3M files if they were loaded via assetManager.loadMaterial()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:04:47 +00:00
sha..rd
b774630160 * TextureKey.equals() now takes into account flip Y flag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 19:54:26 +00:00
rem..om
db8034d894 Node : fixed setTransformRefresh to properly set the transform refresh to all the node's children.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 10:33:59 +00:00
rem..om
c63c4a3e2b - Used TempVars for transform calculation in getOffsetTransform
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 09:13:47 +00:00
PSp..om
70c1db322f Fixed an indexing bug introduced by the last change.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7169 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 06:29:03 +00:00
sha..rd
636339a432 * Proper TempVars lock/unlock usage in SkeletonControl ... Although it shouldn't really break anything since that class is the only one using the skinning arrays.
* Deprecated Transform.Identity since it does not follow conventions. Added IDENTITY to replace it.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 05:04:14 +00:00
sha..rd
2611139702 * Fixed a possible issue where updateLogicalState could cause an IndexOutOfBoundsException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 04:46:03 +00:00
sha..rd
548eb26428 * Made Bone.getAttachmentsNode() private, instead the method in AnimControl should be used
* Lights do not have names because they are not part of the scene graph
 * Fixed compiler warnings with IntMap iteration

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 03:56:39 +00:00
rem..om
109c6b4ef7 Unreverted back change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 because change is so fun :D, and it's more logical...i guess
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 22:58:13 +00:00
rem..om
dc030c897f Bone animation :
- Split of the AnimControl in two parts : 
	- The AnimControl that handles skeleton transformation via tha animation data
	- The SkeletonControl that handles the skinning of the mesh using skeleton transformations
- Ensured backward compatibility with old j3o files, and changed the ogre mesh loader to create the controls properly
- Reverted change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 transforms passed to the setUserTransform methods must be considered as increments to current transform
- Fixed some issues in the ragdollControl and test case (still WIP don't use it)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 22:41:47 +00:00
nor..67
cdd44058d8 - remove isActive from AppState interface
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 20:50:00 +00:00
sha..rd
12fae01a80 * OBJLoader will no longer crash when it cannot find materials in MTL file
* Fixed bug where calling any of the Listener methods would have no effect 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 01:50:01 +00:00
PSp..om
ee7ba81ee3 Remove the line that puts all bitmap text into the
Gui bucket by default because it's confusing and in
most cases the bitmap text would have inherited that
bucket from its parent if it were appropriate.  Unless
someone educates me as to the error of my ways.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 23:35:57 +00:00
rem..om
50d55b7e59 RagdollControl ---WIP----
- Automatic creation of the ragdoll collisions shapes
- Changed TestBoneRagdoll (press space to activate physics, left click to shoot bombs)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7151 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-01 17:51:54 +00:00
nor..67
2267d5ff1f - fix Ray vars unlocking
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7149 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 23:34:53 +00:00
mul..va
e280c27adf URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/checking-gui-culling/
Check Culling of Gui Node on Screen Space
Now Gui node can have Bucket.Dynamic

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7145 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 08:45:49 +00:00
mul..va
16fc60c8a0 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/renaming-appstate-setactive-setenabled/
Renaming AppState.setActive()/isActive() to setEnabled()/isEnabled() for consistency

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-31 00:26:13 +00:00
rem..om
2762ba3b27 Bone Animation : fixed scale on user transform
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-30 04:31:59 +00:00
PSp..om
228a207aaf Had this one hanging around from like a month ago...
Added the ability to set the geometry comparators
for the buckets for those cases where the app may
know better.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-29 04:31:53 +00:00
sha..rd
e15b26b0ed * Fixed issue where Nifty GUI would consume all mouse button events
* Made video player deprecated


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 19:44:51 +00:00
Kae..pl
a343fef6ea Fix to bezier curve length computation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 11:41:50 +00:00
Kae..pl
b17d5d3706 Bugfix: missing break might have caused problems with curves interpolations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:32:09 +00:00
Kae..pl
46785739a4 Small fixes and support for closed NURBS surfaces.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:08:06 +00:00
sha..rd
9b84a79811 jME3
* RenderManager will reload "shader" boolean on each invocation of render(), since Renderer might not have proper capabilities set before canvas has been attached

jMP
 * Fixed some illegal calls in SceneApplication

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7095 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 04:17:16 +00:00
Kae..pl
a9a7d2d4de Basic support for NURBS curves and surfaces added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7089 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 20:03:17 +00:00
mul..va
26adc4f487 Add missing copyright paraphrase of Curve class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 04:58:34 +00:00
sha..rd
61aea1e2c5 * Big refactoring of LWJGL display system, mainly to support updating the main loop without a render context or input devices being available.
* Added test that demonstrates above functionality, by starting Application without attaching the canvas, and then constantly attaching and detaching canvas from a frame.
 * Deleted deprecated methods in JmeContext 
 * Deleted deprecated class LwjglJoyInput
 * Audio renderer will not attempt to initialize OpenAL twice if already initialized

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7078 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 03:48:37 +00:00
Kae..pl
7aae9615ca Calculation of Bezier curve's length added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 13:07:55 +00:00
Kae..pl
ff5db41a0e A method that returns the length added to curve.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:45:00 +00:00
Kae..pl
4c1fd5ddbf The light's name added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-21 11:44:33 +00:00
sha..rd
de14f87e8b * Ported TestMessages to new SM
* Mesh.deepClone() will no longer keep old collision tree

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 22:47:35 +00:00
sha..rd
a83216731e * AssetManager will now throw an exception when there are issues with loading/locating an asset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 00:56:41 +00:00
rem..om
d9f39f6b0b SimpleApplication has now built in methods to display or not fps tex and stat view.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-17 17:27:07 +00:00
PSp..om
88506617ce BitmapText.setColor(color) now behaves as expected and
sets the default color for all letters even after a
text change.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-16 15:23:26 +00:00
rem..om
67a7c1cf22 Bone animation :
- Fixed squashing flickering when changing animation
- Fixed scale computation when blending
- Ogre loader can now properly load scales from ogre xml files

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-15 22:09:59 +00:00