I would like to have three spheres in a 3D view, connected 2-2 (connection = a line between the sphere), for example :
- sphere A is connected to B and C ;
- B connected to A and C ;
- C connected to A and B.
I would like to have connections visible only if the mouse is on one of the sphere, such as :
- if mouse is not on A, B or C, I just see the spheres
- if mouse is on A, I see the three spheres + B and C connections.
I would also like to have this made only in Max (no java or external langage used).
Do you think it's possible ?
By the moment I used jit.gl.gridshape for the sphere, put in a jit.gl.render space. But I can't find a way to "interact" with GL objects with the mouse.
Thank you !