4491 Commits

Author SHA1 Message Date
shadowislord
c8a2a7260e Correct the previous PR a bit
* Support 1D and 3D texture coordinates specified by ogre exporter as well as 2D
2014-11-12 22:03:57 -05:00
shadowislord
29be17fa35 Merge pull request #187 from NemesisMate/master
Fixed "float2" added by some generators
2014-11-12 22:00:02 -05:00
shadowislord
d7a152e9a8 TremorAndroid: properly set the 'LIMIT_TO_64kHz' define 2014-11-12 21:56:28 -05:00
shadowislord
ba91da8db4 Tremor decoder now working on Android
* fixed issue where FileDesc_read() would cause a stack overflow
 * fixed incorrect NativeVorbisFile field values
 * properly indicate that streaming is not supported yet
2014-11-12 21:47:36 -05:00
shadowislord
0c83407f99 Try to fix Travis build error 2014-11-12 20:32:00 -05:00
NemesisMate
c1ce9b0779 Fixed "float2" added by some generators
As commented in: http://hub.jmonkeyengine.org/forum/topic/unable-to-import-3ds-max-models/#post-285056
2014-11-12 22:29:21 +01:00
shadowislord
2556f67a15 Implemented the rest of the missing functions in NativeVorbisFile 2014-11-11 23:24:29 -05:00
shadowislord
acdeba4a4d Travis: Use Oracle JDK8 for building 2014-11-11 19:39:19 -05:00
shadowislord
54979b33e3 Enable SDK build again by default (seems to work on Travis now) 2014-11-11 19:28:57 -05:00
shadowislord
891ffa175d More work on vorbis decoder
* added support for decoding from a section of a file descriptor (needed if decoding from an asset inside APK)
 * implemented seek function
2014-11-11 19:11:52 -05:00
shadowislord
d8c5985a73 Disable SDK build by default (maybe Travis can handle it then)
Fix compile error in jme3-android project
2014-11-11 18:18:57 -05:00
shadowislord
5f84147154 Fix issue where loading material parameters from J3O would fail 2014-11-11 17:55:47 -05:00
shadowislord
d6e427a50f Update .gitignore with new ignore files for jme3-android-native project 2014-11-11 17:35:17 -05:00
shadowislord
95ae7c386f Added the travis.yml file, maybe it will do something interesting 2014-11-10 23:38:16 -05:00
shadowislord
e17375665d Fix crash when loading ogre models due to changed lighting material 2014-11-10 23:30:59 -05:00
shadowislord
302ca00a3c Remove STBI image libs which will not be used anymore 2014-11-10 23:28:55 -05:00
shadowislord
89aac97a4a Fix crash when using AndroidNativeImageLoader due to changed lib name 2014-11-10 23:27:56 -05:00
shadowislord
5f0c2035c1 android native improvements
* rename jme_stbi -> jme_decode, which is a new native library that will handle image and audio decoding in native code
 * add a special version of tremor designed to run on android
 * adjust the build process to handle these changes
2014-11-10 21:52:04 -05:00
Nehon
603432790b Fixed Gaussian blur weighting thanks to http://hub.jmonkeyengine.org/forum/topic/gaussian-blur-shader-issue/ 2014-11-10 00:15:21 +01:00
shadowislord
14bfc7e166 Minor cleanups (no functionality change) 2014-11-09 17:34:36 -05:00
shadowislord
e6df8b1e49 Remove deprecated ConfigType 2014-11-09 17:33:06 -05:00
shadowislord
1a8e6f1644 Reuse bindProgram in OGLESShaderRenderer 2014-11-09 17:32:27 -05:00
shadowislord
4717e7006f Goodbye, OpenGL1 2014-11-09 12:29:28 -05:00
shadowislord
c2b9b8a2e1 Fix JDK8 build for the rest of SDK plugins 2014-11-09 12:22:05 -05:00
shadowislord
5905a684ad Fix SDK build on JDK8 2014-11-09 12:15:08 -05:00
shadowislord
0c41d1725f Remove deprecated formats from Image (w/o changing enum ordinal) 2014-11-09 11:55:51 -05:00
shadowislord
eaa5a15f39 Remove use of deprecated image formats (IOS) 2014-11-09 11:54:34 -05:00
shadowislord
1dfa4d4c0d Remove usage of deprected image formats (JOGL) 2014-11-09 11:53:12 -05:00
shadowislord
62cfbc8a3e Remove usage of all deprecated image formats 2014-11-09 11:50:57 -05:00
shadowislord
b7a4faebf0 Remove deprecated fields from AndroidHarness 2014-11-09 11:35:42 -05:00
shadowislord
bbd6c613f0 Reduce "Integer" class churn in rendering statistics
* Use IntMap instead of HashMap<Integer>
 * Cache last set shader to save hashmap lookup on every set uniform
2014-11-08 18:04:03 -05:00
shadowislord
ff55522f78 Change flow in STBI build script to ease development
* stb_image.h and AndroidNativeImageLoader.h are now placed in the source folder so that the IDE can access them
2014-11-08 18:02:22 -05:00
shadowislord
17f130615a Update STBI .so based on latest changes 2014-11-08 17:59:40 -05:00
shadowislord
a015e0836f Remove commented out code since it will not be used anymore 2014-11-08 17:23:44 -05:00
shadowislord
7057e9cb18 Android native image loader rewritten from scratch
* Now supports reading directly from Java InputStream instead of having to read image file into memory first
 * Optimized native code - reduced unneccessary memory copies
2014-11-08 17:18:37 -05:00
shadowislord
b83603cd8f Added support for ETC1 compression (regular OGL only for now) 2014-11-07 21:04:55 -05:00
shadowislord
8d406380b0 * Fix FXAA on Android (but it's not really noticeable .. pixels are too small) 2014-11-07 20:58:58 -05:00
Nehon
81fe180713 Better Single pass test 2014-11-07 23:19:59 +01:00
jmekaelthas
30d89da190 Bugfix: fixed a crash that occured after changes in Materials'
definitions.
2014-11-07 13:12:53 +01:00
kaelthas
550063367e Bugfix: fixed issues with subdivision surface modifier. 2014-11-06 20:21:04 +01:00
shadowislord
3992ed89af Fix point sprite on Android. Fixes issue #82. 2014-11-05 23:50:09 -05:00
shadowislord
15f35fc5c6 Fix "DXT1 not supported by hardware" error that started appearing since the renderer refactor. 2014-11-05 23:13:15 -05:00
shadowislord
bf2656abf3 If we are loading a material from a J3O file, do not crash on missing material parameters, but log it instead.
Fixes test crash on any tests using cornellbox.j3o
2014-11-05 23:11:35 -05:00
shadowislord
b7ae8e6e3a Fix issue #127 2014-11-05 20:59:22 -05:00
shadowislord
a9d8faf39e Modify TestDepthStencil to be simpler (based on TestFBOPassthrough) 2014-11-05 20:15:12 -05:00
shadowislord
aa03d73595 Merge pull request #184 from davidB/fix_fb_depth24stencil8
Add support of Depth24Stencil8 into *Renderer
2014-11-05 19:43:16 -05:00
David Bernard
4fdde38bc2 Merge remote-tracking branch 'upstream/master' into fix_fb_depth24stencil8 2014-11-05 12:15:38 +01:00
David Bernard
37da17e3eb add support of DepthStencil into *Renderer
+ a test app
- only tested on desktop with Lwjgl
2014-11-05 12:15:14 +01:00
shadowislord
84046018ba Avoid use of LWJGL specific ContextCapabilities class.
Instead parse GL_EXTENSIONS and use that to determine supported features.
2014-11-04 23:28:50 -05:00
shadowislord
18b9ef5540 Refactor Android system
* Minor clean in context creation
 * Remove AndroidGLSurfaceView (it wasn't doing anything)
 * Delete AndroidTimer. Now android will be using NanoTimer
2014-11-04 22:28:23 -05:00