1108 Commits

Author SHA1 Message Date
rem..om
c011a29529 OGLES renderer : gl error now appear after the shader code output when a shader fail to compile (like in LWJGL renderer)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-18 14:21:07 +00:00
nor..67
fdd29d7be3 - fix HDRRenderer on OSX
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8261 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-16 23:16:12 +00:00
nor..67
2eca2f0bdd - fix some int * float errors in Parallax.glsllib, still crashing on mac due to lines 39/42
com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment] error:ERROR: 0:45: Call to undeclared function 'texture2DLod'

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-16 22:22:07 +00:00
nor..67
aaa7042266 - update to lwjgl 2.8.0 nightly (fixing Linux OpenAL)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8258 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-16 13:30:44 +00:00
PSp..om
3f6461a4a8 Made the static utility methods static. "D'oh!"
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8257 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-16 09:02:13 +00:00
rem..om
1ca81c3355 Added GammaCorrectionFilter contributed by phate666
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-16 08:56:59 +00:00
Kae..pl
8deba71f8d Blender loading logic refactoring:
- JmeConverter replaced by AbstractBlenderLoader
- scene loading implemented (now all objects are attached to the scene node)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-13 21:22:00 +00:00
Kae..pl
ec4486d5eb Adding the MeshContext that will help with mesh modifications in a future.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8251 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-13 19:56:53 +00:00
bre..ns
f6ebb7a262 terrain lod control rafactoring
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8249 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-13 03:20:57 +00:00
Kae..pl
393c67c9b7 Removing unnecessary operations from ArmatureModifier.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8248 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-12 21:33:49 +00:00
rem..om
6ed981db10 PSSM : fixed wrong shadows when frustum near clip is 0 or negative (parallel projection issue)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8246 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-12 04:24:55 +00:00
Kae..pl
0775b93088 Added support for modifiers validating. Now modifiers that are invalid will not be loaded.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8245 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 22:13:40 +00:00
Kae..pl
ba57377795 Refactoring: renaming 'DataRepository' to 'BlenderContext'.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 21:53:02 +00:00
Kae..pl
7a44519bac Modifiers refactoring. Common reference to loaded modifier to all classes deriving from 'Modifier' was dropped.
Now all modifiers hold their own data and do not give acces to them.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 21:47:47 +00:00
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