Commit Graph
100 Commits
Author SHA1 Message Date
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
shadowislord 3a19a2bb12 Shader: make sure uniform name starts with either m_ or g_ 2015-02-24 21:52:00 -05:00
shadowislord fd0832af98 SinglePass Lighting: fix light color not being used for specular highlight 2015-02-24 21:50:45 -05:00
shadowislord 957801ea12 SinglePass Lighting: Comment out color ramp - doesn't seem to work 2015-02-24 21:50:03 -05:00
shadowislord 550255b1d5 HttpZipLocator: fix unsupported exception on HTTPS URLs 2015-02-24 21:49:06 -05:00
shadowislord 02322d04cc J3MLoader: fix negative signs ("-") inside mat params
- Also move the "-LINEAR" directive to be associated with the parameter declaration instead of parameter default value
2015-02-24 20:36:24 -05:00
Kirill Vainer 5508dc05f5 Merge pull request #196 from Bebul/collideWithOptimization
Collide with optimization
2015-02-24 13:21:40 -05:00
shadowislord 621f6de083 Terrain GLSL shader: fix incorrect glsllib import
- (PhongLighting -> BlinnPhongLighting)
2015-02-22 16:51:50 -05:00
shadowislord 2f86e0c17b Delete TestTriangleStrip
- since triangle stripper was removed, this test was not compiling
2015-02-22 16:04:01 -05:00
shadowislord 14ff6e4f29 SinglePass Lighting: support two sided lighting
- also added test case with both regular per pixel lighting and bump mapping
 - NOTE: two sided lighting is not supported with vertex lighting
2015-02-22 15:47:56 -05:00
shadowislord 270f4957ef SinglePass Lighting: fix GLSL syntax error when parallax mapping is used 2015-02-22 15:45:23 -05:00
shadowislord d6a4ba41b4 Image: request mipmaps to be re-generated if image data is modified
- fixes ImageRaster modification not updating mipmaps bug
2015-02-22 15:43:54 -05:00
shadowislord 50f0eca3e6 Skeletal Animation: remove shared mesh support
- shared meshes in J3O / OgreXML are automatically de-shared on import, so this functionality is no longer used in the engine
2015-02-22 15:42:48 -05:00
shadowislord 5760a48eea Skeletal Animation: remove deprecated SkeletonControl ctor
- it is not useful, because targets / materials are gathered on every update() call
2015-02-22 15:41:10 -05:00
shadowislord c5359c7359 Animation Track interface: add getKeyFrameTimes() method 2015-02-22 12:49:31 -05:00
shadowislord d281920e60 GLSL Lighting Lib: fix flickering on directional lights in sRGB mode 2015-02-22 12:47:55 -05:00
shadowislord 9d715cdd2b Lighting GLSL library: use inverse square falloff for lighting in sRGB mode
- It is a slightly modified equation that actually terminates the light's influence at the light radius
2015-02-21 22:50:29 -05:00
shadowislord 4e7d7fd2f1 GLRenderer: inject SRGB define if texture linearization is enabled 2015-02-21 15:52:42 -05:00
shadowislord 8b300f5109 jME3 tools: delete triangle stripper 2015-02-21 15:43:26 -05:00
shadowislord 9759e24961 OgreXML materials: inherit more parameters from TextureKey
Allows modifying the key in a AssetLoadListener to modify the anisotropic filter
2015-02-21 15:40:42 -05:00
shadowislord 9ad1992681 SimpleWaterProcessor: Use linear filtering for reflection / refraction textures 2015-02-21 15:39:58 -05:00
shadowislord abb2b784e0 Javadoc: Add engine overview 2015-02-21 15:39:10 -05:00
shadowislord 85bba59541 OgreXML: Use the placeholder texture for missing textures 2015-02-21 15:35:07 -05:00
shadowislord 4090b6f1de OgreXML Loader: set jME3 material name based on ogre material name 2015-02-15 17:01:12 -05:00
shadowislord 6c770d524d Application: add waitFor flag to start()
Allows user to wait for app to initialize first before doing other actions
2015-02-15 16:47:11 -05:00
shadowislord d9cc9003ba GLRenderer: update viewport even if FBO ID already set
The inherited viewport state could be outdated or incorrect, this makes sure it matches exactly
2015-02-15 16:45:07 -05:00
shadowislord ec2f47225c RenderContext: remove obsolete state from GL1 renderer 2015-02-15 16:44:10 -05:00
shadowislord 9651d6d822 GL interface: add support for PBO, FB readback, and fences (ARB sync) 2015-02-15 16:42:42 -05:00
shadowislord fb7708af24 GLRenderer: Fix modifyTexture(). Clarify documentation. 2015-02-15 16:38:23 -05:00
shadowislord b300915092 NativeLibraryLoader: use the OS's cache folder instead of home folder for storing natives 2015-02-15 16:18:04 -05:00
shadowislord 51c8894e03 NativeLibraryLoader: Fix crash when working directory not writable
Loder -> Loader
2015-02-15 14:05:33 -05:00
shadowislord 629c007cd4 DDSLoader: fix loading 16-bit images (as exported by PVRTexTool) 2015-02-10 20:16:51 -05:00
shadowislord badefdf4e4 Fix OgreXML loading crash when no material specified for geometry 2015-02-10 20:15:29 -05:00
shadowislord 809092c236 Allow application to be a resizable window.
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
2015-02-10 20:14:36 -05:00
shadowislord 1fc730c78a Add ThrottleOnLostFocus - a slightly less crappy version of PauseOnLostFocus 2015-02-10 20:12:38 -05:00
shadowislord 8ae04fd1fb PlaceholderAssets: when assets fail to load, try to make the error appear visually 2015-02-10 20:10:43 -05:00
shadowislord 4b079ea480 DesktopAssetManager: remove weird logging in loadTexture 2015-02-09 21:09:22 -05:00