PrincessGod / objTo3d-tiles

Convert obj model file to 3d tiles
https://princessgod.github.io/objTo3d-tiles
Apache License 2.0
777 stars 232 forks source link

How to produce Child tileset? #13

Open JJch331 opened 6 years ago

JJch331 commented 6 years ago

objTo3d-tiles is a so great tool, I have already show web 3D model by it ! One of my question is how to produce child tiles from my original obj file? Because my original obj and b3dm files are so big, they can't be load quickly when opening web page. Could you suggest me some ways or tools to produce child tiles effectively? Thank you!

PrincessGod commented 6 years ago

@JJch331 Thank you!

About the produce children tilesets, basically you just need export your models into several .obj files, and each part of models is a tileset, then you just need use tileset.json file combine these tilesets.

About the combine you can use the combine command, but it just make each tileset as external tileset, they have same geometricError and place in one level, not have parent child relation. If you want custom your tileset with different geometricError and levels, you can get more detail at tileset.json spec .

My tool is convert .obj to .b3dm or .i3dm, and the organization about the tileset is beyond my scope, so hope that can make some help : )

JJch331 commented 6 years ago

@PrincessGod

Thanks for your great suggestions! I will try to do these steps later. I exported my .objfile by Photoscan, but it seems have no function to divide model to several .obj. Could you recommend the tools for divide model or .obj to several files? Thanks for your helping 👍

CrashedBboy commented 5 years ago

Hello @JJch331 , I just create an online tool to tile big single model into 3D Tiles.
http://www.3dtiler.com/
If you want to tile your model which is bigger than 20MB(current upload limit), you can send me the file and I can tile it manually.