Hello All,
I am Abhishek Potnis. I am working on a GSoC 2016 project for Liquid Galaxy. The project is titled as ‘Enabling Cesium for Liquid Galaxy’. My aim is to enable Cesium for use across multiple displays with the camera and content being synchronized across the displays. I also intend to work on implementing the Space Navigation Camera Control for Cesium.
GSoC Project Description: https://summerofcode.withgoogle.com/projects/#6055698639093760
Github Repository: https://github.com/abhishekvp/cesium-lg
Blog Post: https://abhishekvp.wordpress.com/2016/04/27/google-summer-of-code-2016-with-liquid-galaxy/
I have so far achieved camera cloning between a master and slave display. I am using web sockets for communication. I have been struggling to get the camera rotation right for quite sometime now. I intend to have the camera rotated - specifically the heading. So for a 3 display system, the center display looks straight, the display on the left has its camera rotated to look to the left and likewise for the right display. I first[1] tried out an approach that had been used with Google Earth before[2], but the desired rotation is not achieved with that approach.
I have been experimenting[3] with using |lookRight()| but I would want a variable angle depending on the extent and height of the camera. I would be very grateful, if someone here could point me in the right direction to achieve the desired camera rotation.
Thanks.
[1] https://github.com/abhishekvp/cesium-lg/blob/master/Apps/Slave-Client2.html#L42
[2] https://github.com/joshhendo/WonderamaQuickStart/blob/master/src/sample/slave.html
[3] https://github.com/abhishekvp/cesium-lg/blob/master/Apps/Slave-Client1.html
Regards,
Abhishek Potnis,
Graduate Student,
CSRE, Indian Institute of Technology Bombay