Hi,I am working with python bindings for OpenGL(pyglet) and want to know a bit about the screen normalization (-1 to 1).Pyglet supports window size in pixels, so I would need to feed it coordinates in terms of pixel s. Suppose my screen size is 800 pixels wide, and I want to plot 2048 vertical lines. How do I scale it down to fit in the screen? Any input would be appreciated.
>>646234You can scale the model coordinates into view, or translate the model into world coordinates that fit the default projection for opengl, or adjust your perspective matrix to be able to include all the objects into view.