Kae..pl
858c8ba9ba
Fix to properties loading: properties are now stored in Spatial as basic types (supported by UserData) or Savables supported by jme core.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9344 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a5c8cb8ead
option to flip texture's Y for skyFactory in SDK
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9343 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
f9593adee1
Fixed NPE error when using a single 'None' texture type in the material definition.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9342 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2e704987b9
Fixed alpha variable declaration in SSAO Normal pass shader.Thanks to koris.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
3d60482b46
* Fix paul complaining
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9340 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
bre..ns
aeb231904a
nav mesh generator remembers params and has tooltips now
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9338 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
2fe4d620d9
Fixing a bug where texture size getter is called before the opengl is initialized.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
b09e37c9d9
Added support for multilayered images.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9336 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
96cfd22510
Support for base texture blending for DDS textures.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9335 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9d7d5a388c
Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold from the frag shaders
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
be9dc94d88
Removing unused folders.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
82c72f004f
Removing unused folders.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9332 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
c4bf1b59a0
Removing @Override annotations from methods that implements interfaces (this will make the code Java 5 compatible).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9331 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
22edb7beb0
Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold attribute from the lighting material. Transparency discarding is now handled by the AlphaFallOff render state (as it should be).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9330 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
8de8bf2d3e
Textures loading refactoring.
...
New features:
- support for loading both 2D and 3D textures (they are merged and flattened to Texture2D)
- support for colorband usage in flat textures
- support for using color factors for flat images
Bugfixes:
- blend texture should be now calculated properly at the ends of the object
- blend texture is now properly directed
- flat texture projection (flat, bude and tube) should now be properly directed
Other stuff:
- better code separation and improved readability
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9329 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
f669290a3a
updated terrainLighting.frag's shininess to match more of Lighting.frag
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9328 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a0af5de41e
whoopsie, sorry TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9327 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
5dbde4ad06
TerrainQuad documentation patch thanks @slyh
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9326 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
eac143830f
TerrainGrid documentation patch thanks @slyh
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9325 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Kae..pl
b8896f3948
Added variable to BlenderKey that would allow to suspend object properties loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9324 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1c92f500eb
AndroidAudioRenderer : propperly set the looping value on media player
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9323 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
60e0e46344
* Remove usage of "SimpleTextured" shaders from other materials
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9320 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
9390125d6c
* NativeObjectManager is now limited for 100 objects deleted per frame to reduce spikes with large heap config
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9319 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0751d9ff76
* Added methods to DesktopAssetManager: addToCache/getFromCache/deleteFromCache/clearCache
...
* Added new method to AssetCache interface to specify that registerAssetClone() won't be used (for the methods used above)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9318 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c8fa79fbd6
* Fixed issue where an ogre3d animation with no tracks would load, but cause a NPE when loaded again from J3O
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
ad01d36915
* Added shader validation system. Requires either NVIDIA Cg or GPU Shader Analyser to be in the path. Run the ShaderCheck class to see which jME3 shaders fail validation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5d37b914e1
* Removed deprecated material definitions
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9315 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
12d3e277e6
* Added new Jheora video system, however as advertised, audio will NOT work. If you want to try and fix it, go ahead.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9312 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
988110e360
* Removed deprecated methods from AudioNode
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9311 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
924d83ffdb
* Fixed up ThreadingManager to actually work with the asset manager, even though nobody uses it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9310 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
90f32dc703
* Proper equals/hashCode methods in OgreMaterialKey/OgreMeshKey
...
* Formatting in MaterialExtensionSet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9305 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f844ca429f
* JmeFormatter now uses non threadsafe StringBuilder for performance
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f6b5335976
* Formatting and minor changes in Curve, Cylinder, PQTorus
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9303 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0aa5efb028
* Added license text for asset exceptions
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c67e6d32c5
* Since AssetManager registerLoader/Locator method that take a string class are deprecated, AssetConfig will no longer use them
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9301 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0c1294c57c
* Mesh/GImpact collision shapes now support triangle strips/fans through Mesh.getIndicesAsList() method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9300 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
1da836ea72
* Blender user properties no longer savable, as it is not allowed to have non-core data in j3o
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9299 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
f68475319a
* Added new image format: Depth24Stencil8, for framebuffers and textures that need stencil data
...
* Renderer now uses getArray() to access mesh's buffers
* GL image format data now stored in a special data structure for easier management (instead of huge switch/case statement)
* Android texture loading: If the format is not supported by GLES spec, the texture upload will fail
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
cf9d5b5ebc
* Remove some useless files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9297 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2966b6a7b0
AndroidAudioRenderer : better mediaplayer life cycle handling
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
544e1f6342
Shaders : The line numbers on error now correctly takes the version line added to the shader into account
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9295 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago