257 Commits

Author SHA1 Message Date
Nehon
95f215c180 Adjusted TestPostWater to gamma correction 2014-05-26 12:19:20 +02: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
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
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
Mayank Sharma
4c320f686d issue#85 short approach - setDefaultCloseOperation 2014-03-31 16:15:54 +05:30
Mayank Sharma
5b84be227a end application when TestChooser dialog is closed
added a WindowListener in the constructor that overrides the windowsClosing method to dispose the TestChooser dialog. 
code tested with positive result for issue#85.
2014-03-29 16:40:12 +05:30
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00