开发者

How do I set the line width in OpenGL relative to the viewing area of a frame buffer?

glLineWidth rasterises the width so it shows as that width on the screen. I want it to be tha开发者_如何学Got width on a frame buffer.

Thank you.


Basically, your screen width is a different size from your frame buffer?

desired_size = size_on_screen * (frame_buffer_width / screen_width)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜