[i使用Google Street View API开发VR游戏。但存在图像未对齐的问题。 附加图片 enter image description here
仅当google.inc制作图片时才会出现此问题 没问题,Google街景视图中的其他Pano 360图像 我尝试制作6张图片(前,后,上,下,左,右)并使用统一立方体贴图进行绑定
为什么只有google inc图片出现
我在这里编写了这段代码
string frontRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 0) + "&key=" + _key;
string rightRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 90) + "&key=" + _key;
string backRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 180) + "&key=" + _key;
string leftRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 270) + "&key=" + _key;
string upRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 0) + "&pitch=90" + "&key=" + _key;
string downRequest = _apiRoot + "size=" + _size + "x" + _size + "&location=" + _lat + "," + _long + "&fov=" + _fov + "&heading=" + (_heading + 0) + "&pitch=-90" + "&key=" + _key;