David Bernard
3631493284
Revert ".gitignore : simplify + ignore private"
...
This reverts commit 0e5e58a1f8
.
11 years ago
David Bernard
0e5e58a1f8
.gitignore : simplify + ignore private
11 years ago
Normen Hansen
a6b24c91ea
SDK:
...
- fix recognition of boolean properties is/set pattern
11 years ago
shadowislord
1a1d74f83e
* More sanity checking when enabling sRGB pipeline, to ensure its actually supported before calling any sRGB related functions. Also provide more log messages if something is odd or goes wrong.
...
* Remove the sanity check from TextureUtil since it is now done once during initialization of the renderer.
* If LwjglRenderer.VALIDATE_SHADER is enabled, log shader compilation warnings as Level.WARNING instead of Level.FINE. Also slightly better grammar in shader compile / link messages.
11 years ago
shadowislord
ce761cd20b
Merge branch 'master' of github.com:jMonkeyEngine/jmonkeyengine
11 years ago
shadowislord
7d8c95f9c8
* Remove references to esoteric EXT_abgr and EXT_bgra extensions entirely, which might even be causing issues on some systems, instead replaced with standard OpenGL 1.2 constants
...
* ARGB8 and BGRA8 formats now support sRGB -> linear conversion if sRGB pipeline is used, previously they were ignored.
* All float and half float formats are considered supported if we either support OpenGL 3 or ARB float texture.
* Cleanup TextureUtil a bit by removing constant references from ARBHalfFloatPixel, ARBTextureFloat, EXTPackedFloat, EXTTextureSharedExponent and EXTTextureSRGB to GL21 and GL30 classes (which are identical anyway).
* Check if we support sRGB textures before choosing sRGB format (although this check should have been done earlier? not sure..)
11 years ago
shadowislord
60fa6a7e38
Merge pull request #128 from GreenCubes/patch-1
...
* Fix issue where using a texture array with pregenerated mipmaps would fail with a GL error.
11 years ago
shadowislord
bf9a30f8ba
Merge pull request #140 from phr00t/master
...
Ability to emit a certain number of particles
11 years ago
Phr00t
dd042344d8
reduced code duplication
11 years ago
Phr00t
0f76dc2cbd
Ability to emit a certain number of particles
11 years ago
shadowislord
465e2b2280
* Make sure to set texture max level depending on whether mipmaps are to be generated, included in texture, or not required at all - this reduces memory allocated by GPU for textures that do not use mipmaps.
11 years ago
shadowislord
68cb1e900f
Automatically upload GLSL 1.0 shaders as GLSL 1.1 if using desktop OpenGL to allow stricter error checking.
11 years ago
shadowislord
76147fc5f7
* Throw exception if the spot light computed cosine angle is not valid
11 years ago
shadowislord
7cdc473e14
* Fix broken generation of classpath for jMonkeyEngine3.jar
11 years ago
shadowislord
6680a1dec4
* FilterPostProcessor now crashes early if packed float texture isn't supported - since it is now required by all filters
11 years ago
shadowislord
0989d40256
* Ensure mipmapping is disabled for skies
11 years ago
shadowislord
99af4d9bd5
* Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead
11 years ago
shadowislord
f31911f039
* Fix java 8 syntax error in UdpEndpoint
11 years ago
shadowislord
510e9137d8
* Disable doclint if building on Java 8 to avoid failed build
11 years ago
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
11 years ago
shadowislord
d694229335
* Make tone-mapping white-point adjustment logarithmic in the sample to have less sudden exposure transitions
11 years ago
shadowislord
c01cbdd5e0
* Add option to toggle instancing either on or off to see the difference (if any)
11 years ago
shadowislord
35cfae5ef0
* Merge revision 11058 from experimental branch
...
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
11 years ago
shadowislord
6aeb694b71
* Merge revision 11060 from experimental branch
...
- Throw exception if user is attempting to share materials between hardware skinned models
11 years ago
shadowislord
3838216207
* Added tone mapping filter that does not rely on average luminance (unlike HDRProcessor).
11 years ago
shadowislord
97ff9c2949
* Allow MultiSample.glsllib to be used on GLSL shaders versions 1.00 - 1.40 (otherwise a syntax error occurs)
11 years ago
jmekaelthas
939a0b03ca
Bugfix: fixed a bug that caused importer to fail when mesh had armature
...
modifier and no vertex groups nor bone envelopes defined.
11 years ago
Nehon
c09a4b208d
Fixed ColorRGBA javadoc, made the clamp method use FastMath.clamp, integrated @kwando's pull request 131
11 years ago
Nehon
95f215c180
Adjusted TestPostWater to gamma correction
11 years ago
Nehon
200c875ba2
Used R11G11B10F instead of RGB10_A2 for framebuffer format in Filters and R11G11B10F instead of RGBA for the back buffer in the FilterPostProcessor.
11 years ago
Nehon
0c469e605b
ColorRGBA now has a setAsSrgb that convert the passed sRGB values to linear space and store them in the ColorRGBA, it has also a getAsSrgb method that returns the SRGB value of the color in a Vector4f.
11 years ago
Nehon
9f45f78c86
Fixed GammaCorrectionFilter path to j3md and frag files
11 years ago
Nehon
09e705dcc4
Introduced RGB10_A2 Image Format. It offers greater precision for RGB channels at the expense of precision for the alpha channel. This format is convenient for post processing, and especially when gamma correction is turned on.
11 years ago
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).
11 years ago
Nehon
e4ba4e9e9e
- Image loaders now assume ALL images are in sRGB space and set the flag accordingly
...
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
11 years ago
Nehon
77a4002c3d
Added support for hardware srgb output (gamma correction).
...
It can be toggled at render time.
Works with lwjgl
Couldn't test with Jogl and might be not working
Not supported by mobile renderers
11 years ago
Nehon
a23038430c
- Added an AppSetting param for gamma correction, defaulted to true.
...
- Added a filed in the Setting dialog to toggle gamma correction on and off
11 years ago
Nehon
0967f39b83
- Fixed the GammaCorrectionFilter so it properly works with multisampling, will be used as a fall back to upcoming Gamma Correction implementation
...
- Removed luma
- Passed inverse gamma instead of gamma to avoid doing a division for each pixel in the shader
11 years ago
Stephen Gold
1a68fc9c30
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git
11 years ago
sgold@sonic.net
98ffe52c77
correct core comments and standardize line endings as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-com-jme3-mathrendererpost/
11 years ago
Normen Hansen
bf4a810272
- change push() --> add() for physics collision events
11 years ago
normen
f1a485a965
Merge pull request #132 from phr00t/master
...
- performance improvements to PhysicsSpace - thanks to @phr00t
- ups jME Java dependence to Java 1.6
11 years ago
jmekaelthas
a2855c1cf0
Feature: added support for bone envelopes.
11 years ago
Phr00t
1919bac082
stack to deque
11 years ago
Phr00t
ecf6297783
stack to deque
11 years ago
sgold@sonic.net
4a69eee64f
corrections to com.jme3.scene.* comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-com-jme3-scene/
11 years ago
sgold@sonic.net
5372cb505d
remove CRs from line endings (added in previous commit)
11 years ago
sgold@sonic.net
5b8dfbc27c
typos in Spatial.java comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-spatial-java-comments/
11 years ago
Nehon
5f48fa34bd
Made a MaterialDebugAppState that allows hot reload of materials at runtime. Pretty convenient for shader development and debugging
11 years ago