Comments (8)
Thanks Patrick. Upon viewing that link I see now that it says the file is "gzipped". I changed the extension to .gz, unzipped it, and now the data is looking a lot better. I'll see what I can do with this new information. Before, I did not know the file was gzipped!
Thank you!
from 3d-tiles.
Hi @skiplist, I don't believe anything is available yet, and I expect some changes to this tile format in the next few months as the current version is pretty simple and could be more efficient. To keep up on the news, follow this forum thread.
from 3d-tiles.
Thanks Patrick.
We are trying to glue something together for a demo and were wondering what the current format of the .pnts file is? Is the graphic at: https://github.com/AnalyticalGraphicsInc/3d-tiles/blob/master/TileFormats/Points/README.md currently the right format for the file at ./Specs/Data/Cesium3DTiles/Points/Points/points.pnts ?
I understand this will be changing in the future, but we'd like to glue a demo together ASAP, and if we could know the current format, we would be successful. Would be happy to submit our utility that creates the .pnts file as a PR.
Sincerely
from 3d-tiles.
Yes, that is the latest format used in the 3d-tiles
branch of the Cesium repo.
This repo is for the spec only so please do not submit a PR here, but do let me know about it and I'll start to track the ecosystem like we do for glTF, https://github.com/KhronosGroup/glTF#gltf-tools
from 3d-tiles.
Hi Patrick,
Sorry to be a bother again. I am attempting to parse the points.pnts file and I'm seeing the following as the beginning of the file:
{ magic: <Buffer 1f 8b 08 00>,
version: 0,
byteLength: 724119,
pointsLength: 2000459613,
positions:
[ 2.139935304512619e-7,
1.8833269362431015e-14,
3.228909246097769e-14 ] }
I am parsing it via:
var bParser = require('binary-parser').Parser;
var pointsHeader = new bParser().buffer('magic', {
length : 4
}).uint32('version', {}).uint32('byteLength', {}).uint32('pointsLength', {})
.array('positions', {
type : 'floatle', // or floatbe?
length : function() {
return 3;
// return this.pointsLength / 3;
}
});
It looks a bit off as the positions seem out of the ordinary. Again, I really appreciate your help on the short notice, especially given that the format will be changing soon.
Sincerely
from 3d-tiles.
Have you looked at the sample data here: https://github.com/AnalyticalGraphicsInc/cesium/tree/3d-tiles/Specs/Data/Cesium3DTiles/Points/Points
Also, the best place to ask these questions is the Cesium forum. Just a heads up that you are on the bleeding edge, most 3D Tiles users right now are using the b3dm
tile format, not pnts
yet.
from 3d-tiles.
Glad you are on the right track.
I'd appreciate a screenshot when you have something working. Good luck!
from 3d-tiles.
Things are looking much better now
node ./pnt-reader.js
{ magic: 'pnts',
version: 1,
byteLength: 1875016,
pointsLength: 125000,
positions: [ 34.58336639404297, 88.80476379394531, -30.29364776611328 ] }
Is that x, y, z in decimal degrees?
from 3d-tiles.
Related Issues (20)
- Excuse me, is there currently a code implementation for implicit segmentation?
- Question: Are subtile urls supposed to implicitly use the parent tileset query parameters? HOT 7
- Maybe spell error HOT 1
- Clarify the use of non-8-bit-channels in property textures HOT 1
- How to format data HOT 1
- glTF metadata uses integers where it should use "glTF IDs"
- Inconsistency in tile schema and its description
- Cesium 1.1 tiling data failed to load
- Clarify details about `featureCount` and `nullFeatureId` HOT 4
- Can Earth Explorer 3D Map with Augmented reality be added as Viewer?
- Can Map Data Explorer iOS and Android be added as Viewer - it supports 3DTILES
- Selection Issue with GLB Model Organized by Tileset.json HOT 2
- Basic, minimal examples; sources for README figures HOT 10
- EXT_mesh_features Clarification: How many feature ids does an indexed geometry have when ids are implicitly derived? HOT 5
- EXT_mesh_features Rendering: How to visualize "interpolated" features? HOT 8
- 3D-Tiles 1.1 Implicit tile about .subtree binary file HOT 5
- Implementation notes refer to `bufferView` where `bitstream` should be used
- 3D-Tiles 1.1 implicit tile : Octree HOT 1
- 3D-Tiles 1.1 voxel HOT 1
- Clarification for content availability of implicit tileset roots HOT 4
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 3d-tiles.