View Single Post
Old 1st March 2005, 03:05 AM   #1
briandavis
Junior Member
Member
 
Join Date: Jul 2004
Posts: 10
Default glLineWidth question

Hi,

I'm needing to render a scene in a 2:1 aspect ratio. The tricky part is that vertical lines must be twice as thick as horizontal lines. Diagonal lines would share the same basic rule (i.e. a line from (0, 0) to (3, 3) would take up an area of 6 x 3.)

Is this possible with OpenGL? I've tried using glLineWidth(2), but this effects the overall width of the line. I've got the matrices set up properly so that (1, 1) is actually displayed at (2, 1). I just can't seem to get the line(s) to draw like I need them to. :?

TIA,
Brian
briandavis is offline   Reply With Quote