Closed arvrschool closed 7 months ago
Can you break it down for me? You've shared a lot of code and a lot of output, but I can't tell what the actual problem is. We have high confidence in updateView for general use-cases because it's used in all our game engine integrations. Perhaps it's useful to take a look at one of those (cesium-unreal or cesium-unity perhaps?) to see how it is meant to be used.
Can you break it down for me? You've shared a lot of code and a lot of output, but I can't tell what the actual problem is. We have high confidence in updateView for general use-cases because it's used in all our game engine integrations. Perhaps it's useful to take a look at one of those (cesium-unreal or cesium-unity perhaps?) to see how it is meant to be used.
OK,thanks for your reply. I hava tested my 3dtiles in unity3d, and it works well. I know the cesium-native lib is fine, my core problem is that there are only tilesvisited but no render data when I load and updateview data in cesium-native, the compact log message is :
[2024-01-13 23:00:50.706] [info] [test_read_3dtiles2.cpp:207] ViewUpdateResult: tilesToRenderThisFrame : 1 ID error 2000 height 2 tilesVisited : 533 tilesCulled : 1 maxDepthVisited : 5
I suspect it's a problem with my viewstate construction, but I don't have a clear answer, so I hope you give me some guidance.
I can't debug your application for you, but as I guess: the camera parameters are probably incorrect, so the camera isn't "looking" where you think it is. Set up a similar configuration in one of the game engines, take a look at the camera parameters it passes into updateView, and compare to yours.
I can't debug your application for you, but as I guess: the camera parameters are probably incorrect, so the camera isn't "looking" where you think it is. Set up a similar configuration in one of the game engines, take a look at the camera parameters it passes into updateView, and compare to yours.
Okay, I'll try. Thanks~
I have one 3dtiles file, when I use cesium-native to load and updateView, there are only tilesvisited but no render data. I think this is because of the issue with ViewState. I get the transform from root tileset.json as follows.
And I get the mock camera position in ecef like this:
But the result looks strange, the printed log is as follows, please give me some guidance, thanks very much~