Hi,
I'm having trouble getting Screen DrawLines to work on Windows (latest
beta update). The other 'OpenGl functions for OSX' work for me so I
figured this one should too. I've tried a number of different
parameters and nothing seems to be drawn to the screen (I can
concurrently draw other things, so it's not a basic drawing issue or
lack of Flip, etc). Is this function implemented for windows?
Furthermore, the help is a bit confusing - it lists the xy parameter
as a 'two-row vector containing the x and y coordinates of the line
ends.' Does this mean each column is a separate vertex in one
continuous line segment, or is each one drawn connected to the center?
Or is every second column the endpoint, while the column before is
the startpoint? I want to be able to draw hundreds of short,
disconnected line segments across the screen, so if there is a better
way to do so, I'm all ears.
('Screen DrawLine' works just fine, but i want to draw lines the same
way as with DrawDots. Would this be fast enough to draw, say, 2000
lines at 60 Hz?)
Thanks,
Scott
I'm having trouble getting Screen DrawLines to work on Windows (latest
beta update). The other 'OpenGl functions for OSX' work for me so I
figured this one should too. I've tried a number of different
parameters and nothing seems to be drawn to the screen (I can
concurrently draw other things, so it's not a basic drawing issue or
lack of Flip, etc). Is this function implemented for windows?
Furthermore, the help is a bit confusing - it lists the xy parameter
as a 'two-row vector containing the x and y coordinates of the line
ends.' Does this mean each column is a separate vertex in one
continuous line segment, or is each one drawn connected to the center?
Or is every second column the endpoint, while the column before is
the startpoint? I want to be able to draw hundreds of short,
disconnected line segments across the screen, so if there is a better
way to do so, I'm all ears.
('Screen DrawLine' works just fine, but i want to draw lines the same
way as with DrawDots. Would this be fast enough to draw, say, 2000
lines at 60 Hz?)
Thanks,
Scott