OpenGl world using camera to find object

2019-09-07 04:00发布

问题:

I am trying to create a virtual 360 degree world using the device as the center, i then want a simple shape to move around randomly in this world. The user is then supposed to use the camera to try and find the object moving around. i can make a simple shape in opengl, but have no idea how to make move around in a virtual world off screen. as well as how to use the camera to find. An tips or ways to simplify the problem?