Garrett Johnson
Garrett Johnson
There may be no reason to not use `optimizeRaycast` so this may not be an issue? Or `TileGroup.raycast` coudl handle the optimized and non-optimized case and assign the necessary tiles...
cc @georginahalpern
@georginahalpern - thanks for the comments. All of the suggestions sound good to me so I'm happy to take PRs for them. I don't want to merge or publish babylon...
The recent addition of the UnloadTilesPlugin and "discardOriginalContents" flag allow us to always fit in the texture limit.
> The only thing that is "missing" from the point of view of the controls are the events when tiles are added/removed, but this does not seem to have a...
Thanks! I think it would be best to fix up the `tiles-load-end` event, though, so we don't have these blips of "download complete" before starting again when there's no camera...
I'm not able to see any stuttering of load end events after the camera stops moving when scrolling around the Google Earth data example even when lowering the lru cache...
> As you can see, we are already trying to reproject _ray towards the near plane, this is just done incorrectly. There's nothing erroneous about the current Raycaster near/far implementation...
> We are already attempting to do a similar thing inside some raycast functions, which means that we would first project the origin towards the near plane, and afterwards we...
> `_ray.copy( raycaster.ray ).recast( raycaster.near );` ~This recast logic literally _only_ happens for Meshes, though. Every other object will potentially fail to find intersections if a negative near value is...