Sha..rd
6c12291559
* Missed this one yesterday, removed FixedFunc name from UnshadedArray.j3md
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
9b9fa57de4
* Formatting and names in ShaderDebug
...
* Remove shininess=0 in TestParallax, its bad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9276987aac
WaterFilter forgot the heightmap for the test case
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9552 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
68892dfee3
WaterFilter can now be constrained to an area in the scene based on a center and a radius. This allows to have several water areas in the same scene with different sets of parameters
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
656c129de8
added a second example to HelloTerrain test
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9538 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
a6033d0193
- Added TestCursor + 3 types of cursors for user testing.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3450b171c2
- change TestSweepTest to apply the location to the spatial before adding the physics control to avoid having the obstacle at 0/0/0 in the first frame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
9292ac9898
- add Tests for physics raytest and sweeptest (thanks to @wezrule )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9435 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
33a69d4536
Softened terrain API to allow for different tiling implementations. Added MultiTerrainLodControl
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
4dd46f4c5b
jme3tests: Updated HUD code to use setDisplayStatView(false) instead of guideNode.detachAll(). Recentered crosshairs.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9399 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
9264e0ea32
reverting unnecessarily broken committed test to working original. ;-)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9398 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
9c3efe2e7a
registerLocator(string,string) is deprecated, replaced them by registerLocator(string,class) in these jmetest classes.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
f654109aa4
added in a NeighbourFinder interface to TerrainQuad so it can be used for tiling outside of TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cac820803b
* Better checking for MRT in renderer (first against max color attachments then against draw buffers)
...
* Now uses only OpenGL2 draw buffers instead of relying on GL_ARB_draw_buffers existing
* copyFrameBuffer() was non-functional when used against the main framebuffer because the width/height were set to zero erroneously, now it uses the current viewport parameters.
* Added TestRenderToCubemap to demonstrate render to cubemap functionality, it also uses MRT to render to all the cube sides
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
92e2e35aef
- change Material.equals to Material.contentEquals
...
- update BatchNode, GeometryBatchFactory and Test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9349 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
807a3e6fc5
* Fix incorrect format for DepthStencil in TextureUtil (fix potential GL issue)
...
* Fix tex3DThumb.frag compile error (implicit int -> float conversion)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9339 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
ac59c1ffdf
* Fix link error in glow material techniques
...
* DesktopAssetManager now works as before (flipY and generate mips options are enabled)
* Fix crash in TestSimpleWater
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7ec115a768
* AssetManager now returns AudioData instead of AudioNode (similar to new Material() type behavior)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
2d12c4eaf8
* Fix compile error in TestPostWater
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9314 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
9c2257ff8e
* Added TestCustomLoader example for asset manager
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9313 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
bd4214f3bd
* AssetCache is now an interface and can be extended by user. Moved to com.jme3.asset.cache package.
...
* Added 3 implementations of AssetCache: SimpleAssetCache, WeakRefAssetCache and WeakRefCloneAssetCache
* Added AssetProcessor interface that handles cloning and post processing of assets after they are loaded
* AssetKey can now configure which cache/processor to use for a particular asset type
* Added AssetManager unregisterLoader method
* AssetManager now supports more than one AssetLoadListener
* Javadoc improvements in AssetManager
* Asset interface now renamed to CloneableSmartAsset (which more accurately describes its behavior and use case)
* DesktopAssetManager now makes proper use of the new AssetProcessor/AssetCache classes when handling asset loading
* Added proper equals/hashCode methods to many AssetKey subclasses, which is required for the new system to work properly
* All AssetKeys were rewritten to work with the new asset system
* loadAsset(AudioKey) now returns an AudioNode and not AudioData, similar to the behavior of loadAsset(TextureKey) returning a Texture and not an Image. Because of that, the key storage in AudioData has been removed.
* Texture, Spatial, and Material are all cloneable smart assets now and will be cleared from the cache when all instances become unreachable
* Improved the existing TestAssetCache test to make sure the new system works
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9309 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0c37fc46e9
* Fix crash in TestAbsoluteLocators
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9308 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
79194f054c
* License and formatting in GeneratedTextureKey
...
* TestJoystick now assigns input mappings for all joysticks instead of just the first one
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9307 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
633871f58f
* TestLeakingGL no longer uses Mesh.setInterleaved() which is deprecated
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
a2ad677cc5
* Better version of TestMaterialCompare
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9292 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
91ea95328e
Fixed isEqual to equals in GeometryBatchFactory and in TestMaterialCompare
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
bf55974bf4
Changed the way post shadow pass is done. It's now a technique of the lighting material definition.
...
This allow to have shadows that fully works with partially transparent objects (like trees).
If a material does not have the postShadow technique, the renderer uses the fallback material (like before).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7c101bb097
* Forgot to commit the test case
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9277 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a1249b551d
* refactored terrain lod to move most of the lod code to the control
...
* lodDistanceCalculator no longer queries the world transforms of the terrain on the background thread
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9269 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
4e12127f27
Remove the fragile camNode.getControl(0).setEnabled()
...
and replaced it with camNode.setEnabled().
A) it is kind of scary to rely on the control index in
this case.
B) CameraNode.setEnabled() already calls setEnabled()
on the CameraControl.
An acceptable alternative would be:
camNode.getControl(CameraControl.class).setEnabled()
but I didn't see the point of it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
55b8188d20
Material has now a isEqual method that compares materialDef, material params and material additional render state
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5671358657
Soft particles implementation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
54471475fe
Added a test showing the basic app state life cycle
...
and verifying that all steps get called when they
are supposed to.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9212 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
2cbbfaa3b9
* It is now possible to modify an existing buffer through Mesh.setBuffer() (previous behavior was to crash)
...
* Add TestExpandingTorus to demonstrate this feature
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
05dc1f1909
replaced deprecated ColoredTextured by Unshaded.j3md in sample
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9192 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
c4231e3200
- Inverted red channel of the pond normal map so it looks bumpy
...
- Fixed the HelloMaterial tuto so the rock shines like in the screen shots
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
26ffa11655
- Fixed parallax distortion thanks to Survivor
...
- Used a quad in TestParallax instead of a grid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9173 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
4e616d9360
Use the display flag setters and removed the
...
clearing of secondsCounter since I couldn't see
that it was used anywhere.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9155 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
500896e935
Modified to use the display flag accessor instead
...
of directly culling the BitmapText.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
6240a51173
Removed the loadStatsView and loadFpsText because
...
they are essentially going away and because I
couldn't see what changes were in this class to
need the override.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
4edf262021
Fixed FloatBuffer support as well as other
...
buffers that are views of other buffers and
follow the same conventions.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9127 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
ebb2fca18f
Renamed the destroyByteBuffer method to destroyDirectBuffer
...
because it more appropriately says what it does and this is
a relatively new method. After changing it to work with
any direct buffer it seemed inappropriately named.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
a265e72759
- move TextureAtlas methods out of GeometryBatchFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
a6154e2608
- fix texture atlas not cheking for existing textures anymore
...
- change atlas test to more approriate models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
bb1ff2e9e5
- improve atlas test, display quad with atlas texture
...
- clamp texture coordinates to 0-1 for atlas textures to better see actual texture mapping
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
1aabed9bc5
- add normal and specular (lighting) support to TextureAtlas generation
...
- add more TextureAtlas javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
58a08eb570
- add test for TextureAtlas
...
- add GeometryBatchFactory method to create atlased/batched model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago