Hi Poly model is rendering very blocky (Low Polygon)
- 3d-tiles-renderer version: 0.4.7
- three.js version: ?
Exported a tiled model from Metashape. Uploaded to Cesium to test and it looks pretty good.
Downloaded and built the 3DTilesRendererJS to my machine for local testing and the model is VERY low poly.
Network (in browser) shows only 6 glbs of the 58 are loading, which would explain the blockiness.
I'm very much used to "user-error" being the source of most tech-based ills so I'm happy to be told I've made a stupid error....
Any pointers would be much appreciated.
You're not giving much info to go by, but maybe have a look at lowering the value of the errorTarget setting. https://github.com/NASA-AMMOS/3DTilesRendererJS?tab=readme-ov-file#errortarget
That’s very kind of you to help. Apologies - I’m very much a layman with coding (digital media and imaging have been my bread and butter for a few decades - code isn’t my forte!).
I’ll certainly look into that fix and come back with findings.
There are a number of things that could be occurring. Unfortunately without data or sample code it's not really possible to say what the issue is. If you provide a demonstration of the issue it will be easier to help.
There are a number of things that could be occurring. Unfortunately without data or sample code it's not really possible to say what the issue is. If you provide a demonstration of the issue it will be easier to help.
Thank you for the input, Garrett. What's the best way to share data or sample code? Many thanks, again.
@Christophereast you can easily find an answer to that question by e.g. googling it. Please consider that your questions take up a lot of valuable time and focus of the maintainers of the repositories - no matter how politely you ask. I've seen an increase in this lately and would like to show my support and appreciation to gkjohnson for his amazing work on this and other free open source projects.
That being said, one way to share code and data is to create or fork a repository here on GitHub and share a link to that repository.
``
@Christophereast you can easily find an answer to that question by e.g. googling it. Please consider that your questions take up a lot of valuable time and focus of the maintainers of the repositories - no matter how politely you ask. I've seen an increase in this lately and would like to show my support and appreciation to gkjohnson for his amazing work on this and other free open source projects.
That being said, one way to share code and data is to create or fork a repository here on GitHub and share a link to that repository.
🤦♂️You're quite right - I've lost count of the number of times I used LMGTFY in other forums. Don't know what came over me!!
Many thanks @hallvar
Me too!my code iso simple just like: var tiles = new TileRender("my3dtile/tileset.json") tiles.errorTarget=0
- 3d-tiles-renderer 版本:0.4.7
- three.js版本: ?
从 Metashape 导出平铺模型。上传到 Cesium 进行测试,看起来还不错。
将 3DTilesRendererJS 下载并构建到我的机器上进行本地测试,模型非常低多边形。
网络(在浏览器中)显示 58 个负载中只有 6 glbs 正在加载,这可以解释块状。
我非常习惯于“用户错误”是大多数基于技术的弊病的根源,所以我很高兴被告知我犯了一个愚蠢的错误......
任何指示将不胜感激。
Me too!my code so simple just like
var tiles = new TilesRenderer("my3dtile/tileset.json") tiles .setCamera( camera ); tiles .setResolutionFromRenderer( camera, renderer ); tiles .addEventListener( 'load-tile-set', () => { // optionally center the tile set in case it's far off center const sphere = new Sphere(); tiles .getBoundingSphere( sphere ); tiles .group.position.copy( sphere.center ).multiplyScalar( - 1 ); } ); // added this code tiles.errorTarget=0
@lky5230 Do you have link to where your tileset is available for use or download?
@lky5230 I'm unable to connect to that server unfortunately
@lky5230 I'm unable to connect to that server unfortunately
there is chinese network so... i dont khow~
there is chinese network so... i dont khow~
If you can upload to something like a Github Issue (dragging and dropping a zip file) or Github repo then that would be enough. Uploading to something like Google Drive would work, too.
One thing to check is whether the LRUCache is full using tilesRenderer.lruCache.isFull() - but without a tile set this is just a guess. I'll close this until some more information is provided.
@lky5230 if you can upload the tile set somewhere please feel free to make a new issue with the data available.
@lky5230 I'm unable to connect to that server unfortunately @gkjohnson hi! i am upload the 3dfile to cesium ion, link for download: https://api.cesium.com/assets/3291928/sources/Photography.zip link for download: https://drive.google.com/file/d/1CWiLmoWYtRR1UuDu4XNXRRWGikhRqTw2/view?usp=drive_link and the three picture means