191 Commits

Author SHA1 Message Date
sha..rd
e8069191a3 * Plane.normal is now created by default and set instead of using references
* Fix crash in TestAppStates 
 * Fix crash in TestBox 
 * Removed useless calls to Spatial.updateModelBound()
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7673 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:22:35 +00:00
sha..rd
c727d3e006 * Fixed crash in TestCinematic
* Fixed crash in LightList.sort()
 * Removed usage of Arrays.copyOf() in BitmapFont, so Android can run it
 * Formatted OGLESShaderRenderer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 00:23:19 +00:00
bre..ns
2ded30739d * bumped up terrain material texture support
* updated the test case example

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-18 00:10:36 +00:00
ant..om
c9993d87b8 Updated TerrainGridTest: removed the original fractal code, as it is not used for this test anymore
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-17 07:01:51 +00:00
sha..rd
5c8a7c4dd4 * Added smooth terrain editing to TerrainTestModifyHeight
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7645 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-17 01:28:21 +00:00
bre..ns
993b220922 * performance improvements to terrain height modification
* api change to let you pass in many points to be adjusted in the terrain

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-16 23:57:44 +00:00
rem..om
97e4a03ceb Working TestPostWater with only one light to avoid the depth write bug until i found a solution
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7622 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 05:14:40 +00:00
sha..rd
37894d1698 * HttpZipLocator UTF8 decoder replaced with proper code
* Removed some redundant javadoc from SceneProcessor
 * Fixed bug where GeometryBatchFactory.optimize() wouldn't reset the transform on the argument node as would be expected since optimize() applies the world transform of the geometries automatically
 * Terrain grid tests now stream terrain data from googlecode servers instead of having the data bundled in the nightly builds

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 02:49:18 +00:00
ant..om
155ab1c1c6 Updated TerrainFractalGridTest and TerrainGridTest to call terrain.initialize()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 17:57:37 +00:00
ant..om
2073f58cf8 TerrainGridListener is extended to be able to change material of individual grid files.
Also added new grid test-data, cause it somehow disappeared

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 17:23:47 +00:00
sha..rd
d6d3894fff * New version of nifty * Added simple package.html for some of the jME3 packages
* Additional javadocs for com.jme3.renderer
 * Removed Camera.setDirection()
 * ImageBasedHeightMapGrid now uses AssetManager to find heightmaps


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-13 04:04:57 +00:00
sha..rd
a8533e5378 * Fixed crash in TestDepthOfField
* Moved Remy's render state hack to filter processor where it belongs

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7603 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 23:15:03 +00:00
rem..om
95e709f820 Water Filter : underwater shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7599 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 19:49:13 +00:00
ant..om
b8d1073014 Introduced a new Namer class, so the heightmap tiles' names can be generated independent from the terrain system.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 09:49:50 +00:00
sha..rd
8cbb0f210d * Small javadoc fixes
* Formatting for com.jme3.effect package
 * Formatting for blender importer and networking tests
 * All networking tests ported to new SpiderMonkey
 * Removed all mentions of java.util.Serializable
 * RMI now works under new SpiderMonkey

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7593 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 05:17:41 +00:00
sha..rd
d03683deca * SimpleTextured, SolidColor, VertexColor, and WireColor are now obsolete. Using those materials will crash your application.
* Additional javadocs for Material
 * Added TestMusicStreaming

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7591 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-12 02:35:19 +00:00
sha..rd
80900a8d64 * Moved MatParamTexture out of the Material class (might break loading of old j3o models ..)
* Renamed BinaryClassLoader to SavableClassFinder and put it into core
 * SavableClassFinder now can remap class names, it is used to load old J3O files with particles in them by remapping the old shape names to the new names.
 * Moved the particle emitter control into an inner class so nobody fools around with it
 * Loading of old particle emitters now works
 * Fixed issue with input not responding
 * Fixed some small javadoc mistakes in RenderState
 * Javadocs for com.jme3.material (not done)
 * AbstractControl will now throw exception when an already-attached control is added to another spatial
 * All tests should now use non-deprecated ParticleEmitter.setGravity method

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-11 23:53:55 +00:00
rem..om
3f707fb44a GeometryBatchFactory now retain original Lod informations thanks to Rickard
see post : http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/lods-for-geometrybatchfactory/

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7579 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-11 08:49:37 +00:00
sha..rd
eed0a864f0 * Fixed crash in TestNiftyGui by moving hellojme.xml to test-data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7573 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-11 02:32:32 +00:00
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