Manipulating 3D objects together
in
Programming Questions
•
2 years ago
Hey all. Fairly new user, probably gotten myself in over my head, but hey. Having fun.
So, I'm working on this program which is basically a music visualizer. What happens is the mouse controls a 3D sphere in the background, spinning it as you move the sphere. Then, as you play music, I'm using the minim library to look at beats and such to generate other 3D objects with different characteristics - size, color, etc. They spawn at z = 0, and then fly into the distance.
The thing is, I basically want them to stick to this sphere that the mouse controls (and then later to each other), and remember their location on the sphere as I spin it, giving kind of the feeling like you're creating a mini world/planet with music.
What I have so far wasn't too hard, but now I have no idea how to proceed. I'm not using any special library for the 3D objects yet - I may use the 3Dshapes library to get different shapes, but I don't know if that's helpful in what I'm trying to do.
Any help would be wonderful - and if you need any more description, let me know.
So, I'm working on this program which is basically a music visualizer. What happens is the mouse controls a 3D sphere in the background, spinning it as you move the sphere. Then, as you play music, I'm using the minim library to look at beats and such to generate other 3D objects with different characteristics - size, color, etc. They spawn at z = 0, and then fly into the distance.
The thing is, I basically want them to stick to this sphere that the mouse controls (and then later to each other), and remember their location on the sphere as I spin it, giving kind of the feeling like you're creating a mini world/planet with music.
What I have so far wasn't too hard, but now I have no idea how to proceed. I'm not using any special library for the 3D objects yet - I may use the 3Dshapes library to get different shapes, but I don't know if that's helpful in what I'm trying to do.
Any help would be wonderful - and if you need any more description, let me know.
1
