I want to make this scene switching effect. What operation should I do?

Hi All,I want to make this scene switching effect. What operation should I do ?What is the basic operation principle of these animation ?

As far as I could see from the video, the model is built with separate floors (I believe they are done as transform nodes and most of them are instances).
For the first part (when a user moves mouse over the building) one may use Highlight layer or Edge rendering, depending on visual preferences. The logic is simple:
When mouse is over the mesh allowed to highlight, it is highlighted.
When mouse is out, highlight removed.
The second part begins when a user clicks on selected mesh. If the model is done properly the simplest way is to hide all floors except needed (selected), just with setting mesh.visibility = 0; and mesh.isPickable = false;
You may also set the selected “floor” mesh as the target for the camera and animate it for the best view.

1 Like