316 Commits

Author SHA1 Message Date
sha..rd
3ed2824cc3 * Sorting ID now reset properly when shader or texture changed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7377 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 04:48:10 +00:00
sha..rd
b5a8080f61 * Added checking for image format
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7376 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 04:41:00 +00:00
sha..rd
0d0454f248 * Canvas is now using pbuffer workaround, allowing renderer to acquire renderer capabilities even if the canvas is not visible yet.
* Handling of context destruction is now handled individually for displays and canvases.
For canvas, this allows it to destroy the pbuffer in addition to the display.
 * VertexBuffer now has better detection for data size changes, might prevent GL errors in certain cases. NOTE: VertexBuffer.updateData() is generally more stable than VertexBuffer.setUpdateNeeded(). Refrain from using setUpdateNeeded() .. its an internal call anyway. Using it directly could cause GL errors.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7374 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-30 23:10:25 +00:00
rem..om
4b52dba7f8 Made ragdollTest silent again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7372 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-30 20:24:00 +00:00
rem..om
427163475c - RagdollControl is now called KinematicRagdollControl
- better user API (setKinematicMode(), setRagdollMode(),...)
- You can now enable/disable the control anytime, with no side effects
- added more javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7370 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-30 13:47:01 +00:00
rem..om
93d0ed73e3 - Added a test case for the add kinematic object to physic space to tets with native bullet
- made a workaround in PhysicSpace for non native

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7369 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-30 10:12:38 +00:00
sha..rd
dcf3f3c061 * Fixed bug in RenderImageJme Texture constructor that would not take into account width/height
* MatParam toString() method will now display value

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7368 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 23:52:11 +00:00
nor..67
f6757c73fc - add empty constructore to AudioNode to reenable serialization (temp fix)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7362 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 21:44:14 +00:00
Sha..om
a4e0e634c1 * Fix NPE in LwjglCanvas.restoreCanvas()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7361 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 19:04:13 +00:00
rem..om
c407296ccb Ragdoll
- made some clean up
- started a draft javadoc

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7360 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-29 17:31:04 +00:00
sha..rd
e05c94564f * Uncaught exception handler now set only on render thread instead of entire VM
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7356 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-28 21:58:02 +00:00
Sha..om
d6df196a2a * J3O embedded textures now supported. All textures without a TextureKey set will have their image data directly saved in the J3O file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7355 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-28 20:36:28 +00:00
nor..67
b6f1ed585d - remove wrong native call from test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7349 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 21:30:53 +00:00
nor..67
b55974338d - output command of cpptasks
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7342 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 20:40:46 +00:00
nor..67
ba6419f924 - fix TestBoneRagdoll init order for native physics
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 19:59:36 +00:00
nor..67
638f531608 - add newest version of cpptasks
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7340 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 19:52:35 +00:00
nor..67
a9f544fbf8 - remove static fields from physics tests
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 19:33:50 +00:00
nor..67
4b4c5e89d9 - add target to buil.xml to build native bullet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7338 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 19:14:18 +00:00
rem..om
bb6a8c8062 Ragdoll
- setSpatial(null) supported
- fixed debug shape

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7336 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 18:49:55 +00:00
sha..rd
f640e5de21 * Added javadoc to AudioNode
* Added methods play(), playInstance() and stop() to AudioNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 17:45:57 +00:00
sha..rd
6196de22f7 * Removed all deprecated classes, methods, and fields
* AudioNode now takes AudioRenderer in its constructor to allow audio.play() functionality

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 16:45:01 +00:00
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
2011-04-27 16:02:09 +00:00
nor..67
650acbc715 - add maxtime for BombControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7328 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 13:33:33 +00:00
PSp..om
1b837fe7ea Make client-side background threads daemon.
Reduced the amount of logging from invalid UDP messages
received.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7314 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-26 21:53:49 +00:00
rem..om
0d4e07f924 WIP Ragdoll
- fixed the "push ups" issue
- now Sinbad knows his up side


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7313 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-26 21:53:39 +00:00
rem..om
cffd1ec760 - WIP Sinbad standing up model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7311 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-26 20:54:32 +00:00
rem..om
2f1f2e7e54 - WIP Sinbad Ragdoll can now stand up after beeing whacked
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7309 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-26 20:42:44 +00:00
sha..rd
b06652b6a8 * Fix issue 179, shadows and HDR don't work together (thanks spencers)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-25 01:49:19 +00:00
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
2011-04-24 21:12:19 +00:00
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
2011-04-24 08:45:35 +00:00
sha..rd
d66a02eafc * Added TestSoftwareMouse
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7299 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 23:14:48 +00:00
sha..rd
4698e13644 * Fixed IllegalArgumentException in Camera.setGuiBounding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 23:05:45 +00:00
sha..rd
b729309949 * Fix syntax error in TestOgreAnim
* Ogre3D MaterialLoader now properly loads materials exported from blender2ogre (Blender 2.57)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7297 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 20:51:23 +00:00
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
2011-04-23 20:19:19 +00:00
nor..67
8e6b51dac1 - add cpptasks to antlibs
- add build script for native bullet binaries
- add documentation for building native bullet statically
- add first native classes for PhysicsSpace (nothing works yet, only physics space is created)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 16:02:48 +00:00
sha..rd
4ff31a6fab * Changed depth function back to GL_LEQUAL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 04:07:43 +00:00
sha..rd
edd5aaaeb5 * CrossHatch filter should now properly compile on ATI
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7292 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 03:13:05 +00:00
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
2011-04-23 03:05:06 +00:00
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
2011-04-23 02:03:21 +00:00
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
2011-04-23 01:28:32 +00:00
sha..rd
d96912e900 * Fix syntax error in TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7288 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:04:48 +00:00
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
2011-04-23 01:02:07 +00:00
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
2011-04-22 21:10:27 +00:00
nor..67
53f5df5a3f - add logging for adding and removing of objects to PhysicsSpace
- rename PhysicsJoint.getConstraint() to getObjectId() preparing for native bullet

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7284 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-22 19:17:04 +00:00
sha..rd
ed7789b7a6 * The OpenGL2 renderer now actually scales non-power-of-2 textures instead of throwing out a useless warning
* Nifty GUI now supports the rescaling of textures by storing the resolution beforehand

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7281 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 20:46:24 +00:00
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
2011-04-20 20:18:41 +00:00
sha..rd
8019ba2a53 * LwjglRenderer will throw an exception when attempting to set null shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 18:56:18 +00:00
sha..rd
5ffa3927ea * Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7278 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:48:17 +00:00
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
2011-04-20 17:41:47 +00:00
PSp..om
2bc6e27200 Proper fix for the bug where JME's quaternion wasn't
being serialized automatically.
When a class is final and in the field of a class that
is registered, it is safe to register it automatically
because the type can be determined reliably on the
other end of the stream.  So now it allows that.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7276 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:41:15 +00:00