sha..rd
33dac750d7
* Fix for jMonkeyPlatform "100% CPU usage" bug
...
* Deprecate Quaternion.normalize() as it does not follow naming convention
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7332 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
609d975965
Fixed a hack in Bone class for the ragdoll, so Kirill can sleep again.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7303 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
6c2eba12ec
Fixed double TempVars locking in skeleton and bone when computing skinning matrices, thanks to cyuczieekc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7301 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
4698e13644
* Fixed IllegalArgumentException in Camera.setGuiBounding
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
e6b11e8013
* Fixed yet another bug with transforms, this time in Spatial.worldToLocal
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a06ce4ebcd
* Fixed issue where scene graphs with non-uniform scales would give incorrect result
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
bfe772dd71
* Animated models won't be updated unless they are in the camera frustum ... Hopefully this won't break anything
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7290 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
1ace200526
* Actually fixed the setSpatial(null) bug now ..
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7289 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
8aa7468370
* Removed deprecated methods from AnimControl
...
* Fixed bug where AnimControl would crash on setSpatial(null)
* Mesh will deserialize lod levels list using arraycopy now
* Renamed shorthands "ar" and "manager" to their Application equivalents in AudioApp
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
jos..om
9cc223c507
RenderState support for two sided Stencil Buffer operations (in order to support Shadow Volumes in the future)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7286 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7d6167c0dc
* Added Renderer.invalidateState() to reset the render context
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
e9e64c7cb7
* Removed deprecated AnimControl constructor
...
* Moved bind pose generation to Mesh away from Ogre loader as its a fairly common operation for animation loaders
* Added TestCustomAnim test which demonstrates how to generate an animated model from scratch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7277 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
75fa331345
- added LightNode
...
- used tempVars to avoid Vector3f and Quaternion instancing in update method of CameraControl.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
9088d6230d
* Added Camera.lookAtDirection()
...
* Added docs for Camera.containsGui()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7268 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
67dd48aae7
* Camera.setDirection() now deprecated since it doesn't do the thing most people expect it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7266 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f2f6246e43
* Moved Screenshots to Desktop Source Package since it uses BufferedImage
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7265 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
190767e7be
* Fixed bug with Spatial.localToWorld() and Spatial.worldToLocal() not using checkDoTransformUpdate()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7263 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
0539f1971a
- ChaseCamera's attributes are now protected
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7249 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
062861beea
ChaseCamera : added a setUpVector method.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7246 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
255fe9f9c9
Turned the magic input mapping strings into constants to
...
make it easier to unbind them if desired.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7242 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
d729da9e78
* @SuppressWarnings("fallthrough") to prevent warnings
...
* Fixed rest of the warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7dd3d52e9e
* Removed many deprecated methods and classes
...
* Fixed various small issues detected by code analyzer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
efb9792c95
* Better toString() methods for Image and Texture
...
* OGGLoader no longer fails if file length less than number of expected samples
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
rem..om
77acf77428
Fixed NPE in setBoneAttachement in SkeletonControl.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
nor..67
b24b3f78d4
- add suppress warnings for Spatial.getUserData()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7196 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
nor..67
33596cb88f
- serialize light&camera name
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
nor..67
cdd44058d8
- remove isActive from AppState interface
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago