2135 Commits

Author SHA1 Message Date
Sha..rd
9d95528e21 * Fixed issue where setReverbEnabled(false) after setPositional(false) did not actually remove reverb. Reverb is now removed automatically when setPositional(false) per contract of the method.
* Formatted the classes.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:46:04 +00:00
Sha..rd
5497fcc7e6 * Fixed issue where attaching scene to viewport does not force it to update
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9568 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-19 23:44:26 +00:00
rem..om
c02b24da12 Cinematics : renamed all XXXTrack in cinematic.event to XXXEvent, so there is no confusion with the Tracks in the animation system.
Old XXXTrack classes are now deprecated an just extend the corresponding XXXEvent class.
Also removed PositionTrack, RotationTrack and ScaleTrack for they are deprecated since alpha 3.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9567 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 21:16:05 +00:00
rem..om
94ae185d6d Animation tracks is now a SafeArrayList instead of an array. One can now add a track to an Animation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-18 16:26:05 +00:00
rem..om
96ae823504 Fixed viewport uniforms binding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9561 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 15:55:15 +00:00
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
2012-07-11 00:42:20 +00:00
Sha..rd
eae0a18246 * Fix crash in SaveGame class due to lack of regex escape -> used char token instead
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:40:32 +00:00
Sha..rd
0a3f7903a4 * Added methods to BufferUtils to create Vector4f buffers or set them
* Start implementing issue 504 (capacity -> limit)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:39:25 +00:00
Sha..rd
f401c9c1da * Material world parameters are now set in uniformBindingManager instead of RenderManager
* Fix issue 497 -> TempVars are no longer used to set world parameters so they cannot leak onto other params or lighting values
 * Uniform is no longer serializable
 * Cleaned up uniform from old/outdated stuff

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9555 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-11 00:36:06 +00:00
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
2012-07-11 00:33:09 +00:00
rem..om
28926b8383 WaterFilter can now have a square shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 22:19:03 +00:00
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
2012-07-10 20:39:47 +00:00
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
2012-07-10 20:33:30 +00:00
rem..om
9469d08dcb ShaderCheck : fixed compilation issue due to recent shaderKey change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 17:02:06 +00:00
Sha..rd
d46ee26002 * The bounding box will compute faster, maybe even more faster on Android .. If its bad, please go ahead and complain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9548 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:02:57 +00:00
Sha..rd
7825249952 * Made some classes pretty, hope you like it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:00:03 +00:00
Sha..rd
27e97c34da * 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:56:51 +00:00
Sha..rd
55d75c5abc * Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
 * Shaders no longer have the "usable" member and the renderers don't use it either (its useless)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:53:53 +00:00
Sha..rd
af7435ffdf * jME3 now shows error dialog on exception by default (unless user overrides handleError)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:49:05 +00:00
Sha..rd
cc3577acdc * Android renderer now supports configuration changes (see: http://jmonkeyengine.org/groups/android/forum/topic/supporting-device-configuration-changes/#post-181170)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:46:44 +00:00
Sha..om
5d982c71d1 * Applied wezrule's patch: http://jmonkeyengine.org/groups/physics/forum/topic/making-an-object-hover-purely-by-applying-forces/#post-181360
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-09 14:08:00 +00:00
Sha..rd
050f630383 * Fix issue 514
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9541 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-08 19:39:18 +00:00
rem..om
c2ac08f70b MotionPath : fixed waypoint triggering on low framerate.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-07 13:19:13 +00:00
roo..li
a6c4f99412 FastMath: fixed javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9539 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-05 13:23:20 +00:00
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
2012-07-05 12:56:37 +00:00
Kae..pl
d3452297ce FIXED: Issue 515: Blender loader - "-1" bone indices are generated for this model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9537 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-03 19:45:30 +00:00
Sha..rd
0ba541ecd1 * Display initialization will not continue if crash is encountered
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9535 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:07:32 +00:00
Sha..rd
fd9f274049 * Committed fixes to mesh animation classes (not currently used). See http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/fix-to-ogre-mesh-animations-deserializing
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:03:51 +00:00
Sha..rd
8d7b054b31 * Sky shader now normalizes direction in fragment shader instead of vertex shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9533 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:01:50 +00:00
Sha..rd
c498e79511 * Gui shader now supports vertex color on GL1
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9532 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-30 18:00:53 +00:00
Kae..pl
37f74cdb07 Fix for applying normals for smooth models that use generated textures (they were solid instead of smooth).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9530 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-26 12:45:11 +00:00
Kae..pl
801b87d6ce Fix to image to normal map convertion. The result image is no longer upside-down.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-26 11:25:43 +00:00
PSp..om
d649505a6c Modified to do the method lookups on first class
access and removed the (now) unnecessary threading
synchronization stuff.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-26 06:58:59 +00:00
Kae..pl
1d6fc2f9d6 NPE fix when no image texture was found.
A method to convert an image to normal map now accepts and returns an Image instead of Texture.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 21:39:38 +00:00
Kae..pl
4a596c8082 Temporary fix to UVS loading. If no texture is applied and UV coordinates are - then they are applied to the model. At this moment user defined UVS are only applied but future implementation will take the UVS type into account.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9526 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 21:36:20 +00:00
Kae..pl
7beebfc4c0 Fix for mirror modifier. Wrong axis was mirrored when Y is up axis was set.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9525 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:57:02 +00:00
Kae..pl
cd79395d9b Removing the exception throw when the mesh has no vertices. Now simply an empty geometry list will be returned.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:52:52 +00:00
Kae..pl
1d767981ee Fixes for mirror modifier (fixing several NPE that occured when model hed no binging or UV buffers, and fixing ClassCastException when model was small and ShorBuffer instead of IntBuffer was used for vertex indexing).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:39:07 +00:00
Kae..pl
a6d42c21bb Fix to applying properties to the mesh's geometry.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9522 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 20:30:29 +00:00
Kae..pl
fde6b4a447 Fixes to normals loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-25 19:50:23 +00:00
Kae..pl
0e24cf969b Bugfix for textures loading: when one texture had several mappings it might not have appeared on the scene at all.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9520 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-24 19:49:15 +00:00
Kae..pl
a85db87169 Support for BMesh loading. Enjoy :)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-24 14:36:51 +00:00
Kae..pl
691ebcb53d Fixes to vertex color buffer applying. This functionality is also moved from MEshHelper to MeshBuilder.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-21 21:37:15 +00:00
PSp..om
53dd4c2941 Some additional null checks while I'm in the area.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-20 19:36:18 +00:00
PSp..om
11f686b1e0 Some cheap defensive checks that make a nicer
(and more local in some cases) error for the caller.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-20 19:35:34 +00:00
Kae..pl
332fe4d3ac Fixing bugs with applying UV maps.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-20 14:37:34 +00:00
Kae..pl
440217fbd2 Fixing a bug that raised an exception when bone animation was attached directly to the object for Blender 2.49.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-20 12:41:37 +00:00
Kae..pl
1c429f0eb2 Fix to logging (thanks to rectalogic for finding it out :).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9513 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-19 20:53:04 +00:00
Kae..pl
d63683d240 Issue 466: Blender loader duplicates vertices
Done. Hope it does not break anything ... too much :)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-17 22:34:54 +00:00
rem..om
4e987ae63e Android : Pixel Format again. Transparent or Translucent pixel format should not be the deault setting as they drain a substential amount of fps and that most of the games will have an opaque background.
There is now a new ogles configType called BEST_TRANSLUCENT if users really want a transparent background.
The BEST or FASTEST confing are now both OPAQUE, this gives a nice boost to the BEST configuration.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-17 15:23:49 +00:00