3652 Commits

Author SHA1 Message Date
Kae..pl
eb7e7bbaad Feature: added sky loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10811 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-02 08:15:01 +00:00
iwg..ic
592303181e Android: Rewrite of EGL config chooser. ConfigType is also now deprecated so that egl* protected parameters in AndroidHarness can be used. These new parameters are copied into AppSettings and then used in AndroidConfigChooser to define the minimum requirements for selecting an appropriate egl config. If a different config is choosen, the AppSettings are updated so users can detect the currently used values.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10810 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-01 16:38:58 +00:00
iwg..ic
c1c9fc871a Add alpha bits to AppSettings. Currently only to be used for Android EGL config choosing.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10809 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-10-01 16:33:43 +00:00
Kae..pl
f94ad2b37a Bugfix: fixed an issue with improper normals direction in merged vertices in mirror modifier.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10808 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-29 16:51:19 +00:00
rem..om
f0aff05d41 ShaderNodes : UnshadedNodes now supports hardware skinning, and discard threshold
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10807 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-29 12:36:37 +00:00
Kae..pl
915638a370 Refactoring: vertices and normals bind poses are now generated instead of read from the file (as suggested in ArmatureModifier ;).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10804 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:31:34 +00:00
Kae..pl
2a00f1ccb0 Refactoring: removed unnecessary return type from the modifiers (it was never used).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10803 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:13:34 +00:00
Kae..pl
8df3569688 Refactoring: small reorganisation of ObjectHelper class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10802 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-28 10:06:21 +00:00
Kae..pl
d86adfa4f1 Bugfix: fixed an issue with missing material color when material has a non used texture.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-27 15:33:54 +00:00
rem..om
2fc18e9e2c Fix for the builld, vector3f. interpolate was still called in SlopeTerrainTool instead of interpolateLocal
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10800 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-22 07:49:25 +00:00
rem..om
2707b6586b Fixed an issue where HW skinnings buffer were causing an exception when loading a mesh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10799 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-21 11:51:11 +00:00
iwg..ic
2711e729d0 Android: Modify EGLConfigChooser to evaluate available configs when asked by the surface. More to come to clean up this area. Addresses issue: http://hub.jmonkeyengine.org/forum/topic/crash-nexus-10-android-4-3/
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10798 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 21:25:38 +00:00
PSp..om
5a1e7dbd63 Applied the same interpolate to interpolateLocal
treatment to Vector2f and 4f... fortunately no
JME code seems to use these.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10797 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 04:20:33 +00:00
PSp..om
1fc55d2eb0 Changed the other two-vector version of interpolate
to interpolateLocal also since it also stores it back
to the same vector.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10796 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 04:17:31 +00:00
PSp..om
b73d42e654 Changed interpolate to interpolateLocal to match latest
API change.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10795 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 04:13:25 +00:00
PSp..om
641c138a1b Changed interpolate() to interpolateLocal() to match
the other method behavior where "local" stores it back
to the same vector.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10794 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 04:10:45 +00:00
PSp..om
87930e7075 Modified to allow the rolling index to be seeded
so that the app can optionally set it so the
screen shots don't get overwritten every time
the app is restarted.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10793 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 04:09:16 +00:00
sha..RD
05603965fc * Check that the EGLDisplay used to select config is the same as the rendering EGLDisplay
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10792 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 03:07:26 +00:00
sha..RD
25814a8859 * Safety first: *ALL* EGL calls are now checked for errors prior to proceeding
* Safety first.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-19 02:47:09 +00:00
PSp..om
d70174d91a Added a proper toString() to CollisionResult.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10790 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-18 08:57:39 +00:00
nor..67
0ee9f53c27 - fix build of latest bullet natives (multithreading libs), thanks to @EmpirePhoenix
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10789 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-17 20:33:39 +00:00
rem..om
5bc840e57a Fixed an isse where shader compilation would fail for shadows because of deprecated usage of varying in glsl1.5 shaders.
Alsofixed an issue with the filter version of the shadow processor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10788 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-17 16:58:35 +00:00
iwg..ic
1a94e65176 Android: Updated error checking for egl config logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10787 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-17 16:55:47 +00:00
Kae..pl
638947623d Refactoring:
1. moved BlenderFileException to com.jme3.scene.plugins.blender.file and getting rid of one package.
2. loader classes now throw IOException when loading problems occur as they should do (BlenderFileException is only used internally).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10786 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-16 19:28:24 +00:00
PSp..om
64112acc83 Fix for a very subtle floating point precision
problem where I was saying rays go straight
through Quads in certain areas of the Quad.
...many Bothans died to bring you this fix.
Detailed code comment is detailed.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10785 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-16 05:44:30 +00:00
rem..om
00354e426d GeometryBatchFactory now properly handles batching geometries with different numbe rof lod levels.
Thanks to Rickard

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10784 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 19:16:29 +00:00
rem..om
3800db318c LodGenerator now properly shift short indexes so that there is no negative value when assigned to an int and used as an index in an array
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 18:47:51 +00:00
rem..om
a14b6a3a50 Fixed Bloom filter downsampling, broken in change 10750
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10782 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 16:47:09 +00:00
rem..om
8ffd1363b5 Fixed Fxaa, I broke it with change 10750
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 16:21:26 +00:00
rem..om
f3165b632f Fix to water filter where there was a remaining "m_" in a paremeter set
Thanks to maximusgrey 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 13:08:09 +00:00
rem..om
f8be6cf686 One can now change the depth test function throught the additional renderstate of a material.
You can also do this for the alpha test function, but alpha test is deprecated in gl 3.0 and opengl es 2.0 so it's there only for compatibility and consistency reason.
This setting can be directly set in the j3m file in the RenderState statement.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10779 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 13:04:33 +00:00
Kae..pl
8f307f8fa5 Added an eclipse '.settings' folder to svn ignore list.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 11:57:40 +00:00
PSp..om
c69756acbc Let the comparator be reset without having to create
a whole new list.  And some whitespace changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-15 05:32:20 +00:00
iwg..ic
1e3e14ba75 Update cursorPos for TouchEvents so InputManager.getCursorPosition() returns the last touch location.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10776 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 16:52:30 +00:00
iwg..ic
123ccabaff Android: Don't render mesh if vertex count == 0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10775 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 16:49:51 +00:00
sha..RD
610d6e47fc * Avoid leaking FD in Natives.computeNativesHash()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10774 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 01:16:45 +00:00
Sha..om
e66abb780d * Respect the JmeContext.Type for OffscreenSurface value when the JmeSystem gets a request for a context
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10773 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 01:15:25 +00:00
Sha..om
55ab8f5d30 * Add convenience methods clearUniformsSetByCurrentFlag() and resetUniformsNotSetByCurrent() to Shader (normally this is performed by Material)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10772 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:59:37 +00:00
sha..RD
67ce41ee57 * Make sure to reset planeState and viewportChanged values in when cloning cameras
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10771 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:48:47 +00:00
sha..RD
228a8e2ebd * VertexBuffer.invariant() - check that buffer position is zero and limit is non zero
* Remove unneeded null check when binding uniforms to uniform bindings 
 * Added Uniform.deleteNativeBuffers() to delete any buffers the uniform might be using (currently independent of Shader disposal)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10770 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:42:36 +00:00
sha..RD
d048d5d6c1 * Avoid FD leaking in AbstractHeightMap save
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10769 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:35:03 +00:00
sha..RD
f94bc8660c * Avoid FD leaking in binary importer/exporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10768 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-13 00:29:59 +00:00
Kae..pl
d6a1b63206 Bugfix: fix to specular light loading. Taking intensity into consideration. Fix given by: pfannenwender.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10767 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-04 20:20:30 +00:00
nor..67
2bb849a0f3 - change build file to use build-zip target
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10765 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 22:03:12 +00:00
nor..67
e4ffcec925 SDK
- update project genfile info

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10764 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 21:53:56 +00:00
Kae..pl
1b17c4fd04 Bugfix: fixes to specular shininess loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 21:04:03 +00:00
Kae..pl
b4dfd528ee Bugfix: fixes to scale/rotation setting and reading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10762 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 20:46:03 +00:00
nor..67
a3876e49de - build engine zip release for stable build as well
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10760 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 08:28:11 +00:00
nor..67
92331fcc37 SDK:
- update dependencies for NetBeans 7.3.1, pt3

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10758 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 07:45:25 +00:00
nor..67
f9c5d22f80 SDK:
- update dependencies for NetBeans 7.3.1, pt2

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10756 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-09-02 07:29:10 +00:00