Stephen Gold
|
3122e8044d
|
correct spelling errors in comments
|
6 years ago |
Ali-RS
|
a17f0ad73b
|
Fix an issue with Skeleton deserializing
Fix issue #371
|
6 years ago |
Stephen Gold
|
ba37746c44
|
address issue #816: BoneTrack.setKeyframes() throws NPE in assertions
|
6 years ago |
Stephen Gold
|
66e602c825
|
correct more typographical errors in comments
|
6 years ago |
Stephen Gold
|
5dc585f5c4
|
correct more typographical errors in comments
|
6 years ago |
Stephen Gold
|
e38d70e7be
|
correct typographical errors in comments
|
6 years ago |
Stephen Gold
|
e11c5da483
|
correct typographic errors in comments
|
6 years ago |
Nehon
|
69ca84d377
|
Properly cleanup the DetailedProfilerState when it's detached
|
6 years ago |
Stephen Gold
|
ee58677ed9
|
resolve deprecation warnings in jme3-niftygui
|
6 years ago |
mitm001
|
b2606d396e
|
Added link to the wiki readme.
|
6 years ago |
Stephen Gold
|
8b70b64505
|
comment corrections: mostly spelling and grammar
|
6 years ago |
Stephen Gold
|
36e09ee456
|
comment corrections in jme3-vr: mostly spelling and grammar
|
6 years ago |
Stephen Gold
|
739831142e
|
more comment corrections in jme3-core: mostly spelling and grammar
|
6 years ago |
Stephen Gold
|
81ba0d7249
|
comment corrections in jme3-core: mostly spelling and grammar
|
6 years ago |
Yan
|
66a46920b9
|
Fix typo in logger
Fix typo in logger.
Change "WeakRefAssetCache" to "WeakRefCloneAssetCache"
|
6 years ago |
Stephen Gold
|
0090e3e279
|
copy YML from master in the hope of restarting CI
|
6 years ago |
Stephen Gold
|
5618b52c24
|
trivial change to test continuous integration
|
6 years ago |
Nehon
|
631794f7d6
|
Fixes mat param override reading null integenr params as 0
|
7 years ago |
Nehon
|
f85624a20a
|
Allows build for 3.2.x
|
7 years ago |
Yan
|
01d0725a78
|
[taken]Fix issue #764
Fix infinity loop in EmitterSphereShape. issue #764
I test on both method:
public void getRandomPoint1(Vector3f store) {
float l = FastMath.pow(FastMath.nextRandomFloat(), 1f / 3f);
float u = FastMath.nextRandomFloat() * 2f - 1f;
float o = FastMath.nextRandomFloat() * FastMath.TWO_PI;
store.z = l * u;
u = 1f / FastMath.fastInvSqrt(1f - u * u);
store.x = l * u * FastMath.cos(o);
store.y = l * u * FastMath.sin(o);
store.multLocal(radius);
store.addLocal(center);
}
public void getRandomPoint2(Vector3f store) {
do {
store.x = (FastMath.nextRandomFloat() * 2f - 1f);
store.y = (FastMath.nextRandomFloat() * 2f - 1f);
store.z = (FastMath.nextRandomFloat() * 2f - 1f);
} while (store.lengthSquared() > 1);
store.multLocal(radius);
store.addLocal(center);
}
// Test
public void testGetRandomPoint() {
int n = 1000000;
long start = System.nanoTime();
for (int i = 0; i < n; i++) {
getRandomPoint1(store);
}
long time1 = System.nanoTime() - start;
start = System.nanoTime();
for (int i = 0; i < n; i++) {
getRandomPoint2(store);
}
long time2 = System.nanoTime() - start;
System.out.println("t1:" + time1);
System.out.println("t2:" + time2);
System.out.println("t1/t2:" + (float) time1 / time2);
}
Result:
t1:352272158
t2:94436324
t1/t2:3.7302613
Method2 seems nearly 4 times faster than method1.
|
7 years ago |
Yan
|
5a471f7ef7
|
[taken]Fix issue #783
Fix issue #783
|
7 years ago |
demoth
|
8ef1f2ef3b
|
Fix #694 Reduce the logging level for OpenCLObjectManager
|
7 years ago |
MeFisto94
|
5aef90da47
|
Fix Shadow Filters not having a default constructor and hence not being deserializable.
|
7 years ago |
Domenic Cassisi
|
d36bbcf26c
|
Adds missing key code for Print Screen (#682) (#806)
* Adds missing key code for Print Screen and update javadoc (#682)
|
7 years ago |
ThoCed
|
b2717e19ef
|
Ogre importer ignores receive_shadows issue #647
|
7 years ago |
Stephen Gold
|
8f1ee0ec9a
|
initialize InputManager.cursorPos to fix issue #792 for LWJGL2
|
7 years ago |
Ali-RS
|
e87eeb20a5
|
Fix javadoc for Quaternion.toAngles() method (#802)
* Fix javadoc for Quaternion toAngles and fromAngles
JME treats Z as the main direction or look direction so x is pitch, y is yaw, and z is roll,
|
7 years ago |
Domenic
|
d72e5ea39f
|
Fixed typo in assert described in issue #538
|
7 years ago |
Stephen Gold
|
ad2cb1a469
|
correct javadoc typo in AppSettings.java
|
7 years ago |
Nehon
|
d0ae1a69a8
|
Fixes issues in the gltf loader when there are several skins
|
7 years ago |
Nehon
|
95d33e6c4b
|
Allows build of 3.2 branch
|
7 years ago |
Nehon
|
12004217d1
|
Ao map now only attenuates indirect lighting in PBR shader
|
7 years ago |
Rémy Bouquet
|
a6b86ad24d
|
Fixes Lightmap handling in PBR shader
|
7 years ago |
Stephen Gold
|
950721f926
|
Uniform.java: avoid ClassCastException when overriding Vector4 params
|
7 years ago |
Stephen Gold
|
edba4b9844
|
test override of ColorRGBA mat param with a Vector4f or Quaternion value
|
7 years ago |
Nehon
|
0d8b86b66f
|
Add default config for glb loader
|
7 years ago |
MeFisto94
|
11a647a3d4
|
Blender TextureHelper: Make use of ImageLoader's new loadTexture capability
|
7 years ago |
MeFisto94
|
3cd96b2053
|
Blender ImageLoader: Support Loading of HDR Files and many other
|
7 years ago |
Nehon
|
fc8135412f
|
Fixes normal lighting in world space for PBR
|
7 years ago |
Nehon
|
435f2d4d05
|
Prevents NaN time when animation length is 0 (case of a pose)
|
7 years ago |
Stephen Gold
|
247d5d9324
|
package protect the MovingAverage class instead of deprecating it
|
7 years ago |
Stephen Gold
|
f27f568556
|
remove deprecated shadow renderers from 3 physics tests
|
7 years ago |
Stephen Gold
|
99f4f20c75
|
remove deprecated BasicShadowRenderer from TestFancyCar
|
7 years ago |
Stephen Gold
|
990791b21c
|
remove setFlushQueues(), which is deprecated and has no effect
|
7 years ago |
Stephen Gold
|
d3f0c2002a
|
in examples, replace deprecated methods and classes
|
7 years ago |
Stephen Gold
|
e536699d9e
|
remove 3 examples whose purpose was to test deprecated classes
|
7 years ago |
Nehon
|
8a8d381c0e
|
glTF: Fixes models orientations issues
|
7 years ago |
Nehon
|
a741dc66f4
|
glTF: fixed crashes with some models structure
|
7 years ago |
Nehon
|
1b2cc6a63b
|
SkeletonControl now falls back to software skinning when there are more than 255 bones instead of crashing when the shader compiles.
|
7 years ago |
Nehon
|
a59b9e6a94
|
glTF: Skip tracks that belong to a different skin
|
7 years ago |