Scaling lines and points

  • Rafael Eduardo
    Rafael Eduardo


    I have an app, that I have to move in a 3d world zooming and panning. Well, the problem is that when zooming, my lines and points still the same size, and I can`t scale then using glScalef. What I am looking for is a way to represent lines and points that I can change their scale at the same proportion of the other objects.

    I`ve already tried using spheres and cylinders, but the number of elements is too high.

    If someone knows how to do this, it would be very helpful,

    Thanks a lot.