Commit Graph
100 Commits
Author SHA1 Message Date
Kirill Vainer 02c997b165 Image: remove efficient state field 2015-05-02 15:25:07 -04:00
Kirill Vainer e29988e30c Image: fix cloning for last texture state 2015-05-02 15:24:22 -04:00
Kirill Vainer 1f0c83ae7d ColorRGBA: getAsSrgb() to return ColorRGBA 2015-05-02 15:22:11 -04:00
Kirill Vainer 0a0fdca0b4 ImageRaster: add mipmap access & gamma correction
* Remove deprecated image raster methods from JmeSystem
 * Allow ImageRaster to read / write to arbitrary mipmaps
 * Allow ImageRaster to perform conversion to / from linear color space as required
2015-05-02 15:21:32 -04:00
Kirill Vainer c93c746b8b Travis-CI: display success notification on status change 2015-05-01 19:50:30 -04:00
Kirill Vainer a4e1aa450d README: Add build status image 2015-04-30 09:57:46 -04:00
Kirill Vainer 7393f79165 AudioSource: add method to get playback time
As was requested on the forum, getting playback time / position is needed to perform proper audio / video synchronization.
2015-04-29 23:58:34 -04:00
Kirill Vainer 2bdd4d5a32 Maven: enable maven artifact publishing
Currently to local repo only.
2015-04-28 23:59:49 -04:00
Kirill Vainer 8797bda5ef Maven: remove unneeded properties
Those are determined automatically by gradle, no need to specify explicitly.
2015-04-28 23:51:47 -04:00
Kirill Vainer 9e84c9f572 Travis-CI: Fix incorrect notification string 2015-04-27 19:57:01 -04:00
Kirill Vainer bffdb6cc93 Travis-CI: Add Slack chat notifications 2015-04-27 19:45:33 -04:00
Kirill Vainer b7af06e41c SDK Build: ensure netbeans folder is not empty
For some reason Travis-CI will create folders that were requested to be cached, thus causing the build to fail.
2015-04-27 19:39:50 -04:00
Kirill Vainer cd1d145005 PhysicsSpace: add method to set solver iterations
Thanks to Seppes (see thread: http://hub.jmonkeyengine.org/t/how-to-access-native-bullets-constraintsolver-numiterations)
2015-04-27 19:03:43 -04:00
Kirill Vainer f7d544f453 Travis-CI: cache netbeans platform and gradle deps 2015-04-27 13:00:22 -04:00
Kirill Vainer 03cf96bc04 Travis-CI: enable container based infrastructure 2015-04-27 11:56:57 -04:00
Kirill Vainer ab7a45f66c GLRenderer: forget an end parenthesis 2015-04-27 11:20:01 -04:00
Kirill Vainer ba3e6917c6 GLRenderer: fix modern extension retrieval method
GL_NUM_EXTENSIONS and glGetStringi is only available in OpenGL3.0+. The gl3 != null check will always be true for LWJGL backend.
2015-04-27 11:00:33 -04:00
Kirill Vainer 1fec72605f SPLighting.frag: fix syntax error with vertex lighting enabled 2015-04-25 23:13:20 -04:00
Kirill Vainer 0c846eaf6a SPLighting: fix syntax errors with vertex lighting + color ramp 2015-04-25 23:11:10 -04:00
Kirill Vainer 5cf6b0c9a6 LwjglContext: add custom handler for GL debug messages 2015-04-25 23:09:58 -04:00
Kirill Vainer 0a3e9a434e Image: treat setMipMapSizes as a request to generate mips 2015-04-25 23:09:11 -04:00
Kirill Vainer 10cde0a4b2 DXTFlipper: fix incorrect flipping of DXT5 images of size 2x2
For DXT1/3 images, the format for color and alpha blocks is the same,
so the bug would not appear. For DXT5 images, the alpha block is formatted
differently. The issue is that it flips the color block and then the alpha
block for 2x2 images, but the correct order is alpha block then color block.
2015-04-25 22:42:20 -04:00
Kirill Vainer aba48495e1 J3MLoader: enforce MaterialKey requirements based on extension 2015-04-25 18:25:07 -04:00
Kirill Vainer ed4b70bcad GLTiming: new GL wrapper to profile GL calls 2015-04-25 17:41:50 -04:00
Kirill Vainer a6c71c4f50 Fix missing glPatchParameter and another syntax error 2015-04-25 17:34:29 -04:00
Kirill Vainer 5b95f8a4b0 GLRenderer: Improve compatibility with OpenGL 3.2 core profile
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
 * Use modern way of getting supported extensions in core profile.
 * Luminance and Alpha formats are not available when running in core profile.
 * Bind a dummy vertex array object (VAO) when running in core profile.
 * Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
2015-04-25 16:57:24 -04:00
Kirill Vainer 389b117fb6 IosGL: reset buffer position in fromArray() 2015-04-25 12:45:30 -04:00
Kirill Vainer ca6b492cea SSAOFilter: remove excessive GPU mipmap generation (not needed for filters) 2015-04-24 23:46:56 -04:00
Kirill Vainer 73f53931f0 Image: fix mipmap generation flags not properly being updated 2015-04-24 23:35:30 -04:00
Kirill Vainer 9ba04bed8f GLRenderer: Merge Color and Screen BlendModes as they are they same 2015-04-24 23:31:52 -04:00
Kirill Vainer 9b41b66756 Merge pull request #261 from Turakar/master
Fixed typo #258
2015-04-20 14:34:36 -04:00
Kirill Vainer aeb1b547ce FBX: fix build errors (missing functions that need to be added) 2015-04-19 21:03:51 -04:00
Kirill Vainer ed2be5e542 FBX: new FBX importer (not yet enabled - old importer still used by default)
Still needs work:
 * Skeletal animation (many issues with transform hierarchies)
 * N-gons triangulation (only quads supported at the moment)
 * Light & Camera importing
 * Z-up to Y-up correction
 * Morph animation
2015-04-19 18:08:28 -04:00
Kirill Vainer 6f29772862 FBX: fix build error due to rename 2015-04-19 13:42:25 -04:00
Kirill Vainer 0a5b68983e FBX: Rename FBX -> Fbx. Support FBX 6.x IDs in FbxDump. 2015-04-19 13:33:43 -04:00
shadowislord ba8349a0cf FBX: ContentTextureKey to disable cache
FBXDump remove useless import
2015-04-19 13:24:44 -04:00
shadowislord 36493353c9 TechniqueDef: fix caps loading for shader language versions 2015-03-29 11:47:58 -04:00
shadowislord 03819b17d1 Merge branch 'rainmantsr-master' 2015-03-28 13:24:09 -04:00
shadowislord 87b6c117f2 TestSweepTest: ignore collisions against ourselves (needed for native bullet) 2015-03-28 13:23:00 -04:00
shadowislord fe7f30d5ec Native SweepTest: fix formatting 2015-03-28 13:17:16 -04:00
shadowislord 55829d46cf Merge branch 'master' of git://github.com/rainmantsr/jmonkeyengine into rainmantsr-master 2015-03-28 12:49:38 -04:00
shadowislord 38e4580857 TestSweepTest: fix crash on native bullet (natives not loaded when shapes are created) 2015-03-27 23:37:13 -04:00
shadowislord 414e1b3fff Lighting.glsllib: Use quadratic spotlight falloff in SRGB mode 2015-03-27 23:34:53 -04:00
shadowislord 19338deaf8 LWJGL Backend: fix issue #232 2015-03-27 22:42:34 -04:00
shadowislord d2af0017b2 Nifty BatchRenderBackend: set colorspace property on images 2015-03-27 22:40:18 -04:00
shadowislord 51952de16a jme3-testdata: fix issue #241 2015-03-27 22:21:14 -04:00
shadowislord 22957c3d28 IOS Renderer: remove clear texture units (does nothing anyway) 2015-03-27 22:20:38 -04:00
shadowislord 26109fcbac (SP)Lighting.vert: clarify comment regarding material colors 2015-03-27 22:19:02 -04:00
shadowislord 6252258c98 TechniqueDef: remove useless usesShaders variable 2015-03-27 21:55:32 -04:00
shadowislord fa324cad8f Dome: fix crash when center = null 2015-03-27 21:49:59 -04:00
shadowislord 26f702cc91 GLTracer: add more no-enum methods 2015-03-27 21:49:33 -04:00
shadowislord a3467def1e WeakRefCloneAssetCache: remove useless "synchronized" (the map is already thread-safe) 2015-03-27 21:48:24 -04:00
shadowislord 06408410cf CollisionResult: add hashCode() - required if we have equals() 2015-03-27 21:47:54 -04:00
shadowislord 305e56a921 ShaderNode: remove incorrect attribution 2015-03-27 21:47:21 -04:00
shadowislord 068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord a683fbb16c Texture: allow setting aniso = 0, since that's the default anyway 2015-03-27 21:39:27 -04:00
shadowislord fdf050c13d J3MLoader: set texture name in addition to key when loading it 2015-03-27 21:38:56 -04:00
shadowislord f0fbdffb85 BoundingSphere: remove useless null check 2015-03-27 21:38:14 -04:00
shadowislord 4f15fa3147 AnimChannel: remove useless println 2015-03-27 21:37:50 -04:00
shadowislord 2bc5545171 OGLESShaderRenderer: remove clearTextureUnits since it doesnt do anything 2015-03-27 21:36:43 -04:00
shadowislord 400c09a633 jme3-core: fix minor issues pointed in static analysis 2015-03-27 21:33:29 -04:00
Kirill Vainer 1076b489ab GLRenderer: remove check FB error calls as it causes GPU stall 2015-03-26 17:03:04 -04:00
Kirill Vainer 25da36e590 jme3-bullet-native: copyBinaryToLibs to depend on building native lib 2015-03-26 17:02:01 -04:00
shadowislord a37f38a412 Build: fix build failure if not building from git repo 2015-03-20 23:51:15 -04:00
shadowislord b7c2050487 SDK: fix compliation 2015-03-19 22:48:01 -04:00
shadowislord a157e83815 GLRenderer: always use glGenerateMipmap if we have FBO support 2015-03-18 23:21:25 -04:00
shadowislord 3a83ab4c69 GLRenderer: applied 080255f518 to FrameBuffer textures as well 2015-03-18 23:19:43 -04:00
shadowislord d6a19c4c66 Lighting.j3md: remove fixed function bindings 2015-03-18 23:16:48 -04:00
shadowislord c0e85b3255 MaterialDebug: remove DesktopAssetManager dependency 2015-03-18 23:15:57 -04:00
shadowislord 83ddf9d7c3 TestCartoonEdge: more reliable way to detect lighting material 2015-03-18 23:15:11 -04:00
shadowislord 784cfddb21 Filter: minor javadoc mistake 2015-03-18 23:14:01 -04:00
shadowislord c34fcce7a2 MatParamTexture: remove useless constructor 2015-03-18 23:13:09 -04:00
shadowislord 6d7da0cc4e AssetManager: use right exception class if no loaders registered 2015-03-18 23:11:39 -04:00
shadowislord a2fc435167 SPLighting: fix issue #239 2015-03-09 22:22:55 -04:00
shadowislord 8466b25c6b ALAudioRenderer: fix issue #244 2015-03-09 22:20:54 -04:00
Kirill Vainer c4aa4bc885 Merge pull request #229 from davidB/build_enable_assertion
build: enable assertion for test and run
2015-03-06 11:05:46 -05:00
Kirill Vainer 273f3a6e62 Merge pull request #220 from zzuegg/master
Geometry shader and Tessellation shader support
2015-03-02 10:01:08 -05:00
Kirill Vainer 21ed9ecf63 Merge pull request #219 from empirephoenix/master
A very small change that creates two getters in VehicleWheel,,
2015-03-02 09:57:06 -05:00
shadowislord a374e73376 AssetManager: adjust usage according to latest changes 2015-03-01 15:14:30 -05:00
shadowislord 40926dc32d AssetConfig: Platform asset config now returned as URL
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg
2015-03-01 15:11:57 -05:00
shadowislord d55a859240 FBXLoader: add class to dump FBX binary files as text 2015-02-28 19:07:20 -05:00
shadowislord 92e08b1f2b Application: use JmeSystem to get asset config URL 2015-02-28 19:05:48 -05:00
shadowislord 25b1780e09 AssetManager: remove useless subclasses
* All platforms now use asset configuration files. Subclasses of DesktopAssetManager no longer required.
 * Added general asset config file which is included by all
 * JmeSystemDelegate now always returns DesktopAssetManager
 * JmeSystem is now responsible for providing the platform-specific asset config path
 * Deprecate JmeSystem.createImageRaster(), it is simpler to create a DefaultImageRaster
2015-02-28 18:32:38 -05:00
shadowislord 47e1c336e6 XMLImporter: make sure to close stream if exception occurs 2015-02-28 18:29:38 -05:00
shadowislord bbbcd8eba5 Android Images: deprecate classes that won't be used in 3.1 2015-02-28 18:28:35 -05:00
shadowislord 9b13b34bd5 RenderManager: cleanup viewport computation (related to PR #217) 2015-02-28 16:46:52 -05:00
shadowislord f2cd1334ec jme3tools.converters: remove deprecated classes 2015-02-28 16:41:24 -05:00
shadowislord ca497f458a AssetManager ImplHandler: synchronized access in clearCache() 2015-02-28 16:40:32 -05:00
shadowislord a7765cfb63 com.jme3.asset.plugins: javadoc additions 2015-02-28 16:39:12 -05:00
shadowislord c6317cc531 com.jme3.asset.cache: javadoc fixes 2015-02-28 16:38:11 -05:00
shadowislord 938dc3640b AnimControl: fix javadoc 2015-02-28 16:37:26 -05:00
shadowislord 90925e3968 AssetManager: javadoc, cleanup, new method
* Move *cache* methods up into the AssetManager interface from DesktopAssetManager
 * Fix various incorrect javadoc
 * Add new method to load an asset from an InputStream
 * Restructure DesktopAssetManager.loadAsset() to make it less monolithic
2015-02-28 16:34:55 -05:00
Kirill Vainer f7624be761 Merge pull request #217 from nhansen1/master
Fix for incorrect viewport sizes
2015-02-27 22:33:08 -05:00
Kirill Vainer 01f673c826 Merge pull request #216 from NemesisMate/patch-2
Fixed BufferUnderflowException
2015-02-26 10:32:49 -05:00
shadowislord ee151af5d2 iOS: use generic GLRenderer (untested)
- many methods are stubs .. may need some cleanup later on the native code side.
2015-02-25 23:20:42 -05:00
Kirill Vainer f0998d14d0 GLRenderer: support limited NPOT on iOS
See this: 
https://www.khronos.org/registry/gles/extensions/APPLE/APPLE_texture_2D_limited_npot.txt

Note that NPOT is still not available on cubemaps or 3D textures, however this is fairly uncommon.
2015-02-25 10:45:39 -05:00
shadowislord 331e71f261 SinglePass Lighting: fix colorramp feature 2015-02-24 23:09:38 -05:00
shadowislord d3b71cd946 OgreXML material loading: some material state was not reset, causing it to leak to other models 2015-02-24 22:09:57 -05:00
shadowislord 4c69cc00a6 SP / MP Lighting: render ambient color if no lights or only ambient lights
- Prevents "invisible model" bug if there are no lights
2015-02-24 21:53:55 -05:00
shadowislord 32e56351df Material.preload(): fix incorrect param names being uploaded (w/o prefix)
- This would cause garbage uniforms to be allocated when testing for HW skinning
2015-02-24 21:52:42 -05:00