305 Commits

Author SHA1 Message Date
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
nor..67
a2778c2a3c - fix two tests calling render(tpf)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 00:23:13 +00:00
roo..om
26f2fe8c8d Audio tests: Using play() and playInstance() on AudioNodes instead of 'deprecated' playSource() on AudioRenderer.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-02 19:53:26 +00:00
roo..om
1acd324d02 Audio tests: Used non-deprecated constructor, replaced "AudioApp" class by SimpleApplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8149 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-02 19:14:21 +00:00
nor..67
428f0a7627 - simplify TestRagdollCharacter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-01 00:32:51 +00:00
nor..67
b8586a4ea8 - simplify TestRagdollCharacter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-01 00:17:17 +00:00
nor..67
e20f58c5e3 - cleanup TestRagdollCharacter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-31 21:54:22 +00:00
nor..67
eef34897be - add TestRagdollCharacter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-31 12:50:39 +00:00
rem..om
e5c554e112 TestBrickTower : changed some parameters inthe shadow renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8132 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-29 19:42:40 +00:00
nor..67
25c6c0b440 - fix BombControl effect
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-29 18:49:54 +00:00
rem..om
cd474b2be9 Engine :
- WIP : Added new batching system : GeometryBatch, that allow batched geometries to be transformed


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-29 18:35:14 +00:00
nor..67
fab0c6d73c - add support for material name to OgreMeshKey
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-26 02:09:24 +00:00
nor..67
0a18b365ea - clean up blender test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 00:16:34 +00:00
nor..67
3256daecb1 - fix compile or ManualBlenderTester
- add proper blender model load test

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-24 23:17:47 +00:00
Kae..pl
b5e4914ac7 Additional locators added to locate blender resources.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8073 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-24 18:16:26 +00:00
rem..om
5f5eb708da - Added steep parallax mapping, activate it by setting SteepParallax attribute to true in lighting material
- Refactored paralax calculation code in Parallax.glsllib
- Added a boolean param to lighting material PackedNormalParallax to specify if the parallax map is stored in the alpha channel of the normal map (it was already implemented in the shader). added a dds file and a material using this
- The parallax height can now be set by users by setting the ParallaxHeight attribute. default is 0.05
- Deleted old normal map for water
- Inverted green channel of the brickwall normal texture to look good with recent change in normal calculation in lighting material
- Created a test case for parallax mapping where you can swich from classic to steep parallax using spacebar, and where you can tweak the parallax heigh by using I and K keys.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 21:42:47 +00:00
Kae..pl
6c9395c4e9 Creating common setup for both types of loaders.
Fixing a bug with loading objects from all layers when using BlenderModelLoader.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 11:05:59 +00:00
sha..rd
db0a4f23a8 * New block language parser
* Rewrote J3M loader
 * AssetManager.unregisterLocator() must be implemented
 * Added support for material default vars
 * Apply NVIDIA spot light fix for TerrainLighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-17 03:25:48 +00:00
sha..rd
2636343ac7 * Fix hard edge bug for spot lights on NVIDIA cards
* Fix bump mapping issue that was there since the beginning of time ... flipping normal.y only worked for pond_normal.png texture and IS NOT CORRECT in most cases. Now the texture itself has been adjusted to be correct while the flipping of normal.y removed
 * Fix crash when playing sound in simpleInitApp()
 * Fix issue where Spatial.setModelBound() would do absolutely nothing
 * Skies created via SkyFactory now don't suffer from "premature culling" bug

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-14 18:36:59 +00:00
rem..om
91477b73f5 Engine :
- Added Volume texture 3D loading support to the DDSLoader
- Added a test case for texture 3D loading
- fixes a minor log issue in Material.java

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-12 05:50:31 +00:00
rem..om
6c7082a7e3 engine : added texture3D support based on darkfalkon Texture3D code and Kaelthas testcase
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-11 09:33:38 +00:00
sha..rd
984721cc75 * AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
* Misc javadocs
 * Fix for SoundHandleJme.stop()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 00:08:22 +00:00
roo..li
59b00bbae9 Added CameraNode and new navigation to TestPhysicsCharacter.
Added a variant of createPhysicsTestWorld with more spheres.
Changed the size of golem in TestWalkingCharacter to fit step length.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 14:45:36 +00:00
roo..li
3a3a5de8c9 Added javadoc, fixed tiny typo, reformatted sample a bit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-06 09:42:51 +00:00
rem..om
d722c65280 CameraNode : created a simple testCase to demonstrate how easy it is to make a camera follow a spatial using a Camera Node.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-02 14:24:59 +00:00
rem..om
8f59984d00 Particle Emitter :
- fixed setNumParticle method to correctly update the mesh buffers
- added a getMaxNumParticle that returns the max number of particles of the emitter
- changed testMovingParticles and testPointSprite to change the numParticle when hitting the space bar

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-28 17:08:59 +00:00
sha..rd
f15107da95 * All asset cache operations can now work on smart cache
* Added better test for asset cache

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 16:05:21 +00:00
ant..om
06e04c429c Fix: fixed exception when trying to jump with physics turned off
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7910 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-24 11:07:12 +00:00
sha..rd
d8afde19cf * Fix crashes due to introduction of MaterialKey
* Deleted unused textures 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7908 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 23:42:23 +00:00
sha..rd
026a72d57e * Fix crash in TestEverything
* Fix crash in TestWalkingChar 
 * Fix crash in TestDopper
 * Fix crash in TestApplication 
 * Fix deprecation warnings in audio tests
 * Fixed issues with particle emitter cloning and import/export
 * Fixed TempVars crashes in BoundingSphere 
 * Fixed incorrect deprecation warning in AudioNode 
 * Added smart caching to materials 
 * Added test to verify that particle export and cloning is working correctly

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 22:44:30 +00:00
ant..om
dfef1a6dfe Fix: fixed a bug when using alphamaps with TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7904 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 21:45:48 +00:00
rem..om
99a4b00c15 - Added SpotLight light type.
- Implemented spot light shading for lighting (pixel and vertex lighting) and terrain shader

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7893 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 21:58:46 +00:00
Kae..pl
e911e3299e Changes to animations storing (not yet used in the selected blender file) and small refactoring.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7886 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-20 13:54:42 +00:00
Kae..pl
a2b83be8bd Improvements to blender manual tester.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7882 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 19:56:39 +00:00
ant..om
026abb5a74 update: removed tileLoaded from TerrainGridListener, one should use tileAttached and tileDetached instead.
updated the tests as well

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7849 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-11 09:54:03 +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
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