How to make a visible dynamic TGL object?

Help
ricon2001
2013-01-02
2013-03-15
  • ricon2001
    ricon2001
    2013-01-02

    I want to make some dynamic TGLPoints object, but these object can't display, Please help!

      SetLength(mypoint,10);
      xx:=Random;yy:=Random;zz:=Random;
      for i:=0 to 9 do begin
        mypoint_:=TGLPoints.Create(GLScene1);
        mypoint.Position.X:=xx;
        mypoint.Position.y:=yy;
        mypoint.Position.z:=zz;
        mypoint.size:=5;
        mypoint.Visible:=True;_

     
  • ricon2001
    ricon2001
    2013-01-03

    oh ,I see,