Search found 19 matches

by aberthet
Thu Oct 26, 2017 8:12 am
Forum: General discussion
Topic: few questions
Replies: 4
Views: 2199

Re: few questions

Oh sorry I understood that you wanted to remove the plugin. You can add the following line in the _deviceReadyHandler function of the gyroscope plugin : this._gyroscope.enabled = false; There is no FORGE method to hide hotspots, but you can hide the material (the interaction will still be here thoug...
by aberthet
Wed Oct 25, 2017 7:50 am
Forum: General discussion
Topic: few questions
Replies: 4
Views: 2199

Re: few questions

Hi Stefanie, - is it possible to set the gyro button to be disable by default? Yes, just remove the plugin from your story or disable the instance, using the setting enabled (true by default) https://releases.forgejs.org/latest/doc/json/#plugins/plugin-instance - If I am specifying default camera se...
by aberthet
Wed Oct 25, 2017 7:39 am
Forum: General discussion
Topic: clear dom hotspots between scenes?
Replies: 7
Views: 2880

Re: clear dom hotspots between scenes?

Yes indeed, the issue is fixed in the next release, which should happen within a week. Stay tuned !
by aberthet
Mon Oct 16, 2017 12:34 pm
Forum: General discussion
Topic: WebVr plugin not displaying
Replies: 4
Views: 2895

Re: WebVr plugin not displaying

Hi abishek, Unfortunately, the webvr-polyfill branch is not stable at all, and shouldn't be used. The polyfill shouldn't be working at all, so it isn't surprising. We're truly sorry about that, we want to resolve this issue but we are currently lacking resources and time to do so. Hopefully it will ...
by aberthet
Fri Sep 15, 2017 3:43 pm
Forum: Bug report
Topic: Hotspots DOM with multiple scenes
Replies: 1
Views: 756

Re: Hotspots DOM with multiple scenes

Hi Nicat,

This is a known issue that we have fixed in the current development branch (see here https://github.com/gopro/forgejs/issues/122)

The fix will be part of the next release, but in the meantime you can build your own up-to-date version of ForgeJS from the github repo.

Cheers

Adrien
by aberthet
Mon Sep 04, 2017 9:12 am
Forum: General discussion
Topic: Get angle value on OncameraChange Stop
Replies: 5
Views: 2721

Re: Get angle value on OncameraChange Stop

Weird, if I try a simple case like that:

Code: Select all

viewer.camera.animation.onComplete.addOnce(function(){
    console.log(viewer.camera.yaw);
}, this);
viewer.camera.lookAt(120, 20, 0, 90, 1000);


It works, and output "120". Can you try this simple case ?
by aberthet
Fri Sep 01, 2017 12:24 pm
Forum: General discussion
Topic: Get angle value on OncameraChange Stop
Replies: 5
Views: 2721

Re: Get angle value on OncameraChange Stop

You can have something like this: viewer.camera.animation.onComplete.add(function(){ $scope.source_angle = viewer.camera.yaw; console.log("central-angle12" , $scope.source_angle); }, this); viewer.camera.lookAt(yaw, pitch, roll, fov, durationMS); The onComplete is a classic EventDispatcher...
by aberthet
Fri Sep 01, 2017 6:58 am
Forum: General discussion
Topic: Get angle value on OncameraChange Stop
Replies: 5
Views: 2721

Re: Get angle value on OncameraChange Stop

Hi, We can't really track the stop of a movement from the camera, as we have no way to tell if the user movement has stopped its movement. I see two solutions you could take a look at: ⋅  heavy solution: store the value at each frame and compare it with the next one, until nothing change &...
by aberthet
Fri Aug 25, 2017 7:20 am
Forum: General discussion
Topic: WebVr plugin not displaying
Replies: 4
Views: 2895

Re: WebVr plugin not displaying

Hi, Which phone are you using ? If WebVR is not available on your phone, the plugin won't get displayed. We are working on integrating a WebVR polyfill, to obtain a behavior like on Google Cardboard. From your other posts, I think you're using an iPhone, so it is why the plugin doesn't show, as iOS ...
by aberthet
Tue May 02, 2017 3:31 pm
Forum: General discussion
Topic: Hotspots pic
Replies: 7
Views: 7254

Re: Hotspots pic

You may want to read the tutorials : http://forgejs.org/tutorials

Go to advanced search