191 Commits

Author SHA1 Message Date
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
bre..ns
36453a919c TerrainGrid no longer needs initialize() called, handled automatically now.
TG normal seams fixed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8807 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-26 18:38:46 +00:00
nor..67
7f39e256aa - remove physics shape creation from TerrainFractalGridTest altogether
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8744 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 21:46:46 +00:00
bre..ns
2253690024 normen made me do it!
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 19:03:36 +00:00
bre..ns
4e34217111 * Terrain API changes to better support TG in SDK terrain editor
* Refactored TG slightly.
* Updated TG tests
* new TG alphamap test data

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8711 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-17 18:38:41 +00:00
nor..67
9a5bb23687 - fix FractalTileLoader not implementing TerrainGridTileLoader
- change TerrainGrid tests to use new TileLoader classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8700 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 14:18:03 +00:00
nor..67
9e18ec6184 - update test data, add list size check to TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8698 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-16 00:47:46 +00:00
nor..67
796f912ea1 - update test data and Test names for TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8694 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:26:36 +00:00
nor..67
b087c3e843 - rename TerrainQuadGrid -> TerrainGridTileLoader, AssetQuadGrid -> AssetTileLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8693 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:18:39 +00:00
nor..67
4d9783ec81 - add workaround for bugged TerrainGrid test data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8692 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:06:42 +00:00
nor..67
2327e2303d - add workaround for bugged TerrainGrid test data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8691 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:06:06 +00:00
nor..67
77d35acb22 - fix j3o to include material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8690 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:03:30 +00:00
nor..67
3645d09ec2 - add TerrainGrid serialization test
- add TerrainQuad deserialization null checks
- serialize Material in TerrainGrid

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 23:00:37 +00:00
nor..67
3056d0b25e - change test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 20:23:25 +00:00
nor..67
916af255a0 - change test data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8679 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 20:18:42 +00:00
nor..67
4105689fea - improve AssetQuadGrid
- add test for TerrainQuadGrid
- add test data for TerrainGrid

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8678 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-15 19:36:44 +00:00
sha..rd
4ba21821a3 * Added ability to switch between lit model and tangent display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8644 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 03:30:52 +00:00
sha..rd
5440deeaeb * Commit new test tangent for lex
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 03:19:46 +00:00
sha..rd
83ab68264b * Put arrow texture on alien, generate axis for each vertex
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 04:17:24 +00:00
sha..rd
0e49c439b7 * Javadoc for Asset
* Javadoc fix for AudioData, BoundingVolume, CollisionResult 
 * Javadoc package.html for asset 
 * Add test for bad tangent generation models 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8575 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 03:35:11 +00:00
bre..ns
0dddd8613f * fix terrain grid camera offset problem
* updated TerrainFractalGridTest to use physics again

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-01 18:28:43 +00:00
rem..om
fafd79e5d3 - Added textureArray support (thanks to phate666)
- Added a testcase and test materials to use them

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-30 20:31:33 +00:00
rem..om
7193c0b2d3 Batching :
- BatchNode can now batch a scene graph with several materials. It creates a batch by material
- Added a SimpleBatchNode that batch only geometries (no sub node graph) for better performances
- removed RF_REFRESHBATCH from Spatial as it's no longer needed
- changed test cases a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-25 16:46:25 +00:00
rem..om
feeedfa682 - Removed old batching classes (GeometryBatch and BatchedGeometries) as they are no longer needed
- removed the test cases too

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 08:20:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
rem..om
63b62269e8 - Dynamic Batching
- Added a BatchNode that can batch geometries in its sub graph
- added support for matching to Geometry
- created propper test cases
- added a refresh flag to spatial RF_REFRESHBATCH to refresh the batch only when needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 21:47:12 +00:00
bre..ns
7d7c2c53c3 fixed lod in TestSpotLightTerrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8457 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 23:25:20 +00:00
nor..67
2055bf0fe3 - fix TestWalkingChar shooting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8455 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 22:44:51 +00:00
nor..67
3198415cce - make SaveGame use Binary and UUEncode (sun.misc package, available on android?)
- add test

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8445 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 20:13:24 +00:00
rem..om
be6259e5ba - fixed bad time calculation on cinematics
- Used a nano timer for precision
- javadoc'ed a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 19:01:09 +00:00
rem..om
298c052d24 - Use quaternions and slerp for rotation track
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8432 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 20:55:38 +00:00
nor..67
cfc6036bf2 - cleanup after Kirill-Bomb
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8426 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 09:41:10 +00:00
sha..rd
e3bff6d62a * Moved checkFrameBufferError() to part that sets up framebuffer. Can prevent odd crashes on some systems before any framebuffer is active.
* AWT Panels
    - Added automatic throttling to update loop if none of the panels are visible to the user (e.g. covered by another tab)
    - Fixed NPE that could occur when an AwtPanel becomes invisible
    - Called reshape() on all viewports to which an AwtPanel is attached when the panel is resized
    - Fixed inverted mouse coordinates

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8344 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-04 04:30:48 +00:00
sha..rd
fa92c00a20 * AwtKeyInput now synchronized properly between OGL and EDT threads
* AwtMouseInput will no longer generate events with no mouse movement
 * Fixed issue where settings specified on AwtPanelsContext were not copied properly to the offscreen context
 * Significant performance improvements in AwtPanel system
  - Use of proper locking to prevent deadlocks
  - Optimized BufferStrategy by using a single, accelerated front buffer
  - Removed pbuffer.makeCurrent() which was not necessary and used many CPU cycles

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-03 05:05:24 +00:00
sha..rd
a28d0d8baf * Initial commit for light-weight jME3 AWT panels
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8323 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 04:23:52 +00:00
bre..ns
210e4ad17b updated HelloTerrain for LOD API changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8313 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-27 15:36:31 +00:00
Kae..pl
780da5e581 Tests for loading bone and object animation from blender added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 22:22:07 +00:00
Kae..pl
c773395ace Animations refactoring.
- Track is a generic interface now
- all kinds of tracks implement Track<T>
- Animation is the only animation class that should be used now (other classes like BoneAnimation or SpatialAnimation are deprecated now)
- Pose and PoseTrack are made Cloneable to easier clone the tracks and Animation
- one update to OgreLoader (using Animation instead of BoneAnimation)
- one update to tests

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 20:30:22 +00:00
roo..li
7967cc1c33 Updated jme3test.helloworld: Used best practices, simplified, removed deprecations, added javadoc, added TerrainCollision.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8301 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 19:01:34 +00:00
PSp..om
878d997a4e Removing deprecated references.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8285 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 09:15:15 +00:00
PSp..om
7c77fc404b Removing deprecated networking code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8284 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 09:14:34 +00:00
sha..rd
a5be89598f * Always close InputStream in WAVLoader
* Fix use of deprecated classes/methods in android tests
 * Fix bugs with joysticks often generating events for both the negative and positive side of axis
 * Camera.clone() properly clones the gui bounding
 * Camera.setParallelProjection() updates the camera's projection matrix instead of keeping old values
 * LwjglOffscreenBuffer obeys by framerate setting and sets renderable property as needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 00:50:13 +00:00
Kae..pl
bfc57cc7db Spatial animation support added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-21 11:34:10 +00:00
bre..ns
3383e2e086 * refactored TerrainLOD Control and removed some legacy classes for it, made it easier to use
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 23:34:15 +00:00
nor..67
f9f25813d0 - remove ManualBlenderTester
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 14:40:50 +00:00
nor..67
c5b9fef193 - update TestBlenderLoader to test loading relative images
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 22:32:52 +00:00
sha..rd
6d728615a3 * Ogre3D mesh.xml loader is now more resilient to certain models exported using blender2ogre
* Ogre3D dotScene loader can now load spot lights
 * Added some better debugging to FBO errors
 * Fix weird explosion in TestWalkingChar
 * Added additional "canvas torture methods" in TestCanvas 
 * Several fixes to canvas:
   - Issue when size becomes 0, 0
   - Freeze if no framerate limit is imposed and canvas is closed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:46:40 +00:00
bre..ns
69fe43f079 added terrain.getNormal(x,z)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-06 05:31:24 +00:00
bre..ns
a899fbc075 fixed TerrainGrid.getHeightmapHeight, fix thanks to @Makeshift
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 23:32:49 +00:00
nor..67
f5e02874ac - fix tests
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 00:29:10 +00:00