6474 Commits

Author SHA1 Message Date
Nehon
12004217d1 Ao map now only attenuates indirect lighting in PBR shader 2018-01-04 16:53:48 +01:00
Rémy Bouquet
a6b86ad24d Fixes Lightmap handling in PBR shader 2018-01-01 14:12:00 +01:00
Stephen Gold
950721f926 Uniform.java: avoid ClassCastException when overriding Vector4 params 2017-12-27 20:51:40 +01:00
Stephen Gold
edba4b9844 test override of ColorRGBA mat param with a Vector4f or Quaternion value 2017-12-27 20:51:40 +01:00
Nehon
0d8b86b66f Add default config for glb loader 2017-12-24 22:16:18 +01:00
MeFisto94
11a647a3d4 Blender TextureHelper: Make use of ImageLoader's new loadTexture capability 2017-12-20 23:28:17 +01:00
MeFisto94
3cd96b2053 Blender ImageLoader: Support Loading of HDR Files and many other 2017-12-20 23:28:17 +01:00
Nehon
fc8135412f Fixes normal lighting in world space for PBR 2017-12-18 17:43:57 +01:00
Nehon
435f2d4d05 Prevents NaN time when animation length is 0 (case of a pose) 2017-12-17 18:46:46 +01:00
Stephen Gold
247d5d9324 package protect the MovingAverage class instead of deprecating it 2017-12-17 15:17:10 +01:00
Stephen Gold
f27f568556 remove deprecated shadow renderers from 3 physics tests 2017-12-17 15:17:10 +01:00
Stephen Gold
99f4f20c75 remove deprecated BasicShadowRenderer from TestFancyCar 2017-12-17 15:17:10 +01:00
Stephen Gold
990791b21c remove setFlushQueues(), which is deprecated and has no effect 2017-12-17 15:17:10 +01:00
Stephen Gold
d3f0c2002a in examples, replace deprecated methods and classes 2017-12-17 15:17:10 +01:00
Stephen Gold
e536699d9e remove 3 examples whose purpose was to test deprecated classes 2017-12-17 15:17:10 +01:00
Nehon
8a8d381c0e glTF: Fixes models orientations issues 2017-12-10 22:50:05 +01:00
Nehon
a741dc66f4 glTF: fixed crashes with some models structure 2017-12-10 20:12:50 +01:00
Nehon
1b2cc6a63b SkeletonControl now falls back to software skinning when there are more than 255 bones instead of crashing when the shader compiles. 2017-12-10 19:56:32 +01:00
Nehon
a59b9e6a94 glTF: Skip tracks that belong to a different skin 2017-12-10 10:42:24 +01:00
Nehon
5dbbaf0f06 glTF: Fixes additional issues with bones transforms 2017-12-09 16:35:37 +01:00
Toni Helenius
09f4ae4832 Animated cursor support for LWJGL 3 (#785)
* Simple animated cursor support

* Use primitive array and diamond constructor
2017-12-08 08:26:50 +01:00
Nehon
cfaaec5418 glTF: Fixes a crash when attached nodes contains skinned meshes 2017-12-07 19:01:44 +01:00
Nehon
806663990d glTF: fix animation defautl pose when no track is specified 2017-12-07 18:27:18 +01:00
Nehon
c971a4758f Fixes animation time sampling when source data contains duplicate keyframes 2017-12-06 20:35:13 +01:00
Nehon
f47f865d1d glTF: Fixed when a sub graph is ttached to a bone. Fixed a crash with animation resampling 2017-12-03 16:26:05 +01:00
Remy Van Doosselaer
683bf632f6 add an empty constructor to Grid mesh (#747)
* add an empty constructor with logical values for serialization purposes. eg. the BinaryImporter has issues instantiating the Grid mesh.

* empty constructor for serialization purposes
2017-12-02 13:29:10 +01:00
Stephen Gold
e0230a4b12 roll back PR 746 (worldTransform to identity) in master branch 2017-12-02 09:04:06 +01:00
Nehon
5c9ef17e73 Fixes ReflectionAllocator for android 2017-12-01 08:41:59 +01:00
David Bernard
676251b4d5 nifty-gui: upgrade from 1.4.1 to 1.4.2, available on maven central with the new “official” groupId: com.github.nifty-gui 2017-11-29 20:07:26 +01:00
Julien Seinturier
58a9211879 OpenVR 1.0.9 and Occulus Support (#779)
* Updated OpenVR implementation to 1.0.9

User can specify external OpenVR library to load with
openvr.library.path system property.
Usage: java -Dopenvr.library.name=my_path_to_library MyApp

Removed reference to OCCULUS VR and OpenVR from VRAppstate as this class
is generic and does not have to be linked to specific implementation.

VRMouseManager can be buggous using OSVR or Occulus VR. 

Refactored VR implementation packages in order to separate all available
implementation. Modifying or adding implementation should no more impact
other ones. 

Renamed some classes in order to be uniform
2017-11-29 17:14:04 +01:00
Nehon
96836de6e8 Prevents attachement nodes to have the NumBone parameter set 2017-11-28 08:48:09 +01:00
Kirill Vainer
9c0b977154 upgrade to gradle 4.1 2017-11-28 08:29:55 +01:00
Kirill Vainer
93001ec290 Fix #456 2017-11-28 08:26:41 +01:00
javasabr
06599d1eac fixed the constructor. 2017-11-28 08:25:41 +01:00
javasabr
69b7f7e655 fixed some changes. 2017-11-28 08:25:41 +01:00
javasabr
bc1584d239 made the method as public. 2017-11-28 08:25:41 +01:00
javasabr
15fd80d67f Some improvements with terrain LOD control:
1. Added the new option to use camera from render view port(default false)
2. Removed unnecessary synchronize blocks
3. Replaced each control own executor to global terrain executor
4. Removed unused things
5. Reduced memory allocations
6. Fixed the issue with cloning.
2017-11-28 08:25:41 +01:00
javasabr
6e07a214c6 Added a lit bit improvements for SafeArrayList:
1. improved comparing a SafeArrayList with another SafeArrayList.
2. improved the constructor by other collection
3. added a new constructor with init capacity.
2017-11-28 08:25:41 +01:00
javasabr
43b52cb77c Fixed finding definitions during material loading. 2017-11-27 11:37:37 +01:00
javasabr
a717a5e50f fixed NPE during loading shader node material without vertex nodes. 2017-11-27 08:42:34 +01:00
MeFisto94
9100cff4aa BlenderImporter: Don't silently fail when a packed file couldn't be loaded but use a Placeholder Texture 2017-11-27 08:27:57 +01:00
MeFisto94
1b76160410 Blender Importer: Don't crash when a packed texture couldn't be loaded 2017-11-27 08:27:57 +01:00
NemesisMate
5d729af1c4 Fixed a IndexOutOfBoundsException when residual weights are present 2017-11-27 08:23:13 +01:00
NemesisMate
893741701b Fixed #642
It was overriding the userDefinedUVCoords each time any one of them was used, so if different textures were depending on it, a new texCoord buffer was being created.
2017-11-27 08:22:30 +01:00
NemesisMate
a9cf6a348f Fix #646
Ignoring the alpha influencer (mapping) if the color one was found first.
2017-11-27 08:21:47 +01:00
NemesisMate
ab8ddd5ab5 Added missing var declaration. 2017-11-27 08:20:45 +01:00
NemesisMate
7aafb514bf Fixed #652
The issue was due to the texture blending with the object material. By default the material is gray (hence, a gray border). If the material color in blender is set to another color this is being the artifact's color. It can bee seen where the alpha in the texture isn't totally 0 or 1.
The current implementation weren't taking in account the material transparency when blending, so the fix is basically to use it just like blender does:
2017-11-27 08:20:45 +01:00
javasabr
24e467a871 fixed the problem with the reference to light, when we had incorrect reference to the light after loading/cloning spatial of this control. 2017-11-26 15:28:17 +01:00
javasabr
8674d8af4b fixed detecting varyings during loading shader nodes in the case, when we have several output parameters with the same name but with different name spaces. 2017-11-26 13:20:00 +01:00
Rickard Edén
74f2f703b3 Several changes to load cinematics
Cinematic:
	* Reattach CameraNode to scene
	* Set CameraNode's camera to be app's camera
AnimationEvent:
	* Save modelName
	* Use modelName and try to replace scene's model in initEvent
2017-11-26 13:19:33 +01:00