Pure front-end panoramic image engine TPano

Pure front-end panoramic image engine TPano

2022-09-02 0 225
Resource Number 37474 Last Updated 2025-02-24
¥ 0USD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

Recommended in this issue is a front-end panoramic image engine – TPano.

TPano is a panoramic image engine built using pure front-end code, based on Three.js, can cooperate with any language back-end projects, supporting jpg, png and other formats of images.

Through common 3D cameras and smart phone apps, we can get panoramic photos or videos containing pixels of all-directional viewing angles. TPano maps the unfolded panoramic pictures and video screens to the surface of a virtual sphere, places a perspective camera in the center of the sphere, and realizes the free control of viewing angles through the perspective camera output images, combined with some conversion control algorithms based on longitude and latitude and Euler Angle.

82b6333f12e8409abe174554fd1b4ed5noop.image_

TPano features:

The project is open source at Gitee and uses the MIT open Source protocol
The project shields the complex 3D scene construction work as much as possible, and uses objectification oriented programming concepts to simplify the difficulty of integration applications
The generated panoramic scene can accept mouse interaction, and also supports mobile touch screen interaction and direction sensor control
Depending on the natural cross-platform capabilities of the WEB, this project can also be cross-platform, and provides a rich API for screen size adaptation and control

ede21f56b4294880ad7e1681c10bafafnoop.image_

Access method:

Standard access

<!DOCTYPE html><html><head>    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">    <title>TPano 全景照片查看器</title>    <style>        * {            margin: 0;        }        #pano {            width: 100vw;            height: 100vh;        }    </style></head><body id="pano"></body><!--引入three.js--><script src="./three.js"></script><script src="../dist/tpano.js"></script><script>var tpano = new TPano({    el:'pano',//照片查看器根节点dom的id    photo:[        //全景照片数组,每项为一张照片        {            url:'1.jpg',            name:'室内'        },        {            url:'2.jfif',            name:'建筑'        }    ]})</script></html>

Fast access

<!DOCTYPE html><html><head>    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">    <title>TPano 全景照片查看器</title>    <style>        * {            margin: 0;        }        #tp{            width: 200px;            height: 140px;            display: block;        }    </style></head><body id="pano">    <!--直接通过标签tpano引入全景照片1.jpg,无需做其他任何处理,就像在使用img标签一样,        但要注意设置标签的css,给出宽度和高度,tpano依照此高度自动生成照片大小--><tpano id="tp" src="./1.jpg"></tpano></body><!--引入three.js--><script src="./three.js"></script><script src="../dist/tpano.js"></script><script src="../dist/fastloading.js"></script></html>

preview:

dac3851cf0fd483492332553ac691adenoop.image_

fb44eae91f6a45ee81d930ed9adedad1noop.image_

You can read more on your own.

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free source code Pure front-end panoramic image engine TPano https://ictcoder.com/kyym/pure-front-end-panoramic-image-engine-tpano.html

Share free open-source source code

Q&A
  • 1, automatic: after taking the photo, click the (download) link to download; 2. Manual: After taking the photo, contact the seller to issue it or contact the official to find the developer to ship.
View details
  • 1, the default transaction cycle of the source code: manual delivery of goods for 1-3 days, and the user payment amount will enter the platform guarantee until the completion of the transaction or 3-7 days can be issued, in case of disputes indefinitely extend the collection amount until the dispute is resolved or refunded!
View details
  • 1. Heptalon will permanently archive the process of trading between the two parties and the snapshots of the traded goods to ensure that the transaction is true, effective and safe! 2, Seven PAWS can not guarantee such as "permanent package update", "permanent technical support" and other similar transactions after the merchant commitment, please identify the buyer; 3, in the source code at the same time there is a website demonstration and picture demonstration, and the site is inconsistent with the diagram, the default according to the diagram as the dispute evaluation basis (except for special statements or agreement); 4, in the absence of "no legitimate basis for refund", the commodity written "once sold, no support for refund" and other similar statements, shall be deemed invalid; 5, before the shooting, the transaction content agreed by the two parties on QQ can also be the basis for dispute judgment (agreement and description of the conflict, the agreement shall prevail); 6, because the chat record can be used as the basis for dispute judgment, so when the two sides contact, only communicate with the other party on the QQ and mobile phone number left on the systemhere, in case the other party does not recognize self-commitment. 7, although the probability of disputes is very small, but be sure to retain such important information as chat records, mobile phone messages, etc., in case of disputes, it is convenient for seven PAWS to intervene in rapid processing.
View details
  • 1. As a third-party intermediary platform, Qichou protects the security of the transaction and the rights and interests of both buyers and sellers according to the transaction contract (commodity description, content agreed before the transaction); 2, non-platform online trading projects, any consequences have nothing to do with mutual site; No matter the seller for any reason to require offline transactions, please contact the management report.
View details

Related Article

make a comment
No comments available at the moment
Official customer service team

To solve your worries - 24 hours online professional service