Closed 2226174644 closed 2 years ago
Hello! I have not had to deal with this before but are you sure the content is loading correctly in the network tab? What are the magic bytes and other values being read as? Can you supply a b3dm for testing to reproduce the issue.
Unfortunately my time is limited so I would appreciate some help digging into the issue further. You can use the b3dmExample page to simplify the debugging process.
Sorry,It's my fault. I used wrong url to cause this error. Now, it doesn't log 'console.assert',when I use the correct url. But it still cann't be loaded ,because its source image could not be decoded. And in network tab, it's likely ok.
This is my code. Here is my data. Data.zip
Is you're server not configured to return 404 error codes? If the URL was wrong the network tab and console should be showing errors. The images that cannot be decoded should also be showing error codes, as well.
There does seem to be small bug in the B3DM (and other) loader implementation, though. Specifically it's not setting the working path correctly because it's not splitting the file path on slashes correctly, which I don't think should be a difficult fix.
Just merged with #230. I'll publish later today or tomorrow!
Published in v0.3.5
When I used B3DMLoader to load my b3dms, it didn't work and log: from I think the reason is from encoding methods ,because I compared my b3dms with other example b3dms in txt ,they are different. (left is mine ,right is a example).
And I have tested , my 3DTiles which contains the b3dms can run in Cesium. I need your help .