fanvanzh / 3dtiles Goto Github PK
View Code? Open in Web Editor NEWThe fastest tools for 3dtiles convert in the world!
License: Apache License 2.0
The fastest tools for 3dtiles convert in the world!
License: Apache License 2.0
有时候很多破洞,有些地方还会闪烁,比较严重的问题就是我切换相机角度 不显示模型了
hi, how do I convert fbx format to 3dtiles?
thanks!
ph
您好!我使用工具将OSGB格式的倾斜数据转换成了3d-tiles并成功在Cesium中加载,但是加载的3d-tiles每次都会在坐标经纬度 (0,0)生成。原始OSGB倾斜数据我使用LocaSpaceViewer查看过,坐标没有问题,坐标系是EPSG:32648。请问是我原始的倾斜数据与Cesium不匹配还是转换过程中导致的坐标丢失?
用这个工具转换shp到3dtiles格式失败,报错,是怎么回事?
How to build说明里代码是用cargo build编译的,可以在vs 2015里直接调试编译吗?vs 2010可以吗?
请问可以支持不同坐标系下osgb文件转3dtiles吗?
生成后的数据没有BoundingSphere,在Cesium中浏览时影响相机
我用您的这个工具把osgb转成3dtiles格式之后,用cesium打开发现模型整体都发暗发黑,请问这个有没有办法解决?
你好:
我想做个osgbTo3DTiles工具,对你的这个项目非常感兴趣,但我不知道如何编译成3dtile.exe,希望你能告知,谢谢!
你好,请问transform与box间有什么关系,如何计算tileset.json坐标?
我在https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification#tile-transform中找到transform叶子节点与根结点计算公式:
tileset.json内容:
{"asset": {"version": "1.0"},
"geometricError": 1319.96566351801,
"root": {
"boundingVolume": {
"box": [
1.04773789644241e-9, -0.504322739783674, -0.616247923113406,
5641.31597575976, 0, 0, 0,
6311.33777747117, 0, 0, 0, 25.8459681412205]
},
"children": [
{
"boundingVolume": {
"box": [
2797.89169446776, -3133.07355675142, 12.5403080463512,
2843.42428129305, 0, 0,
0, 3180.84259900837, 0,
0, 0, 15.1854221645246 ]},
"content": {"url": "tileset_1_1_0.json"},
"geometricError": 164.995707939751,
"refine": "REPLACE"
}]
"geometricError": 329.991415879503,
"refine": "REPLACE",
"transform": [
-0.895897517499185, -0.444260777177997, 0, 0,
0.283927872032897, -0.572569735547873, 0.769122136866122, 0,
-0.341690798268945, 0.689054613072027, 0.639101821764334, 0,
-2176357.29229105, 4388848.16197401, 4070680.03399528, 1
]
}
}
tileset_1_1_0.json为:
{"asset": {"version": "1.0"},
"root": {
"boundingVolume": {
"box": [
2.3283064365387e-10, -0.113443724578246, 3.57330994307995,
2843.42474428168, 0, 0,
0, 3179.80389127671, 0,
0, 0, 15.5025072079152]
},
"children": [],
"content": {"url": "1/1/0.b3dm"},
"geometricError": 164.995707939751,
"refine": "REPLACE",
"transform": [
0.999999837172188, 0.00036471139259886, -0.000438909100338114, 0,
-0.000364495423816037, 0.999999812521052, 0.000492037546955482, 0,
0.000439088469750899, -0.000491877486479553, 0.999999782628903, 0,
2796.72426339705, -3132.95792494155, 8.96653714217246, 1]
}
}
请问,tileset_1_1_0.json中的box,是如何计算为tileset.json中children里的box的?
预编译版本的-c参数不能使用
下面是我手动输入-c参数 带不带转义都没成功
1.
-c {"x": 120,"y": 30,"offset": 0 , "ma
x_lvl" : 20 }
所在位置 行:1 字符: 57
~
表达式或语句中包含意外的标记“:”。
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
2.-c "{"x": 120,"y": 30,"offset": 0 , "m
ax_lvl" : 20 }"
error: Found argument 'x: 120,y: 30,offset: 0 , max_lvl : 20 }' which wasn't expected, or isn't valid in this context
3.-c "{"x": 120,"y": 30,"offset":
0 , "max_lvl" : 20 }"
error: Found argument 'x: 120,\y: 30,\offset: 0 , \max_lvl\ : 20 }' which wasn't expected, or isn't valid in this context
你好:
十分感谢您能提供代码,我看您代码既有c++又有rust,rust这一块没用过,我看你提供的编译方式是通过命令行,是否可以用vs编译整个项目进行调试?
因为之前用工具处理大量的模型时遇到无法转换的问题,想跟代码调试一下,能方便告诉一下这个流程怎么做吗?
谢谢!
ERROR: 2018-08-30 13:53:37 - parse E:\test\main\metadata.xml failed
shape数据可以转化吗?目前测试来看,有包围盒,但是模型不能显示出来,这是为什么呢 ?
同样的osgb数据,我用你的工具生成的模型感觉精细度不是很高,我用另一个工具生成的效果比这个要好的多,不知是什么原因?模型效果见https://pan.baidu.com/s/1WJJ-d8v6qDeyvRxiYzVYsw
里面“1_”开头的就是你的工具生成的模型,“2_”开头的就是其他工具生成的,效果对比还是挺明显的。
问题签名:
问题事件名称: APPCRASH
应用程序名: 3dtile.exe
应用程序版本: 0.0.0.0
应用程序时间戳: 5b36edea
故障模块名称: osg130-osg.dll
故障模块版本: 3.4.0.130
故障模块时间戳: 5a2b8569
异常代码: c0000005
异常偏移: 0000000000099b49
OS 版本: 6.1.7601.2.1.0.274.10
区域设置 ID: 2052
其他信息 1: 7bc5
其他信息 2: 7bc563e6e8d4a0ed169efefcbb9eb870
其他信息 3: d976
其他信息 4: d97655671236aa81456aa559c949ce78
使用预编译的release版生成的版b3dm在表示是,感觉维度被对称调换了,即上下颠倒了。
使用最新的checkout编译失败。
编译环境:Win10_64+VS2015
请问这个工程是不包含从fbx转3dtiles的代码嘛?
can i build this on ubuntu xenial/bionic?
Hi,
I successfully build 3dtiles on Ubuntu, see #29 .
But when convert osgb files, it shows a lot of lines as below:
InputStream::readImage(): Unable to find a plugin for jpg
InputStream::readImage(): Unable to find a plugin for jpg
InputStream::readImage(): Unable to find a plugin for jpg
...
When the converted tiles files are put into cesium, all are black.
模型很顺利的通过工具转换成功,但是用cesium加载的时候发现,在放大和缩小的过程中,3D Tiles格式的瓦片未全部加载,在某一层级总有缺失。
我现在的问题是:我这边一个区域由好几个osgb文件组成,我通过修改s3c文件将几个osgb放到了一起,但是每个data文件都换成了 data1, data2,data3 有好几个文件夹组成,这样的数据能够转换么 或者每部分转换完了能放到一起发成一个服务么
用最新的预编译exe转换osgb为3Dtiles,CESIUM1.45正常加载,1.50加载失败,crash;6月下载的exe转换的没有问题,请教这会是什么原因?谢谢!
I try it,but the tool couldn't support it now?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.