Sign in to follow this  
tonysameh

glLineWidth... does it affect the 2D or 3D width?

Recommended Posts

tonysameh    157
I drew a line in XY plan parallel to the X-axis (horizontal line). When increasing the its width with glLineWidth, is it expected to get thicker in the XY plan only or in the XYZ plan? By other words, did it become a 2D rectangle or a 3D cuboid?

Share this post


Link to post
Share on other sites
Fiddler    860
Off-hand, it becomes a rectangle. The specs should have the exact details if you wish to know them.

Note that line-width has a strange history: widths > 1.0 were deprecated in OpenGL 3.0, (I think) removed in 3.1 and reintroduced (?) in 3.2.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this