12d3e277e6* Added new Jheora video system, however as advertised, audio will NOT work. If you want to try and fix it, go ahead.
Sha..rd
2012-04-14 20:05:56 +00:00
988110e360* Removed deprecated methods from AudioNode
Sha..rd
2012-04-14 20:01:15 +00:00
924d83ffdb* Fixed up ThreadingManager to actually work with the asset manager, even though nobody uses it
Sha..rd
2012-04-14 20:00:42 +00:00
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
Sha..rd
2012-04-14 19:58:17 +00:00
0c37fc46e9* Fix crash in TestAbsoluteLocators
Sha..rd
2012-04-14 19:45:34 +00:00
79194f054c* License and formatting in GeneratedTextureKey * TestJoystick now assigns input mappings for all joysticks instead of just the first one
Sha..rd
2012-04-14 19:43:24 +00:00
633871f58f* TestLeakingGL no longer uses Mesh.setInterleaved() which is deprecated
Sha..rd
2012-04-14 19:42:01 +00:00
90f32dc703* Proper equals/hashCode methods in OgreMaterialKey/OgreMeshKey * Formatting in MaterialExtensionSet
Sha..rd
2012-04-14 19:38:42 +00:00
f844ca429f* JmeFormatter now uses non threadsafe StringBuilder for performance
Sha..rd
2012-04-14 19:36:02 +00:00
f6b5335976* Formatting and minor changes in Curve, Cylinder, PQTorus
Sha..rd
2012-04-14 19:34:19 +00:00
0aa5efb028* Added license text for asset exceptions
Sha..rd
2012-04-14 19:32:11 +00:00
c67e6d32c5* Since AssetManager registerLoader/Locator method that take a string class are deprecated, AssetConfig will no longer use them
Sha..rd
2012-04-14 19:30:47 +00:00
0c1294c57c* Mesh/GImpact collision shapes now support triangle strips/fans through Mesh.getIndicesAsList() method
Sha..rd
2012-04-14 19:29:07 +00:00
1da836ea72* Blender user properties no longer savable, as it is not allowed to have non-core data in j3o
Sha..rd
2012-04-14 19:28:01 +00:00
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
Sha..rd
2012-04-14 19:26:22 +00:00
cf9d5b5ebc* Remove some useless files
Sha..rd
2012-04-14 19:21:41 +00:00
544e1f6342Shaders : The line numbers on error now correctly takes the version line added to the shader into account
rem..om
2012-04-14 11:13:34 +00:00
3a0e1f50acShaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
rem..om
2012-04-12 20:08:38 +00:00
4155cacf74PssmShadowRenderer : post shadow pas does not write depth anymore, also added a slight polyOffset to avoid z-fighting
rem..om
2012-04-12 19:36:40 +00:00
a2ad677cc5* Better version of TestMaterialCompare
Sha..rd
2012-04-11 22:35:29 +00:00
91ea95328eFixed isEqual to equals in GeometryBatchFactory and in TestMaterialCompare
rem..om
2012-04-11 22:30:29 +00:00
d50efde277Fixed imports from last commit
rem..om
2012-04-11 22:28:43 +00:00
ddca06e607* Materials.equals() method now works correctly (checking if material will look the same if rendered, in 99.9% of cases..) * ListMap entries now implement equals method as required by spec
Sha..rd
2012-04-11 22:20:23 +00:00
c3ed68cfbbAnimationTrack null checked the animation channel in onStop, onPause and setLoopMode to avoid NPE
rem..om
2012-04-11 22:09:37 +00:00
e5b99b5035ShadowUtil now use tempVars instead of instantiating new objects Matrix4f now has a set method that teakes 16 floats like the constructor
rem..om
2012-04-09 08:00:00 +00:00
cecf807001SpotLight, inner and outer angle cos is now correctly packed when opening a saved light
rem..om
2012-04-09 07:35:20 +00:00
bf55974bf4Changed 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).
rem..om
2012-04-07 19:55:43 +00:00
7c101bb097* Forgot to commit the test case
Sha..rd
2012-04-04 00:32:34 +00:00
02742f720f* AppSettings now supports floating point values * AppSettings now supports custom user settings * Add test case TestCustomAppSettings to test custom user settings
Sha..rd
2012-04-04 00:31:52 +00:00
64b736f2e9fix a bug in terrain getHeight for some edge cases
bre..ns
2012-04-03 15:13:31 +00:00
3dc9a591b7whoops, I blame jesus for not adding this class
bre..ns
2012-03-31 06:18:10 +00:00
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
bre..ns
2012-03-30 04:16:55 +00:00
198979bf5aRemoved setEnabled() and isEnabled() from the Control interface since no engine uses of Control will ever call these methods. The functionality is still left in AbstractControl which makes more sense since it is up to the control implementation to enable or disable itself as it sees fit.
PSp..om
2012-03-29 18:49:22 +00:00
4e12127f27Remove 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.
PSp..om
2012-03-29 18:45:47 +00:00
0e315d57daSDK: - make sure important files node closes AndroidManifest.xml
nor..67
2012-03-27 12:17:51 +00:00
72c6689656SDK: - make android SDK tool refresh folder when creating the android project
nor..67
2012-03-26 23:01:44 +00:00
828c8071f6* Fix BufferUtils.destroyDirectBuffer() in OpenJDK7
Sha..rd
2012-03-25 19:28:05 +00:00
8973175783* Try to fix linkVertices in TangentBinormalGenerator (prevent assigning same tangent to verts with different texcoord)
Sha..rd
2012-03-25 19:09:03 +00:00
2cdeb6ebff* Fix animation blending from bind pose issue * Fix look/cycle modes for animations to prevent result time from being out of range
Sha..rd
2012-03-25 18:41:38 +00:00
203bc00a7dLighting material now normalize normal value read from the normal map to avoid banding artifacts
rem..om
2012-03-25 12:36:27 +00:00
fecf355de2ChaseCam : changed all private attributes and methods to protected so people can extend the chaseCam behavior as they see fit.
rem..om
2012-03-24 09:05:08 +00:00
cf93c2c6fcFixed issue when the last waypoint of a motion path was not triggering listeners
rem..om
2012-03-23 10:50:36 +00:00
7f6ce84ffdImplemented setSpeed for animationTrack as it needs special treatment
rem..om
2012-03-23 10:38:32 +00:00
1945a0c1c0BatchNode and GeometryBatchFactory now uses the material's isEqual method to gather the geometries to batch
rem..om
2012-03-23 10:00:49 +00:00
55b8188d20Material has now a isEqual method that compares materialDef, material params and material additional render state
rem..om
2012-03-23 09:46:52 +00:00
533fb86c50Down to 260 Javadoc warnings from 324
sky..ok
2012-03-22 00:22:09 +00:00
0af3e46a45Added move speed and rotate speed getters in FlyByCamera
sky..ok
2012-03-21 21:18:39 +00:00
ee69225ad0fixed some normal calc issues in LODGeomap
bre..ns
2012-03-20 00:46:34 +00:00
f06b1dfa4d- enter new wiki page in correct properties file
nor..67
2012-03-19 00:05:35 +00:00
c046c740eeremoved .html from toc item target name :D
roo..li
2012-03-18 14:24:32 +00:00
3eac27b3dfAdded multi-media asset pipeline best practices to wiki-map and core-toc.
roo..li
2012-03-18 14:23:46 +00:00
940232406e* Fixed town.zip by getting it from googlecode downloads
Sha..rd
2012-03-14 04:16:04 +00:00
9378179d94- Fixed camera "twisting" when rotating up/down when zoomed-in. The min rotation is hard-coded to -90 degrees down (the up remain settable). - Added flag to enable rotating down when zoomed out. - Added getter/setter to enable/query if down rotation is only on "close view" (zoomed-in). - Javadoc for certain method clearly explaining the "angles" are in radian.
dan..om
2012-03-14 01:10:19 +00:00
94e0937bb6Fixed an ArrayIndexOutOfBound in animationFactory
rem..om
2012-03-12 21:09:57 +00:00
07e96d02ebFixed an issue in AnimationTrack when time was skipped out of bounds of the animation
rem..om
2012-03-12 20:43:07 +00:00
8ab5a211e2Removed previously committed System.out from AndroidAudioRenderer
rem..om
2012-03-11 23:05:33 +00:00
218f082c8bProperly stopping and resetting Medialayer in AndroidAudioRenderer to be able to play an audio node more than once without failing.
rem..om
2012-03-11 21:37:33 +00:00
d6bf9372bfFix to 3D material definition for blender loader.
Kae..pl
2012-03-11 20:11:16 +00:00
1a771236cffix NPE in AndroidHarness when quitting (thanks iwgEric)
rem..om
2012-03-11 08:33:51 +00:00
511a11fc7cMoved the creation of the guiFont into a separate method that can be overridden by subclasses. This isn't really complicated enough to move to an app state and the fact that the field is exposed is already sort of "unclean" anyway.
PSp..om
2012-03-09 07:12:29 +00:00
8eae2cfd8aCinematic, fixed time seeking when having several SpatialAnimation with a speed > 1 fixed an issue in soundTrack crashing when time was < 0 properly implemented GuiTrack stop() method
rem..om
2012-03-08 17:10:47 +00:00
191bd21b40Removed AndroidHarness specific calls from the OGLESContext. - The harness is now a system listener and dispatch the system events to the jme app - Every Harness related code is now in the harness (exit hook dialog, and mapping addition, spash screen hiding,....) - Added a handleExitHook flag to configure if the Harness should handle exit or not.
rem..om
2012-03-07 19:22:41 +00:00
e769d453ecadded recalculateAllNormals() to TerrainQuad
bre..ns
2012-03-07 15:48:44 +00:00
122b4a9818reverted change to build-impl.xml
bre..ns
2012-03-07 05:10:05 +00:00
d2b727cfd8Android : OGLESContext can now finish the activity when being destroyed, this way calling app.stop() from jME finished the associated activity. This feature can be disabled by setting a flag in the MainActivity.
rem..om
2012-03-05 22:25:42 +00:00
2bde71b08aEarly out on initializePending and terminatePending if the array is empty.
PSp..om
2012-03-05 19:22:33 +00:00
654c44abddJme nifty render device optimization : - Banished color buffer updating at render time (except for gradient quads that uses vertex color) - fully transparent quads are not rendered anymore (that avoid rendering transparent layers allowing complex layout for free).
rem..om
2012-03-04 14:08:15 +00:00
6087a930dfFormatted code of RenderDeviceJme before comming changes
rem..om
2012-03-04 13:39:58 +00:00
e275cfb7eeJME nifty's render device : fixed text positioning when autoScale is true
rem..om
2012-03-04 13:24:01 +00:00
2d57665dfdJME nifty's render device now uses 2 separate shaders : one for images and texts and one for quads, this way there is no more branching in the frag shader greatly improving speed (specially on android)
rem..om
2012-03-04 12:54:02 +00:00
b99e5a9bfb* Prevent exception when loading OBJ file without normals or texcoords
Sha..om
2012-03-03 05:07:12 +00:00
92b97d38d8Committed a patch from iwgeric, to make nifty Textfield display the soft keyboard on tap.
rem..om
2012-03-02 10:23:22 +00:00
787e912591Fixes to AWT textures blending.
Kae..pl
2012-02-29 20:40:25 +00:00
491d514c0f* BorderClamp and Clamp texture wrap modes now become EdgeClamp on Android
Sha..rd
2012-02-29 01:22:15 +00:00
9ddb941daa* Fix javadoc error in Transform.loadIdentity()
Sha..om
2012-02-28 15:58:35 +00:00
be7a22e3d5* Remove most common usage of IntMap.iterator() * Correct small typo in UniformBinding * Make IntMap.iterator() make new iterator each time * Prevent TangentBinormalGenerator from crashing when it encounters some mesh without texcoord/normal buffers * AWTLoader now properly fails when AWT can't load the image instead of returning null
Sha..rd
2012-02-28 03:57:54 +00:00
5cf9954814Added a comment with what I think the taskQueue drain method is really doing... only simplified. I don't trust my eyes enough to make such a core change without co-verification. :)
PSp..om
2012-02-28 01:44:13 +00:00
1af4ea110c- up version of android build script
nor..67
2012-02-26 14:21:46 +00:00
32c4e50953- rename library from jme3-android to android-base to avoid mixup with the user-added libraries
nor..67
2012-02-26 14:20:13 +00:00
4073fee081- update lwjgl to 2.8.3, fixing MacOSX 10.5 and lower compatibility
nor..67
2012-02-26 13:53:48 +00:00
dde5d0a510Added a ResetStatsState so that the stats are always reset even if the developer has overridden simpleUpdate(). As long Application's stateManager is run, the stats will get reset no matter how many views there are or if they are disabled or not.
PSp..om
2012-02-26 01:27:07 +00:00
54471475feAdded a test showing the basic app state life cycle and verifying that all steps get called when they are supposed to.
PSp..om
2012-02-26 00:58:50 +00:00