ajmas / StuffInSpace

A real-time interactive WebGL visualisation of objects in Earth orbit
https://ajmas.github.io/StuffInSpace/
25 stars 9 forks source link

Non-Group Objects Pickable #27

Closed thkruz closed 10 months ago

thkruz commented 10 months ago

When selecting a group like the glonass group I am still able to select objects outside of the group from the canvas. Nothing inherently wrong with this, but it is not in line with the original design of filtering out non-group satellites. It looks like we are still calculating the pickability but it is getting dropped in updateSatellitesMaterial.

ajmas commented 10 months ago

I agree this is not ideal.

The quickest solution would be in setSelectedSatellites to ignore any indexes that fall outside of the selected group?

ajmas commented 10 months ago

Resolved