Results 1 to 2 of 2

Thread: Dynamic Sphere creation

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Posts
    9

    Dynamic Sphere creation

    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

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Dynamic Sphere creation

    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

Similar Threads

  1. How dynamic must dynamic data be?
    By wadesworld in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-09-2009, 12:05 PM
  2. Render a trimmed sphere ? (a quarter of sphere)
    By HaVyThoai in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-07-2007, 12:05 PM
  3. Dynamic creation of display lists
    By CSG in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-03-2007, 02:03 PM
  4. Dynamic Creation of Texture Objects
    By Kumar K in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-08-2004, 03:09 AM
  5. Sphere-sphere collision detection
    By Billy Lee in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-08-2003, 11:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean