Nehon
50a9a8636b
HDRLoader, reverted the change that loaded the HDR files in sRGB space, since the specs says that data is in linear space for this format.
9 years ago
Nehon
ad4634ce04
.hdr files are now loaded in sRGB color space as there is no reason it should be loaded in linear space.
9 years ago
Daniel Johansson
d319a7c5d3
Added unit test for J3MLoader to cover the new texture parameters available in #295 . Also fixed a couple of issues in the code to reduce logging that was not needed and removed redundant code. This update also updates junit to 4.12 and adds Mockito and Fest Assertions as test dependencies.
10 years ago
Daniel Johansson
9059eb30e4
Added support for setting minification and magnification filters on a texture in the j3m material file. This also adds support for double and single quoted paths as well as being able to set WrapMode for a specific WrapAxis. This resolves #295
10 years ago
David Bernard
fe72dd67dd
add TechniqueDef.noRender
10 years ago
Riccardo Balbo
7fa735fdb1
Remove root slash from the asset path
10 years ago
Kirill Vainer
0178029782
Example to show character model cloning / export
10 years ago
Kirill Vainer
b4baaadc79
JmeExporter: remove useless return
10 years ago
Kirill Vainer
10cde0a4b2
DXTFlipper: fix incorrect flipping of DXT5 images of size 2x2
...
For DXT1/3 images, the format for color and alpha blocks is the same,
so the bug would not appear. For DXT5 images, the alpha block is formatted
differently. The issue is that it flips the color block and then the alpha
block for 2x2 images, but the correct order is alpha block then color block.
10 years ago
Kirill Vainer
aba48495e1
J3MLoader: enforce MaterialKey requirements based on extension
10 years ago
shadowislord
fdf050c13d
J3MLoader: set texture name in addition to key when loading it
10 years ago
shadowislord
400c09a633
jme3-core: fix minor issues pointed in static analysis
10 years ago
shadowislord
a7765cfb63
com.jme3.asset.plugins: javadoc additions
10 years ago
michael
99d69d1d01
Fixed formatting thanks to EmpirePhoenix
10 years ago
michael
a59f017710
Removed two sysouts
10 years ago
michael
273ad711bf
Fixed Typo
10 years ago
michael
6983aff1f3
*Reapplied -LINEAR fix from 02322d04cc
10 years ago
michael
9e74c4e2bb
*reverted J3MLoader
10 years ago
shadowislord
550255b1d5
HttpZipLocator: fix unsupported exception on HTTPS URLs
10 years ago
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
10 years ago
michael
1ad8ff154c
Fixed uploading of all shader stages
10 years ago
michael
0d3292c83a
Refactoring of the shader system to allow addition of new shaderstages
10 years ago
Nehon
3acd6b2f33
Fixed the error message when types/swizzles in a variable mapping do not match
10 years ago
shadowislord
629c007cd4
DDSLoader: fix loading 16-bit images (as exported by PVRTexTool)
10 years ago
shadowislord
8ae04fd1fb
PlaceholderAssets: when assets fail to load, try to make the error appear visually
10 years ago
shadowislord
43fcd01114
Remove useless check against material technique name being called 'FixedFunc'
10 years ago
shadowislord
ad2a5366e1
WAVLoader now implements SeekableStream (but only if seeking to time = 0)
10 years ago
shadowislord
4717e7006f
Goodbye, OpenGL1
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
10 years ago
shadowislord
b7ae8e6e3a
Fix issue #127
10 years ago
shadowislord
be3a6c03b2
* Put comment markers around imported library contents when loading shader
11 years ago
shadowislord
65d83b37f0
* Deprecated LTC and LATC texture formats, OpenGL3+ does not support them. Instead RGTC / BC5 must be used.
...
* Add missing license to InstancedGeometry.
* Minor cosmetic / doc changes.
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
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
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
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
PSp..om
ed77d40c63
First pass at copying the source files with history into the
...
new gradle-based structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago