Nehon
a1a9486424
New anim system proper serialization
7 years ago
Nehon
a4267393e1
Adds a MigrationUtil to migrate from old system to new system
7 years ago
Nehon
74f9a648d1
Adds support for different joint model transform accumulation strategy
7 years ago
Nehon
c630ac2e59
better Armature debugger
7 years ago
Nehon
56065d0d70
Joint now uses a matrix for transform accumulation
7 years ago
Nehon
0e3ab8dd14
Draft of the new animation system
7 years ago
Nehon
4040a1e412
Adds an ArmatureDebugger
7 years ago
Nehon
3eb890da38
New Armature system
7 years ago
Nehon
6b69da3480
Allows build of 3.2 branch
7 years ago
Paul Speed
5e06457416
Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine
7 years ago
Paul Speed
0fb5eeddd7
Fixed an NPE in getNumElements() if the data field was null.
7 years ago
Paul Speed
0a6e8741cf
Added ColorRGBA.fromIntABGR() as reciprocal to asIntABGR().
7 years ago
Stephen Gold
531ff4edb1
correct 2 more typographical errors in comments
7 years ago
Paul Speed
81667f8f45
Fixed the DepthOfFieldFilter to properly get the near/far distance from JME
...
instead of having it hard-coded. Previous behavior caused focus to go all out
of whack if you ever changed the near/far plane (and even the default hard-coded
value was not the same as JME's default camera setup.)
While I was here, I made the unfocus threshold configurable and added a debug
toggle that will turn the 'unfocus' amount into grayscale color for better visualizing
where unfocusing is happening.
7 years ago
Nehon
b62fbdbf84
Fixes node version of unshaded material
7 years ago
Nehon
514e809326
Better handling of default values for shader nodes input
7 years ago
Nehon
3ab8466075
Cleans up to reduce the size of test data
7 years ago
Nehon
88a1edd37d
Refactors how pbr lighting methods work for easier switchng between PBR workflows
7 years ago
Nehon
47406058a6
Fixes condition parsing for shader nodes
7 years ago
Stephen Gold
f5e11d23b2
follow JME's conventional approach to cloning a SpatialTrack
7 years ago
Stephen Gold
3f473d1205
implement JmeCloneable to simplify BoneTrack cloning, set a good example
7 years ago
Stephen Gold
fc07b541b8
implement the JmeCloneable interface for CompactArray
7 years ago
empirephoenix
d300f74f26
Merge pull request #834 from pdid17/plane-constructor
...
Add a convenience constructor to Plane
7 years ago
oualid
edc81a8d3e
added class with material's constants.
7 years ago
pdid17
9dd46c9232
Add a convenicence constructor to Plane
7 years ago
Stephen Gold
0014ede4d7
make TerrainTestCollision more user-friendly
7 years ago
javasabr
555a348692
refactored and upgraed lwjgl3 module.
7 years ago
javasabr
28353cf747
refactored core interfaces.
7 years ago
Stephen Gold
f40ba25a56
correct more grammar/spelling errors in comments
7 years ago
Paul Speed
989a4a2420
Added a bitmap font layout test.
7 years ago
Stephen Gold
15285cc302
eliminate uses/overrides, deprecate implementations of cloneForSpatial()
7 years ago
Stephen Gold
cf7912720d
deprecate Control.cloneForSpatial()
7 years ago
Stephen Gold
826908b042
correct more grammar/spelling errors in comments
7 years ago
Nehon
b0371badaf
Bumps main version to 3.3
7 years ago
Stephen Gold
36847602a5
correct more typographical errors in comments
7 years ago
Stephen Gold
ce871d83b0
address issue #825 : SpatialTrack.clone() sets the trackSpatial to null
7 years ago
Stephen Gold
72a097682e
correct spelling errors in comments
7 years ago
Alexandr Brui
a8c7a85fc1
Implementing value mappings for shader nodes. ( #786 )
...
* implemented value mappings for shader nodes.
7 years ago
Ali-RS
7e66911901
Fix an issue with Skeleton deserializing
...
Fix issue #371
7 years ago
Stephen Gold
72698d7082
address issue #816 : BoneTrack.setKeyframes() throws NPE in assertions
7 years ago
Alexandr Brui
ec9bb24807
fixed 2 parameters of shadow renderer. ( #819 )
7 years ago
Stephen Gold
bc624f1f73
correct more typographical errors in comments
7 years ago
Stephen Gold
c87af1c2aa
correct more typographical errors in comments
7 years ago
Stephen Gold
32e3cb658f
correct typographical errors in comments
7 years ago
Stephen Gold
bc1af00a32
correct typographic errors in comments
7 years ago
Nehon
9dadc29986
Properly cleanup the DetailedProfilerState when it's detached
7 years ago
Stephen Gold
7ed644f442
add getters to shadow renderers/filters for number of maps and sizes
7 years ago
Yan
1b2c84da2e
[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
1f4365a1f4
[taken]Fix issue #783
...
Fix issue #783
7 years ago
Stephen Gold
9675d52745
resolve deprecation warnings in jme3-niftygui
7 years ago