How do I set the line width in OpenGL relative to the viewing area of a frame buffer?
Question
glLineWidth rasterises the width so it shows as that width on the screen. I want it to be that width on a frame buffer.
Thank you.
Solution
Basically, your screen width is a different size from your frame buffer?
desired_size = size_on_screen * (frame_buffer_width / screen_width)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow