oscarmarinmiro / aframe-immersive-video

A one-liner component for viewing Stereo/Mono 360/180 videos in WebVR, including a control bar for it
https://oscarmarinmiro.github.io/aframe-immersive-video/
MIT License
43 stars 15 forks source link

FOV editing? #10

Open Diego-Tab opened 3 years ago

Diego-Tab commented 3 years ago

Is it possible to edit the files to change the fov (field of view) degrees? Thank you!

Diego-Tab commented 3 years ago

I finally found a solution. In case someone else needs it, find this line in aframe.master.min.js :

module.exports.Component=registerComponent("camera",{schema:{active:{default:!0},far:{default:1e4},fov:{default:80,min:0},near:{default:.005,min:0},spectator:{default:!1},zoom:{default:1,min:0}}

and try changing default:80 to some other number.