Comments (7)
你说的 size 很大具体是指多大呢,比如 8192 * 4096 这样的么?
from bspanoramaview.
我刚才试了一个是16378 * 3678,就是直接用相机全景拍一张就这样的
from bspanoramaview.
内存问题暂时无法解决,我调研了其它的全景图框架,比如谷歌的 gvr-kit,也存在内存暴增的问题,似乎无法解决。
而且这个内存增长是可以预期的,比如 4096 * 2048 分辨率的图片会增加 4096 * 2048 * 4 / 1024 / 1024 = 32M 的内存,似乎无法避免。
如果有更好的处理方式,欢迎指正
from bspanoramaview.
似乎这个不是 GLKit 默认支持的纹理格式,一般我们用鱼眼图或者天空盒。鱼眼图是 2:1 的比例,天空盒是六张 1:1 的图片。
全景图片的格式我没有做太多调研,估计帮不上什么忙。
from bspanoramaview.
嗯啊,好的,我在搞搞
from bspanoramaview.
之后会添加图片分辨率的限制,确保内存使用不会太多。至于 16738 * 3678 的比例,只能自己调研下怎么生成纹理了。
from bspanoramaview.
感谢你的建议~,我先关掉 issue 了。
from bspanoramaview.
Related Issues (9)
- 横竖屏切换 HOT 3
- demo 运行在UITableView中测测试问题 HOT 3
- 加载的全景图片有什么制作规范吗? HOT 1
- 你好,請問偶爾會出現 GL ERROR: 0x0501,加載不出內容黑屏 HOT 2
- 不能用pod 导入
- 坐标转换问题,求指点 HOT 1
- 请问,怎么替换其中某一个区域的内容
- 希望支持加载网络全景图片和顶端滑动限制 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bspanoramaview.