简易全景图

这是 发现很简单的 也很好上手的 全景图插件three.min.js photo-sphere-viewer.min.js需要一个容器<div id=“container”></div>

···var div = document.getElementById(‘container’);

var PSV = new PhotoSphereViewer({
	// Path to the panorama
	panorama:'sun.jpg',

	// Container
	container: div,

	// Deactivate the animation
	time_anim: false,

	// Display the navigation bar
	navbar: false,

	// Resize the panorama
	size: {
		width: '100%',
		height:'500px'
	},
});

···这个很容易 做到 但是 目前还没有找到 如何 在上边加箭头 适合简单的 全景图开发

这个是 [http://720yun.com/t/db126wa69en?scene_id=45446]复杂全景图开发成都大学全景图

猜你喜欢

转载自blog.csdn.net/weixin_42382914/article/details/80568566