shadowislord
ad7fdb6fab
* Deprecate texture wrap modes not supported in OpenGL 3
...
* Make sure engine is not using them anywhere
11 years ago
shadowislord
c925104f5e
* Ensure the statistics properly represent number of objects / triangles / vertices rendered when using instancing
11 years ago
shadowislord
948fdb21eb
* Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit.
...
* Add new but currently unused native extraction engine which supports user-specified native libraries as well as deferred extraction of libraries.
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
Phr00t
dd042344d8
reduced code duplication
11 years ago
Phr00t
0f76dc2cbd
Ability to emit a certain number of particles
11 years ago
shadowislord
76147fc5f7
* Throw exception if the spot light computed cosine angle is not valid
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
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
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
97ff9c2949
* Allow MultiSample.glsllib to be used on GLSL shaders versions 1.00 - 1.40 (otherwise a syntax error occurs)
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
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
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
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