I’m working on a visualization system, designed to show a special geometry that deals with homogeneous coordinates.
As a result, I need to be able to draw infinite lines, such that you cannot see its end even if you pan, zoom or orbit around it.
My first attempt was to use glVertex passing tuples like ( x, y, z, w ) with w = 0. The line is drawn on the screen but with a finite extend. After zooming back a log way, it is possible to see both of its ends.
This geometry I’m working, specially deals with w < 0. But, since I know that not all OpenGL implementations can handle w < 0, I’m limiting myself in w >= 0.
Does anybody know any technic to draw (or at least pretend to draw) infinite lines?
Thanks a lot,