4299 Commits

Author SHA1 Message Date
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
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
2014-05-26 12:11:56 +02:00
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
2014-05-26 12:11:55 +02:00
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
2014-05-26 12:11:55 +02:00
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
2014-05-26 12:11:54 +02:00
Stephen Gold
1a68fc9c30 Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git 2014-05-25 08:56:56 -07:00
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/ 2014-05-25 08:54:49 -07:00
Normen Hansen
bf4a810272 - change push() --> add() for physics collision events 2014-05-25 12:20:56 +02:00
normen
f1a485a965 Merge pull request #132 from phr00t/master
- performance improvements to PhysicsSpace - thanks to @phr00t
- ups jME Java dependence to Java 1.6
2014-05-25 12:13:32 +02:00
jmekaelthas
a2855c1cf0 Feature: added support for bone envelopes. 2014-05-21 17:35:07 +02:00
Phr00t
1919bac082 stack to deque 2014-05-19 13:47:24 -04:00
Phr00t
ecf6297783 stack to deque 2014-05-19 13:46:35 -04:00
sgold@sonic.net
4a69eee64f corrections to com.jme3.scene.* comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-com-jme3-scene/ 2014-05-16 07:58:15 -07:00
sgold@sonic.net
5372cb505d remove CRs from line endings (added in previous commit) 2014-05-14 15:01:58 -07:00
sgold@sonic.net
5b8dfbc27c typos in Spatial.java comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-spatial-java-comments/ 2014-05-13 10:22:53 -07:00
Nehon
5f48fa34bd Made a MaterialDebugAppState that allows hot reload of materials at runtime. Pretty convenient for shader development and debugging 2014-05-11 15:25:38 +02:00
Erlend Sogge Heggen
fba87fb0ea Added README.md v1
Shorter summary. Pretty games mashup and popular games list. Basic getting started section along with essential links.
2014-05-06 22:01:38 +02:00
Erlend Sogge Heggen
414854004f Update CONTRIBUTING.md
Added link to the awesome cheat sheet:
https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md
2014-05-06 21:03:28 +02:00
relu91
3cbb158b81 Prototype of nifty-editor integration . 2014-05-06 12:26:03 +02:00
Nehon
3a5aae5383 Fixed typo in previous commit's javadoc 2014-05-03 15:05:56 +02:00
Nehon
375079bfcf The shaderNodesGenerator now properly declare and assign inPosition :
inPosition can be a vec4 or Vec3 and will be assign to Global.position accordingly
2014-05-03 15:03:30 +02:00
Nehon
e898f26cf4 The ShaderNodes system now correctly handles swizzle of types like ivecn, uvecn, bvecn 2014-05-03 13:49:05 +02:00
Rémy Bouquet
d5f6058e85 Merge pull request #129 from Rena4ka/master
Fixed constantly mipmap generation
2014-05-01 11:16:46 +02:00
Phr00t
d200e406d5 performance improvements to PhysicsSpace 2014-04-29 14:33:01 -04:00
jmekaelthas
3b187e9342 Bugfix: fix that allows to use either quaternion or euler rotation in
bone animation.
2014-04-25 22:13:58 +02:00
Normen Hansen
539c2e65fc - update JmeVersion automatically in build script
- change handling of version "tag" (stable, svn etc.)
2014-04-25 17:03:59 +02:00
Normen Hansen
70412593ba clean up some naming in SDK build.gradle 2014-04-25 16:29:18 +02:00
Normen Hansen
7a000bb5fe use maven repo version of j-ogg and j-vorbisd 2014-04-25 16:25:14 +02:00
Rena4ka
e250c47a08 Fixed constantly mipmap generation
Fixed bug when setting MinFilter with mipmapping after generating mipmaps causes jME to update image data every frame.
2014-04-22 03:55:57 -07:00
Rena4ka
4be7693f1b Mipmapped texture arrays
Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures
2014-04-22 02:59:03 -07:00
sgold@sonic.net
8d2b7a53e6 fix race in TestAwtPanels as discussed at http://hub.jmonkeyengine.org/forum/topic/fix-for-race-in-testawtpanels 2014-04-18 08:55:59 -07:00
Stephen Gold
a8e04797e5 Merge pull request #124 from kwando/fix_better_error_dialog
Fix for the ErrorDialog.
2014-04-17 11:11:21 -07:00
Hannes Nevalainen
2b8cdbb34c Fix for the ErrorDialog.
Turns out the imporved  error dialog was less helpful than the old one...
2014-04-17 17:08:41 +02:00
Nehon
1b3c2e4436 Fixed some compilations warning in the lightScattering shaders and a compilation error in the glsl 1.2 shader 2014-04-13 20:15:19 +02:00
Nehon
4f6c061d4e Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git 2014-04-06 11:26:53 +02:00
Nehon
dbae186426 Fixed issue in MotionPath where having a path with only 2 waypoints with the same coordinates was causing an IndexArrayOutOfBound exception.
Also used a temp var for a Vec2 that was instanciated on each frame
2014-04-06 11:26:33 +02:00
Erlend Sogge Heggen
75bc62764a Update CONTRIBUTING.md
many updates. basic tips about github use, bug reporting and code style.
2014-04-05 14:09:06 +02:00
Rémy Bouquet
ae0cd3d813 Merge pull request #117 from maany/issue#85
Issue#85 fix from maany
2014-04-03 07:38:29 +02:00
Kostyantyn Hushchyn
625264b6d8 Added base input handler - touch and simulated mouse 2014-04-03 04:27:43 +03:00
Normen Hansen
10af945f36 set buildNativeProjects to false for now 2014-04-03 00:48:38 +02:00
sploreg
7df0b41585 TerrainLodControl no longer caches camera positions. Issue #121 2014-04-02 14:49:29 -07:00
Nehon
d7b3d580ed Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git 2014-04-02 20:35:16 +02:00
Nehon
ad99467cf2 Fixed issue where onAnimCycleDone was not called when playing an animation 2014-04-02 20:34:54 +02:00
normen
f6f13d5f1d Merge pull request #119 from kwando/better_error_dialog
SDK: A better error dialog.
2014-04-01 18:12:54 +02:00
Hannes Nevalainen
57adc00909 A better error dialog. 2014-04-01 17:24:45 +02:00
iwgeric
7c8fa29b26 Adding a VideoRecorderAppState for Android. Performance is really bad, but it will at least run and store the AVI. Not really intended for app usage, but it's been handy in a couple of places. Just committing to lot lose the changes necessary to make it run. More work required, for sure. 2014-03-31 13:12:10 -04:00
iwgeric
37dd89c8f1 Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine.git 2014-03-31 12:18:22 -04:00
iwgeric
a43b5c1835 remove android mk files from bullet-native. android native bullet has it's own subproject 2014-03-31 12:18:02 -04:00
Mayank Sharma
4c320f686d issue#85 short approach - setDefaultCloseOperation 2014-03-31 16:15:54 +05:30
Nehon
333c5c60cd Fixed wrong swizzle in ssao.frag 2014-03-31 06:53:05 +02:00