322 Commits

Author SHA1 Message Date
Kae..pl
19ad025877 Moving emitter shapes to a separate package.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-10 17:03:29 +00:00
Kae..pl
c50055645f Initial import of blender loader test classes and assets.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-08 18:53:46 +00:00
kim..ng
2768e68c3a Android: getTouchInput() interface add
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-04 20:34:43 +00:00
rem..om
2d4896942d TranslucentBucket :
- Added a translucent bucket that is rendered after the processors (usefull for shadows)
- For filters, rendering this bucket is a bit particular, so you can use the TranslucentBucketFilter to render the translucent bucket in the middle of the fillter stack (doc is comming up in the wiki)
- renamed Filter's preRender method to postQueue for consistancy with processors
- added translucent objects in TestPostWater, added a fire (particles) in test transparent shadows

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-31 06:51:51 +00:00
ant..om
4fa5522c8e Added a terrain material that uses height and slope information to map textures instead of alphamap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-29 09:30:47 +00:00
ant..om
58ede837c6 Added my own noise library as jar (noise-0.0.1-SNAPSHOT.jar), hope I didn't break any build stuff
TerrainGridTest is running smooth now using 257x257 sized TerrainQuads with fractal based heightmaps calculated on the fly.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-28 18:48:27 +00:00
Sha..rd
e91fe8f541 * Converted terrain textures to JPG to reduce filesize
* Updated to latest nifty gui
 * Music player now uses duration property
 * TestSerialization ported to new SM

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-22 17:46:14 +00:00
ant..om
0bfd5aa2a3 fixed a bug calculating camera cell
Test is updated to not use LOD and physics for testing purposes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-12 18:20:23 +00:00
ant..om
34a47debb9 TerrainGrid added to terrain package, test included
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-11 04:42:57 +00:00
rem..om
792f44cf9f Post process filters :
- re-implemented multiview filters another way (filters are now correctly rendered to the size of the viewport, and that's much faster)
- fixed an issue the was messing the filter render when using setEnabled on a filter prior FilterProcessor init
- fixed a deprecated m_ mat in WaterFilter

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-09 17:00:17 +00:00
sha..rd
a28c2622d9 * Revert back to fixed ortho matrix calculation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-08 18:21:48 +00:00
rem..om
083333ac6e - Fixed viewPort positioning and scaling for ortho cam and added multiple gui viewports to TestMultiViews
- Filters can now be added to multiple viewports, added a TestMultiViewsFilters

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-06 23:08:10 +00:00
sha..rd
6b537307fd * Deprecated ViewPort.setClearEnabled, since we have separate clear flags for each channel in the framebuffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-06 01:50:47 +00:00
sha..rd
f004d23070 * LwjglCanvas now correctly resets the renderer state by calling renderer.invalidateState(). Doing renderer.resetGLObjects() is NOT sufficient in many cases ...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 18:58:22 +00:00
Sha..om
7d91174b5b * Throw proper exception in TestJoystick if none found
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7440 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 16:13:17 +00:00
Sha..om
e6d859143f * Removed incorrect javadoc from TestChangeAppIcon
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7439 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 15:58:49 +00:00
sha..rd
cfb647f743 * Reduce input lag by polling after framerate syncing
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7382 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 19:02:36 +00:00
rem..om
4d1d9edc29 KinematicRagdollControl :
- Made a lot of clean up and optimization
- Better automagic creation of the ragdoll


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7379 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-01 09:18:29 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2011-04-20 17:21:08 +00:00
sha..rd
e990b25822 * TestNiftyGui now uses jme3test/niftygui/hellojme.xml and acts as a ScreenController
* Added TestNiftyExamples that runs the all/intro.xml in the nifty examples jar

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:52:38 +00:00
rem..om
cdba72d2b7 Ragdoll, some enhancements
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7261 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-18 21:47:09 +00:00
nor..67
bfdffb1ffb - improve ragdoll test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7250 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-17 11:52:28 +00:00
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
1f286f424f - RagdollControl now has automagic joint setup via RagdollPreset and HumanoidRagdollPreset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 19:18:47 +00:00
nor..67
75d0c560bf - enable animation for ragdoll test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 12:24:08 +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
53da7c4de4 * Added CCD threshold to BoneRagdoll test so that balls collide more often
* Reduced BoneRagdoll constraints to PI/8
 * Added an ambient light so the ragdoll is more visible
 * Fixed bug with Unshaded.j3md failing with glow map

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:03:55 +00:00
rem..om
6417263674 - RagdollControl now uses SixDofJoints instead of ConeJoints.
- Ragdoll joints are now fully tweakable by user
- Changed controls in TestBoneRagdoll : keep left click pressed longer to throw bigger bullets.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 16:07:26 +00:00
sha..rd
643eebb4bd * Deleted useless TestYCoCgDds test and related textures
* Actually replaced tree textures this time. Not compressing the leaves texture because it leads to artifacts. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7204 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:06:04 +00:00
rem..om
23e17164da Fixed ogreComplexAnim scale
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7190 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 05:26:25 +00:00
rem..om
916f4f203c Ragdoll :
- added ragdollCollisionListener
 - Switch between animControl and ragDollControl
 - TestBoneRagdoll : Shoot with left click, reset Oto with spacebar. Added bullet time on first impact :D have fun!

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 22:11:28 +00:00
rem..om
0a82e1ee11 Lolilol the ragdoll
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-04 19:02:12 +00:00
PSp..om
8858ccf2ef Getting rid of a couple of compiler warnings.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 03:09:08 +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