191 Commits

Author SHA1 Message Date
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
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