894 Commits

Author SHA1 Message Date
rem..om
6bbf141b9f terrain : fixed an issue on texture coordinates calculation (Some worm hole through space and time prevented the fix to go with previous commit....or that's just me)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8242 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 20:45:30 +00:00
rem..om
9df9ad8564 terrain : fixed an issue on texture coordinates calculation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 18:27:24 +00:00
kim..ng
7d315f04d9 Android: removed old apk code and added source of the curent beta1 demo apk.
Source is in: jme3test.android, only java classes and the android manifest.xml, not buildable without your own android project

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 16:04:15 +00:00
Kae..pl
3402f51824 Armature loading refactoring and bugfixing.
- animations should now load properly
- armature loading moved to ArmatureModifier (no bones are touched inside MeshHelper so the code should be a little more clear now)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 13:23:33 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
Kae..pl
45d1a0e772 Several fixes to animation loading.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8235 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 19:57:29 +00:00
Kae..pl
7c1c6dc065 Support for UV-coordinates mapping (only for the first texture at the moment).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 14:06:52 +00:00
bre..ns
3383e2e086 * refactored TerrainLOD Control and removed some legacy classes for it, made it easier to use
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 23:34:15 +00:00
Kae..pl
b8618eba26 Support for generating UV coordinates for 3D textures if they are not manually created.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 17:19:18 +00:00
Kae..pl
76d9fd3a15 Tube projection support for objects containing many meshes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 17:08:46 +00:00
nor..67
f9f25813d0 - remove ManualBlenderTester
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-09 14:40:50 +00:00
bre..ns
2e1c4e8c29 NPE check on AudioNode read
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 23:46:21 +00:00
nor..67
cea09e02ed - apply some defaults to blender loader texture key when loading from file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 23:36:29 +00:00
nor..67
450e40df32 - fix blender loader texture locating when blender model is loaded from assetmanager root
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 22:43:16 +00:00
nor..67
c5b9fef193 - update TestBlenderLoader to test loading relative images
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 22:32:52 +00:00
nor..67
50a5ecc00e - fix relative image locating in blender loader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 22:31:25 +00:00
Kae..pl
b86c1f4e64 Generated textures refactoring.
* Algorithms changed (not depending on blender sources any more).
 * Improved loading speed (at least in some cases).
 * Unnecessary functions removed (there were a few :) ).
 * Several bugs fixed (some blending functions did not work well with textures; colorbands now calculated properly).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8222 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 20:42:42 +00:00
nor..67
6df2a0c8ec - update lwjgl to 2.8.0-nightly, fixing MacOSX applets
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8212 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 20:14:50 +00:00
sha..rd
6d728615a3 * Ogre3D mesh.xml loader is now more resilient to certain models exported using blender2ogre
* Ogre3D dotScene loader can now load spot lights
 * Added some better debugging to FBO errors
 * Fix weird explosion in TestWalkingChar
 * Added additional "canvas torture methods" in TestCanvas 
 * Several fixes to canvas:
   - Issue when size becomes 0, 0
   - Freeze if no framerate limit is imposed and canvas is closed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:46:40 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
bre..ns
69fe43f079 added terrain.getNormal(x,z)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-06 05:31:24 +00:00
bre..ns
a899fbc075 fixed TerrainGrid.getHeightmapHeight, fix thanks to @Makeshift
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 23:32:49 +00:00
bre..ns
86124b9a04 terrain.getHeight now scales the result
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8195 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 22:27:11 +00:00
bre..ns
0c193bd5b9 unflipped terrain sample alphamap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8193 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 19:14:27 +00:00
rem..om
9bd19338e3 Renderer : fixed clear color buffer when color write is disabled
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8192 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 19:13:06 +00:00
nor..67
c00dcbdbea - fix android library copy
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8191 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 15:10:22 +00:00
nor..67
acbdfe8337 - add android deployment to SDK
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8190 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 15:08:12 +00:00
nor..67
42f3770946 - fix AndroidApplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 08:48:45 +00:00
nor..67
f5e02874ac - fix tests
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 00:29:10 +00:00
nor..67
a2778c2a3c - fix two tests calling render(tpf)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8186 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 00:23:13 +00:00
sha..rd
062507e23e * Render off screen surfaces even if main screen isn't visible
* AWTLoader now supports 16-bit grayscale PNG loading as Luminance16
 * AWTLoader uses try/finally on stream
 * Fix exception in MaterialLoader (was it really that hard to fix, normen?)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 23:41:46 +00:00
sha..rd
2f41dcfd48 * More checkFrameBufferError() only when setting an FBO, and not when setting main FB
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8184 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 23:22:38 +00:00
sha..rd
045e2a4317 * AssetManager.loadAsset() with null key will throw exception
* Make use of try/finally paradigm for all loaders

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8183 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 22:42:32 +00:00
Kae..pl
0094d37e0f Loading constraints for blender 2.49 fix (warning is now shown when blender version is 2.50 or higher).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8182 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 20:55:06 +00:00
nor..67
589b285ba1 - revert update lwjgl to latest 2.8.0-nightly due to MacOSX issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8179 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 19:24:44 +00:00
nor..67
040d028cf9 - update lwjgl to latest 2.8.0-nightly
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8178 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 19:17:55 +00:00
rem..om
29dbdc08a4 Filters : fixed depth buffer rendering for additionnal passes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:32:54 +00:00
rem..om
90a7917e1a Cinematic : removed accessors with a typo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:19:26 +00:00
sha..rd
dd7495185c * Do not use control flow in GLSL version 1.0 in Lighting.frag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 06:08:48 +00:00
sha..rd
f6322b28ec * Fix default value for PssmShadowRenderer intensity
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8169 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 05:41:57 +00:00
sha..rd
d614244f0f * Consitency between Matrix4f.invertLocal() and Matrix3f.invertLocal(): Now both of them compare determinant to 0 to check if inversion is possible. This fixes an issue with no lighting when a really small scale is applied to scene objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 05:30:13 +00:00
sha..rd
71cb644853 * Tried to fix canvas + multisampling bug by creating 1 sample pbuffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 03:30:26 +00:00
sha..rd
471f449017 * Fix crash on context.restart(). Reset shader sources when shader itself is reset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 02:25:01 +00:00
sha..rd
8411ff22e2 * Fix incorrect warning message in OBJLoader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8165 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 23:04:55 +00:00
sha..rd
cfbb444b97 * Ported .material loader to use BlockLanguageParser. Also made it more reliable in terms of detecting lightmaps and strange texture setups.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 22:40:17 +00:00
sha..rd
f421e2a876 * Removed shiny check in Lighting.frag (for ATI Radeon X1600 and similar)
* Applying default values for materials inside old J3O files
 * Default shininess in TerrainLighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 22:39:02 +00:00
sha..rd
2d1b2b7948 * Fixed "jME3 ate my mouse" Linux bug when an exception occurs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8161 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 19:44:45 +00:00
sha..rd
2d93b713f3 * Reapplied r8158
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8160 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 18:57:38 +00:00
sha..rd
5a3f191135 * Reverted r8152, r8157 and r8158
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 18:52:56 +00:00