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
sky..om
8e721f5c93
Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
1bf268bea7
- adapt name for destroyByteBuffer()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
de65246ddb
- add way to release direct memory, including test
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1f2193a2b9
Audio : implemented API for seeking capability in streamed ogg files. It doesn't work fine yet
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8967 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
8a9ec04e35
moved noise library into jme3/terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d6124d3489
Renamed AnimationHelper to AnimationFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
e902588700
fixed TestMusicPlayer to corectly initialize audioContext
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8957 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
80df839071
refactored TestCinematic to use spatial animation with AnimationHelper instead of deprecated position, scale and rotation tracks
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8956 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
7de07d056c
Created an AnimationHelper to ease the creation process of a spatial animation, based on key frames interpolation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
817591076e
removed the remaining awt dependencies from terrain grid and its utils
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
356c3b55cc
deprecating and removing most AWT dependencies from heightmaps and TerrainGrid, still some more to do
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8930 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
459f3ba4dd
Fixed link to missing model in TestTransparentCartoonEdge and TestTransparentSSAO
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
ef083e477f
Fixed link to missing model in TestTransparentShadow
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
08af19ec5b
Cinematics :
...
- One can now shift time forward an backward in a cinematic with the setTime(float) method, all sub cinematic events support it except soundtrack (has to be implemented)
- Enhanced MotionPath calculation to allow time shifting, and made speed more constant
- changed test cases accordingly
- some more javadoc
- fixed some problems in GUITrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3cdaf0e051
jme3:
...
- fix imports in all classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
bre..ns
2253690024
normen made me do it!
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago