Nehon
8f43da58ae
Better spotlight vs frustum intersection check and with a testcase
10 years ago
David Bernard
8c10173775
enhance TestMultiRenderTarget with small animation of light (rotating around 0,0,0 in 3s)
10 years ago
David Bernard
8ac5e70bd9
fix: examples/TestMultiRenderTarget.java to display tank (deferred) + encoded normal instead of black screen.
10 years ago
shadowislord
b39772c401
Fix JDK6 compliance
...
syntax error in TestInstanceNode
10 years ago
Normen Hansen
940fe70803
- fix dist task in jme3-examples to not run at config time
10 years ago
shadowislord
13f2fbd244
Remove a weird line of code from TestHoveringTank
10 years ago
shadowislord
7cae92dc67
Fix rendering glitch in TestTransparentShadow (missing tangents for normal mapping)
10 years ago
shadowislord
b067aaed0e
Delete libbulletjme64.so from samples folder (why is it there anyway?)
10 years ago
shadowislord
4599c4cc9d
Fix crash in TestInstanceNode (do you guys even test??)
10 years ago
shadowislord
09aae64e8b
TestInconsistentCompareDetection: Make sure we have more than 128 geometries in our scene graph to actually trigger the compare error
10 years ago
shadowislord
5f4428e640
Add test to trigger the inconsistent compare function detection in the sorting algorithm.
...
It modifies a texture on a material from another thread, which changes the material's sort ID,
thus causing the OpaqueComparator's compare method to violate the compare method contract.
10 years ago
neph1
8700871e76
Fixed some merge issues (now it's working properly)
...
Added test case for IK
11 years ago
shadowislord
fa41da59a4
* Fix outstanding cloning related issues in InstancedNode
...
* Throw exception if the geometry's material does not support instancing
* Test the cloning function in TestInstanceNode
11 years ago
shadowislord
564a08672f
* Remove InstancedNode.setCullHint(CullHint.Never) from TestInstancedNode example as it is not neccessary
11 years ago
shadowislord
eee43b470e
* Added InstancedNode: easy to use instancing with similar API to BatchNode. The underlying scene graph will be automatically optimized so instancing is used as much as possible, thus reducing number of draw calls and improving performance. Unlike BatchNode, it does not copy the geometry's mesh around, but only its transform. In order for it to work, it requires the Renderer to support the GeometryInstancing capability.
...
* Replaced existing instancing test with TestInstanceNode, which demostrates how to use the new InstancedNode by changing the transform, mesh, and material of every instance periodically.
* The lower-level InstancedGeometry API rewritten: Users don't need to manage the number of instances they have and their indices. Instead, they can use addInstance() and removeInstance() to add and remove instances as desired. Unlike InstancedNode, InstancedGeometry requires all Geometries to have the same mesh and material, but they can have different transforms.
* Instancing.glsllib now requires the InstanceData to have world transforms instead of world view transforms. As a consequence, users of instancing must specify in the material the world parameters ViewProjectionMatrix and ViewMatrix instead of ProjectionMatrix.
11 years ago
shadowislord
b090305865
* Make sure we load the auxilary jinput library as well (required on windows)
11 years ago
shadowislord
fd63fcedb9
* Don't use native bullet specific method in TestNativeLoader - fix compile error
11 years ago
Nehon
d8bbb4e9f9
Fixed an issue where you couldn't chain several shadow renderers. Thanks to Perjin for narrowing down the issue.
...
Now a shadow renderer properly cleanup the parameters set to a material when the post shadow pass in done
11 years ago
shadowislord
e637cd0b7a
* NativeLibraryLoader: More hacks .. Use the proper loading method based on the library name.
...
* TestNativeLoader: More concrete test that uses a custom natives folder and ensures all natives load properly and prints their versions.
11 years ago
shadowislord
2e796444a5
* Enable mipmapping in TestTextureArray
11 years ago
shadowislord
36483c4b49
* Avoid conflicts when extracting both 64-bit and 32-bit libraries to the same folder .. This is mainly for the bulletjme library which doesn't specify "64" at the end of the filename
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
52cd458601
* Added two missing 32-bit image formats to TestImageRaster: ARGB8 and BGRA8
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
7cdc473e14
* Fix broken generation of classpath for jMonkeyEngine3.jar
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
d694229335
* Make tone-mapping white-point adjustment logarithmic in the sample to have less sudden exposure transitions
11 years ago
shadowislord
c01cbdd5e0
* Add option to toggle instancing either on or off to see the difference (if any)
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
3838216207
* Added tone mapping filter that does not rely on average luminance (unlike HDRProcessor).
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
95f215c180
Adjusted TestPostWater to gamma correction
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
sgold@sonic.net
8d2b7a53e6
fix race in TestAwtPanels as discussed at http://hub.jmonkeyengine.org/forum/topic/fix-for-race-in-testawtpanels
11 years ago
Mayank Sharma
4c320f686d
issue#85 short approach - setDefaultCloseOperation
11 years ago
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.
11 years ago
Normen Hansen
54c6aa5afc
fix checks for SDK and native builds
11 years ago
Normen Hansen
d4546223fc
- include SDK in gradle build
...
- add option to build natives / SDK to gradle properties
- update SDK properties file with jme version
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
sgold
5b530da4d3
remove TestOctree.java 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@11091 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
nor..67
a845665cca
gradle-restructure:
...
- extend jme3-examples "dist" target (WIP)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10984 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