305 Commits

Author SHA1 Message Date
ant..om
07e096ae71 Fix: the new way to add physics to terrainGrid is to use the listener interface, see updated tests
new heightmaps are provided for TerrainGridTest

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7836 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 15:02:08 +00:00
bre..ns
1a08b7b0f6 * fixed lod bug in TerrainGrid
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 20:12:44 +00:00
bre..ns
1a72ca91b1 * simplified terrain tests, only passing in single camera
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7824 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 16:03:54 +00:00
sha..rd
235646f38f * Minor shader formatting
* Particles now have proper glow
 * Fixed bug where references to static variables would stay in ParticleEmitter and particleInfluencer, causing havoc
 * Fixed warning in InputManager when using ScreenshotAppState
 * TestEverything now uses TangentBinormalGenerator, since before there was no tangents for the floor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 03:47:29 +00:00
sha..rd
bffe191275 * Fix NullPointerException in MaterialHelper
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7812 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-02 22:20:22 +00:00
bre..ns
70f1a6f323 * Cleaned up and simplified the Terrain API.
* Removed dependence on TerrainQuad for TerrainLodControl
* Comments, general cleanup

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 21:56:20 +00:00
ant..om
e44d581fea Fix: fixed, white terrain effect according to the forum
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 06:20:37 +00:00
ant..om
dbe1bb0ed6 Fix: calculating localTranslation after gridChange
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7776 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 06:19:00 +00:00
sha..rd
09137fef25 * Better TempVars benchmark
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7752 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-26 22:45:49 +00:00
sha..rd
8523bcb46c * Fix ArrayIndexOutOfBoundsException in TempVars
* Rename project name in ANT script to "jMonkeyEngine3"

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7751 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-26 21:17:45 +00:00
sha..rd
951d9fe23a J3O incompatibility issues fixed
* When loading models with SimpleTextured/WireColor/SolidColor materials 
 * When loading Unshaded material with spelling error "SeperateTexCoord" instead of "SeparateTexCoord"
 * Also fixed issue with loading animated models

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7729 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-25 18:47:20 +00:00
sha..rd
348b1d638a * Fixed Blender loader crash when "Image" texture mode is specified but actual image is not selected
* Replaced oracle proprietary exception with UnsupportedOperationException
 * Shared Geometry Patch - Still need detection mechanism for old versions!
 * Binary/J3O format will now write signature and version
 * Binary/J3O format now has version numbers for exported class hierarchies
 * Fix crash in TestHoveringTank
 * ListMap now uses backing array and a map - increased lookup performance for uniforms/matparams and faster iteration too. Only insertion became slower

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7726 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-25 05:25:32 +00:00
rem..om
413f2b1e48 Implemented a new TempVars system, temp vars can now be requested without conflict.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7692 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 19:27:55 +00:00
sha..rd
c410fae0a6 * Plane.normal is now created by default and set instead of using references
* TerrainTestModifyHeight now uses mouse left/right buttons to raise/lower height

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7674 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:39:09 +00:00
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