A simple displaying problem in openGL

I’m in trouble .There are 50 points ,and the follow information are x,y,z and lum,please help me to display them in VC++ environment with openGL.Please send the program to my e-mail box if possible(svotlog@hotmail.com),thank you very much!

-3885 19706 -4519 1
-3869 19718 -4522 2
-3843 19725 -4524 3
-3818 19727 -4524 2
-3790 19742 -4528 3
-3956 19709 -4541 1
-3938 19731 -4546 2
-3919 19700 -4539 1
-3894 19700 -4539 3
-3872 19686 -4536 2
-3847 19688 -4536 2
-3820 19702 -4539 3
-3792 19719 -4543 3
-3653 19785 -4558 1
-3624 19730 -4546 2
-3600 19726 -4545 1
-3576 19725 -4545 2
-3547 19743 -4549 2
-3521 19756 -4552 3
-3982 19694 -4558 1
-3967 19702 -4560 2
-3946 19681 -4555 2
-3922 19676 -4554 2
-3899 19667 -4552 3
-3872 19676 -4554 1
-3848 19674 -4554 2
-3821 19687 -4557 2
-3797 19690 -4557 3
-3767 19722 -4565 3
-3642 19735 -4568 2
-3625 19708 -4562 2
-3602 19705 -4561 3
-3579 19705 -4561 2
-3552 19714 -4563 2
-3525 19729 -4566 2
-3494 19760 -4574 3
-4025 19715 -4583 1
-4013 19711 -4582 1
-3991 19688 -4577 2
-3970 19675 -4573 2
-3946 19669 -4572 2
-3923 19661 -4570 1
-3900 19651 -4568 2
-3876 19654 -4568 3
-3851 19656 -4569 2
-3827 19655 -4569 2
-3799 19676 -4574 2
-3771 19697 -4579 2
-3659 19746 -4590 1
-3626 19709 -4581 2
-3607 19687 -4576 2

Look over the examples. You might get a better response if you at least make a half-hearted attempt.

...
glBegin(GL_POINTS);
  glColor3f(lum, lum, lum);  // 0.0 <= lum <= 1.0
  glVertex3f(x, y, z);
glEnd();
...

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.