27 Commits

Author SHA1 Message Date
Stephen Gold
f40ba25a56 correct more grammar/spelling errors in comments 2018-02-23 22:20:22 -08:00
Stephen Gold
15285cc302 eliminate uses/overrides, deprecate implementations of cloneForSpatial() 2018-02-19 13:47:47 -08:00
Stephen Gold
826908b042 correct more grammar/spelling errors in comments 2018-02-18 20:49:43 -08:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
javasabr
69b7f7e655 fixed some changes. 2017-11-28 08:25:41 +01:00
javasabr
bc1584d239 made the method as public. 2017-11-28 08:25:41 +01:00
javasabr
15fd80d67f Some improvements with terrain LOD control:
1. Added the new option to use camera from render view port(default false)
2. Removed unnecessary synchronize blocks
3. Replaced each control own executor to global terrain executor
4. Removed unused things
5. Reduced memory allocations
6. Fixed the issue with cloning.
2017-11-28 08:25:41 +01:00
Kirill Vainer
6127f7eb7a Miscellaneous OpenGL ES fixes (#720)
* Use correct HALF_FLOAT constant for GLES
* Support GLTracer and GL debug in Android
* Support instancing in GLTracer
* Don't use unsupported TEXTURE_{BASE,MAX}_LEVEL in GLES
* Support ABGR8 using swizzle extension
* Move glFramebufferTextureLayer to GLFbo
* Avoid RGB111110F in filters unless its actually supported
* Use the same depth format in all places in FPP
* Print the object with the problem in NativeObjectManager
* JMException does not exist on Android
2017-09-17 23:00:29 -04:00
NemesisMate
edd9a78291 Added alpha blending option to terrain lightings to allow alpha stencil textures. (#689)
Updated Terrain materials to allow diffuse textures with alpha
2017-07-23 14:10:33 +02:00
empirephoenix
78a3e2408e Merge pull request #622 from JavaSaBr/fix_memory_cost_on_terrain_changes
added reusing position buffer on heightmap changing.
2017-03-02 10:08:11 +01:00
Rémy Bouquet
df765322dc Fixed warnings in Terrain shader.
Fixed the use of the first diffuse map
Fixed the camera positioning in the TestSpotLightTerrain
2017-02-26 09:25:23 +01:00
javasabr
444588a363 added reusing position buffer on heightmap changing. 2017-02-18 18:48:42 +03:00
Kirill Vainer
37f8ee91af more deprecation cleanup 2016-04-10 12:04:20 -04:00
Kirill Vainer
f4e948d7bd remove deprecated classes 2016-04-10 11:53:06 -04:00
Kirill Vainer
a563c6cc7b remove deprecated classes 2016-04-10 11:46:18 -04:00
Paul Speed
ab6fb03171 Converted spatial over to use Cloner to do its various
deep and semi-shallow cloning.  I'd be very surprised if nothing
is broken as there is only so much testing I can easily do.
Also various fixes for places I forgot to call super.cloneFields().
2016-03-27 06:14:52 -04:00
Paul Speed
7b29c58fe0 JmeCloneable related changes to TerrainQuad and TerrainPatch. Fixed
something I missed in NormalRecalcControl.
2016-03-26 05:29:22 -04:00
Paul Speed
8b1ddbe60f First round of getting JmeCloneable implemented... added
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
2016-03-20 02:47:16 -04:00
Paul Speed
2b81011668 Adding @Override to cloneForSpatial() methods in terrain lib. 2016-03-11 05:38:32 -05:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord
621f6de083 Terrain GLSL shader: fix incorrect glsllib import
- (PhongLighting -> BlinnPhongLighting)
2015-02-22 16:51:50 -05:00
shadowislord
4797628d7b * Remove GL1 technique from TerrainLighting.j3md 2015-01-23 22:44:10 -05:00
Nehon
c55717141e Single pass lighting implementation.
Along with some light shaders refactoring and clean up
2014-11-04 20:09:14 +01:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04:00
Nehon
8ff6f8df24 Introduced a new Enum ColorSpace.
One can now mark a texture param in a material definition as linear by using -Linear at the end of the parameter declaration (case insensitive).
An Image bound to a material texture param in a linear color space will have its ColorSpace set to linear when bound to the material by mat.setTexture("name", texture);
Added the -LINEAR flag to all texture param that needed it in stock materials (lighting.j3md, terrainLighting.j3md, different Filter materials).
2014-05-26 12:11:57 +02:00
sploreg
7df0b41585 TerrainLodControl no longer caches camera positions. Issue #121 2014-04-02 14:49:29 -07:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00