Open AntoninMazoyer opened 7 years ago
AntoninMazoyer,
I haven't experimented with these controls, but there shouldn't be any reason why you couldn't drop the controls library into the folder that the plugin generates and then call it in the HTML and qgis2threejs .js file. It would be the same implementation as if you were referencing controls for any other three.js project.
You might want to look back in the three.js archives and pull the controls library from an older version of three.js. The current version of qgis2threejs uses r75(?) and some of the variables in the controls library have changed since that release.
-DigDigDig
Get Outlook for iOShttps://aka.ms/o0ukef
From: AntoninMazoyer notifications@github.com<mailto:notifications@github.com> Sent: Wednesday, June 21, 2017 5:48 AM Subject: [minorua/Qgis2threejs] Add the option of FirstPersonControl (#102) To: minorua/Qgis2threejs qgis2threejs@noreply.github.com<mailto:qgis2threejs@noreply.github.com> Cc: Subscribed subscribed@noreply.github.com<mailto:subscribed@noreply.github.com>
Hi,
The control "FirstPersonControl" in the threejs library allows to flight in the scene like a plane. I thinks it would be nice ta add this control in the plugin if it's possible. Just a sugestion.
Regards,
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/minorua/Qgis2threejs/issues/102, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARGZeDD5wMAI2IoZ3HyaWE43EG0JMskWks5sGObqgaJpZM4OAt3k.
Thanks for the quick answer and for your help. I had already try to modify the Html and add FisrtPersonCntrols.js to use the control buit it hadn't worked. It seems that the version of OrbitControls.js of Qgis2threejs differ from the basic version (include with r75)
Hi,
The control "FirstPersonControl" in the threejs library allows to flight in the scene like a plane. I thinks it would be nice ta add this control in the plugin if it's possible. Just a sugestion.
Regards,