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
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
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
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
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
Nehon
3a5aae5383
Fixed typo in previous commit's javadoc
11 years ago
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
11 years ago
Nehon
e898f26cf4
The ShaderNodes system now correctly handles swizzle of types like ivecn, uvecn, bvecn
11 years ago
Normen Hansen
539c2e65fc
- update JmeVersion automatically in build script
...
- change handling of version "tag" (stable, svn etc.)
11 years ago
Rena4ka
e250c47a08
Fixed constantly mipmap generation
...
Fixed bug when setting MinFilter with mipmapping after generating mipmaps causes jME to update image data every frame.
11 years ago
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
11 years ago
Nehon
ad99467cf2
Fixed issue where onAnimCycleDone was not called when playing an animation
11 years ago
Stephen
05c171e07e
fix the fix for issue #635 as discussed at http://hub.jmonkeyengine.org/forum/topic/proposed-fix-for-issue-635/page/2 and
...
http://hub.jmonkeyengine.org/forum/topic/wirebox-error
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
rem..om
bea196baa2
Started the reimplementation of the ChaseCamera as an AppState.
...
All basic features are there, smooth motion is still missing along with some very specific features that I'm tempted to just drop...
Also added a test case
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
240b41fdf6
FlyByCamera and ChaseCamera refactored all input mapping constants in a dedicated constant class CameraInput with proper doc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
d14f405e24
add a RenderManager method to remove a pre view by name ... in gradle-restructure
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
3f7395c3cd
Bugfix: issue #556 (StatsAppState.setFont() visibility) in gradle-restructure
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11096 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
5134c6052c
remove 7 octree optimization files from gradle-restructure branch
...
per discussion at http://hub.jmonkeyengine.org/forum/topic/proposed-removal-of-octree-and-related-files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11092 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
6f72c713d2
improve inline documentation in AbstractShadowRenderer.java ... gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11089 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
6e3ecfa232
Bugfix: issue #635 (center WireBox on BoundingBox) in gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11087 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e69d237b51
Committed a patch for ARGB8 and BGRA8 support
...
http://hub.jmonkeyengine.org/forum/topic/support-for-argb8-and-bgra8-textures/#260706
Also made the change for Jogl TextureUtil as it was missing from the patch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
50df56dc08
Bugfix: issue #622 (FlybyCamera zooms to negative FOV) in gradle-restructure
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
abe1aa36a6
Bugfix: Mesh.deepClone() sets wrong elementCount and vertCount ... in gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
528ed8d014
Bugfix: issue #613 (ClassCastException during read) in gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11077 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
cdd6d33f68
Bugfix: issue #615 (backward Dome normals) in gradle-restructure
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11075 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
sgold
8e88f1f6cf
Bugfix: issue #614 (name of SYSRQ key) in gradle-restructure branch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11073 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
b8714b0f10
LoopMode.Cycle is now properly supported by MotionEvent and CinematicEvent.
...
Used AnimChannel's clampWrapTime method for consistency, and refactored it in an AnimationUtils utility class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
655eb4c768
Used texture function instead of texture2D function for glsl1.5 shaders, as it's deprecated an seems to fail on some hardware
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
00eacd3b66
Applied abies patch so that the BatchNode.clone properly works.
...
see http://hub.jmonkeyengine.org/forum/topic/batchnode-broken-on-clone/#post-258248
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11031 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
cf389fc84c
Merged changes r11023,r11022,r11028,r11029 to graddle restructure
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
4e63056be9
SpotLightShadowRenderer, fixed an issue where a spot light would wast shadows behind itself
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e65d6ea44b
Merged commits r11009 to r11012 to gradle restructure branch.
...
Moved the workaround for GLSL100 into the renderers instead of having it when selecting a technique
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
af58df2fc0
Swich geometry sorting to tim sort.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
75e82e47f2
Fixed an issue in animControl where the onanimCycleDone was called too early.
...
see http://hub.jmonkeyengine.org/forum/topic/onanimcycledone-called-before-animation-completes/#post-257008
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
bace22528f
Fixed an issue with parallax mapping thanks to this thread http://hub.jmonkeyengine.org/forum/topic/parallax-mapping-fundamental-bug/#post-256898
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
d7189e6aa4
Removed the displayDebug method from the Filter and made a postFilter method for a more general use that is called right after a filter has been rendered.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10983 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
912f560f6e
Used the dipose method of native object to delete framebuffers and textures when the Fpp is cleaned up
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
db3f3c16d2
Filters have now a displayDebug method called adfter the filter has been rendered
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
9708a41f15
Moved the Desktop.cfg file to the resources folder
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
nor..67
511d045274
gradle:
...
import current build script to gradle-restructure
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10968 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
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