6478 Commits

Author SHA1 Message Date
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
Rickard Edén
ae97614c83 Trying to make Cinematic serialization work.
This way at least it doesn't crash: Removed anonymous inner class and made new class; CameraEvent
Added a bunch of default constructors for other related classes in the process.
2017-11-26 13:19:33 +01:00
Nehon
2120c9d334 Attempt to fix a direct memory deallocation crash on android 2017-11-26 10:35:33 +01:00
Nehon
87cfae6d7b Fixed InstancedGeometry shadow mode 2017-11-25 15:03:00 +01:00
empirephoenix
ede080ad71
Merge pull request #773 from stephengold/master
fix for issue #772: populate bullet debug mesh using unscaled shape
2017-11-23 08:50:16 +01:00
Stephen Gold
00ce009925 fix for issue #772: populate bullet debug mesh using unscaled shape 2017-11-22 22:46:31 -08:00
javasabr
9578b0410e extended some things from shader node system. 2017-11-12 19:01:24 +01:00
javasabr
839ffdd4f2 fixed the problem with saving/loading light probes. 2017-11-07 18:56:40 +01:00
Stephen Gold
47a46a8250
Merge pull request #763 from stephengold/master
fix issue #762 (WireSphere generates parallels with wrong radii)
2017-11-07 09:50:00 -08:00
Nehon
e4b6bf82a2 Better PBR env map generation 2017-11-05 23:52:22 +01:00
Stephen Gold
3328f2a3a7 fix issue #762 (WireSphere generates parallels with wrong radii) 2017-11-04 16:54:50 -07:00
Nehon
171007693b De duplicate imports when generating a shader from shader nodes 2017-10-28 18:16:17 +02:00
Rickard Edén
eb6ce4d4b4 Merge pull request #755 from ZNixian/master
Prevent double-updating the main scene in VR
2017-10-19 08:11:50 +02:00
Rickard Edén
29726ccb88 Merge pull request #757 from neph1/osvr_viewmanager
reverting orientation changes.
2017-10-15 11:59:00 +02:00
Rickard Edén
7c00561a3c reverting orientation changes. 2017-10-15 11:55:45 +02:00
Rickard Edén
e4ce70d0ba Merge pull request #756 from neph1/osvr_viewmanager
making VRViewManagerOSVR more similar to VRViewManagerOpenVR
2017-10-15 11:24:47 +02:00
Rickard Edén
30de635cdf Changing back orientation quat modification 2017-10-15 11:14:09 +02:00
Rickard Edén
ffed048472 making VRViewManagerOSVR more similar to VRViewManagerOpenVR 2017-10-15 10:22:24 +02:00
Campbell Suter
5273045ddf
Prevent double-updating the main scene in VR 2017-10-14 10:01:42 +13:00
javasabr
ec121f025f simplified version. 2017-10-13 08:08:55 +02:00
javasabr
b9e3788ffa fixed NPE when you try to remove an unused asset loader. 2017-10-13 08:08:55 +02:00
Rickard Edén
22bf08d9e7 Merge pull request #753 from neph1/master
added functionality to use front mounted vive camera. 2nd try. Camera is still unstable and can break down between runs. Solution is to restart SteamVR.
2017-10-10 08:40:54 +02:00
Rickard Edén
c460593000 Merge pull request #752 from ZNixian/master
Add Oculus Rift support
2017-10-10 07:47:40 +02:00
Rickard Edén
a65b0ba3af added functionality to use front mounted vive camera. 2nd try 2017-10-09 09:48:17 +02:00
Rickard Edén
2c044a29c5 Revert "added functionality to use front mounted vive camera"
This reverts commit ae7a134f1e8763bf25ecaf894ef3f2136288feda.
2017-10-09 09:26:16 +02:00
Rickard Edén
ae7a134f1e added functionality to use front mounted vive camera 2017-10-09 09:13:40 +02:00
Nehon
54061124a9 glTF: Fixed animation data interpolation, also renamed AnimData to TrackData to match JME paradigm. 2017-10-08 20:50:59 +02:00
Campbell Suter
42fd964a22
Un-break VR mouse support for OpenVR 2017-10-07 22:36:32 +13:00
Campbell Suter
63dd46b8a3
Switch OculusVR to logger (from system.println), commenting spree 2017-10-07 22:27:16 +13:00
Campbell Suter
0b37e56bd0
Add recentering support for Oculus Rift, improve associated Javadoc 2017-10-07 21:41:31 +13:00
Campbell Suter
2464dcd17a
Add OculusVRInput 2017-10-07 21:41:31 +13:00
Campbell Suter
c26316d81c
Add Oculus Touch mappings to VRInputType 2017-10-07 21:41:30 +13:00
Campbell Suter
fcccdd75a5
Don't create unnecessary FrameBuffer for OculusVR view manager 2017-10-07 21:41:30 +13:00
Campbell Suter
7b30f69c2a
Fix mirror window displaying blank for Oculus Rift 2017-10-07 21:41:29 +13:00
Campbell Suter
9747c556ff
OculusVR: Use correct coordinate space conversions, looking around now works 2017-10-07 21:41:29 +13:00
Campbell Suter
760277f61d
Make OculusVR.getHMDVectorPoseLeftEye return the HMD relative, not world relative, eye positions. 2017-10-07 21:41:29 +13:00
Campbell Suter
d7fc716065
Oculus: Initialize GUI to prevent startup crashes 2017-10-07 21:41:28 +13:00
Campbell Suter
b6b1687450
OculusVR: Fix eye-texture sizing issue, producing correct FOV 2017-10-07 21:41:28 +13:00
Campbell Suter
da52de7f7f
OculusVR: Get basic projections working (mostly), however, VR cameras still don't work properly 2017-10-07 21:41:27 +13:00
Campbell Suter
b1baa26ea1
Use two smaller textures for OculusVR, rather than a single large one 2017-10-07 21:41:27 +13:00
Campbell Suter
5df7f80c04
Clean up Oculus View Manager update() method 2017-10-07 21:41:27 +13:00
Campbell Suter
563c3eabff
OculusVR: Implement getType and rename eyePoses to hmdRelativeEyePoses 2017-10-07 21:41:26 +13:00
Campbell Suter
3082e63cfd
OculusVR: Implement further tracking methods 2017-10-07 21:41:26 +13:00
Campbell Suter
601ba1cfda
OculusVR: Add basic camera positioning 2017-10-07 21:41:25 +13:00
Campbell Suter
8a3336704a
Move rendering setup from Oculus VRViewManager to OculusVR, and implement cleanup 2017-10-07 21:41:25 +13:00
Campbell Suter
1c975918b1
OculusVR: Call GetPredictedDisplayTime to satasfy SubmitFrame 2017-10-07 21:41:25 +13:00
Campbell Suter
f0b4c13515
Use real, not stub, values in VRViewManagerOculus 2017-10-07 21:41:24 +13:00