2658 Commits

Author SHA1 Message Date
sha..rd
a24becee32 * Replaced all usages of ByteBuffer.allocateDirect() with BufferUtils.create***Buffer() so that memory can be tracked
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7845 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-09 20:02:39 +00:00
bre..ns
7b93faa8e1 fixed but with normals not updating in terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 15:10:25 +00:00
bre..ns
668eaf9cfb changed TerrainGrid methods to protected access
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7842 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 00:11:44 +00:00
bre..ns
a5511a19dc pulled ImageBasedHeightmap height color calculation out so it can be customized by subClasses
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7841 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-08 00:07:08 +00:00
ant..om
dde0c0a885 Fix: extended TerrainGridListener with ozonegrif's extension
this allows physics to be handled by the user rather than manipulating in the grid
see tests for details

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 21:29:45 +00:00
Kae..pl
1403574835 Fix to properties storing (bad casting removed).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 19:40:40 +00:00
Kae..pl
491b0f8bce Fix to loading properties. They are now assigned to Spatial and not only to Geometry.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 18:29:11 +00:00
ant..om
549dda881c Fix: I left a useless parameter in test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 15:23:36 +00:00
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
4eeab63f9f fixed -1 offset in TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7835 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-07 05:41:27 +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
feef9dc6d5 * added an UpdateControl so you can easily enqueue tasks into jme's update loop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7832 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 04:07:43 +00:00
sha..rd
f8df2f00cc * Fixed syntax errors and crashes with shadow processor and filters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7831 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-06 01:40:42 +00:00
bre..ns
08e5d1a68f fixed AbstractHeightMap bounds check, thanks ozonegrif
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 23:49:53 +00:00
kim..ng
7b0f06ff4d Android: added mouseEventsInvertY option to Harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 20:20:01 +00:00
bre..ns
bb718f942c * javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7826 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 19:42:37 +00:00
bre..ns
db83e48019 * fixed terrainGrid NPE on executor
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7825 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 16:28:12 +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
bre..ns
9407f4c3d0 * delayed creation of TerrainQuad executorService unless absolutely needed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 15:56:32 +00:00
Sha..om
b2c7849355 * Added stereo 3D to AppSettings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7822 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 14:14:11 +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
bre..ns
e3574d2fe7 part 2, renaming
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-04 23:55:45 +00:00
bre..ns
1a78dd200c removed unused geomap classes, replaced with single GeoMap class (part 1 of 2 part commit, blasted netbeans)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7819 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-04 23:40:38 +00:00
bre..ns
c5d0b7b8e8 removed redundant RawArrayHeightMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7818 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-04 22:55:05 +00:00
sha..rd
87737f96e0 * Fix BillboardControl "Spatial was not updated before rendering" crash
* Add F5 key to hide FPS/stats

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7813 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-03 00:09:21 +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
nor..67
65de002a7a - fix texture repeat in MaterialExtensionLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7810 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-02 14:28:10 +00:00
bre..ns
8c7469d210 fixed a bug with normals in TerrainLighting material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7796 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-01 17:53:21 +00:00
sha..rd
108e124323 * Fix shader compile error in Sky.frag
* Fix shader compile error in PostShadowPSSM.vert

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7795 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-01 17:09:00 +00:00
sha..rd
7314c5f613 * Fix lighting "early cull" issue for terrain lighting shader as well
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7794 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-01 17:01:00 +00:00
nor..67
8cbde935a4 - fix texture flip bug in MaterialExtensions
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7793 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-01 01:43:01 +00:00
sha..rd
f41584e966 * Applied abies fix to Sky rotation
* Blender importer now puts transparent materials in the transparent queue bucket
 * Blender importer creates RGBA8 textures as a result of blending
 * Blender importer - all textures are now mipmapped by default 
 * Lighting shader now supports lightmap
 * Fixed GLSL 1.5 warnings
 * Ogre3D materials now use glow color as emissive color 
 * MaterialLoader will now only load first texture unit instead of last
 * All XML loaders are now namespace aware by default so that android can properly load XML

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7792 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-01 00:33:39 +00:00
kim..ng
ef6b7157b9 Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 18:24:31 +00:00
nor..67
42feb50b76 - use OgreMaterialKey in ogre mesh and scene loader so one can add MaterialExtensionSets via an AssetEventListener
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7790 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 15:09:19 +00:00
ant..om
9a3353698a RigiBodyControl is applied to subquads instead of the whole terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7789 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 14:29:48 +00:00
bre..ns
1c4548123a variable assignment for RawArrayHeightMap serialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 01:03:32 +00:00
bre..ns
e6f6f94718 Added RawArrayHeightMap courtesy of OzoneGrif
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7786 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 22:09:29 +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
rem..om
7cb3ca4712 FilterPostProcessor : better init of the filter stack in the read method
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7782 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 21:45:58 +00:00
rem..om
e42ab8f0c1 SkeletonControl : added a call to super.setSpatial in setSpatial
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 20:55:38 +00:00
nor..67
699e29efb4 only generate public member javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 13:57:01 +00:00
nor..67
8f3a45ae18 fix javadoc generation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7779 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 13:56:12 +00:00
kim..ng
c58f429543 Android: Fixed bug in AndroidHarness if appClass can not be found
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 07:29:16 +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
rem..om
4d0f8f1330 Water filter, removed a sneaky System.out
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 21:15:15 +00:00
rem..om
a6db13e67f Serializable water filter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7765 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 20:45:40 +00:00
kim..ng
f5ee0ca201 Android: Added positional audio and let the user control the overall media volume
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 18:43:36 +00:00
rem..om
cc7110d4f5 Removed Annotations for filters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7761 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 16:43:28 +00:00
bre..ns
d9c3df086d increased terrain diffuse texture limit to 12, including normals
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7759 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 00:10:13 +00:00