archilogic-com / 3dio-js

JavaScript toolkit for interior apps
https://3d.io
MIT License
273 stars 73 forks source link

camera-bookmark import ignores FOV #98

Open frederic-schwarz opened 6 years ago

frederic-schwarz commented 6 years ago

using io3d.scene.getAframeElements() gives you tour-waypoints but some data is missing:

current tour-waypoint entity

<a-entity tour-waypoint="Bedroom" io3d-uuid="4d6fec29-1467-40be-8f91-5435f0317072" position="-9.65 8 2.13" rotation="-59.15 594.75 0"></a-entity>

possible adaptation:

<a-entity tour-waypoint="name:Bedroom; fov:50; mode:bird" io3d-uuid="4d6fec29-1467-40be-8f91-5435f0317072" position="-9.65 8 2.13" rotation="-59.15 594.75 0"></a-entity>

this needs adaptation in

what do you think @AVGP ?