Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why I have lost texture in single tile 3dtiles data that I have converted from OBJ #15

Open
chm1781 opened this issue Apr 4, 2018 · 5 comments

Comments

@chm1781
Copy link

chm1781 commented Apr 4, 2018

Thanks for your tools ,but I have some problems to use it.The OBJ data was exported from City Engine ,then I used your tools(Create a single tileset with .b3dm tile) converted to 3dtiles ,But the texture of Building modles had lost,.the texture of trees was had.Could you help me?

@PrincessGod
Copy link
Owner

Thanks.

  • Is there have any prompt when you convert to .b3dm?
  • Can you follow Trouble Shooting then tell me at which step you lost texture?

@CrashedBboy
Copy link

Hi, I got the same problem, too, the texture of the model is missing.
here is the .obj model I've tried: obj_model.zip (with .mtl & .jpg files)

  • the command I tried is obj23dtiles -i ./tile_1_0_0_tex.obj --tileset
  • after executing the command, I got no prompt excepts for total time.

Could you help me with this? I'm not sure if the mistake is about the usage of command or structure of OBJ file. Thanks!

@PrincessGod
Copy link
Owner

@CrashedBboy Hi.

I found your model is upside down, which means like this in three viewer
image

In this case, your normal is towards to negative y axis, which means towards to earth ground not sky,
and Cesium have a direction light so it always get dark side, looks like not have texture. this is preview in Cesium viewer
image

Hope that can help you.

@CrashedBboy
Copy link

CrashedBboy commented Apr 23, 2018

@PrincessGod Thanks for such a detailed explanation!

@abhijitgujar86
Copy link

while converting the obj to b3dm how to change or assign the correct direction ? or do we have to change in the obj file itself ? so you have any documentation on how to check this and correct this in obj file itself ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants