PDA

View Full Version : Dynamic Sphere creation



DanDanger
11-07-2002, 07:28 PM
Hi,

i want to Dynamiclay add a Sphere to all the Points on the screen, the user clicks on.

Has Anyone an Idea, how to implement this ???


Greeting
DanDanger

mikael_aronsson
11-08-2002, 12:11 AM
Hi !

Well, you have do it yourself, create a sphere in a displaylist, save all the coordinates the user clicks on in a list and on each window update render a sphere at each point in the list, not sure what the problem is ?

One thing though, if you are in perspective mode then you will have some problems with getting the depth value correct, so the distance from the camera to the sphere may not be what you expected.

Mikael