Skip to content

How to request exactly all tiles in Camera View ?  #832

@genaray

Description

@genaray

Dear community,

im currently struggling with some iusses...
My game isnt a top down game, so i have a normal perspective camera.
The problem is that either the transform location provider, neither the camera bounds tile provider requests all tiles in the camera viewport.

Heres a example :

https://imgur.com/a/2nlUhEW

As you can see only some tiles around the camera are visible. The rest isnt even there. So in my camera i see something like that :

https://imgur.com/a/XRoaGwt

And honestly that doesnt look good at all... So thats the result of the transform tile provider.

Heres the example of the camera bounds tile provider :

https://imgur.com/a/TaKOLzq

Better but not perfect... as you can see there still a few tiles missing.
Futhermore the performance of the camera bounds tile provider is awefull... using an update of rate of 0.1 it almost costs me hundred fps...

Any idea what could i else do to improve this ? I basically just want all the tiles in front of the camera..

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions