I would like to draw the inside of a full-screen window (i.e. it should completely fill the viewport) using OpenGL. The box should have a perspective.
I assume that I will have to resize the window depending on the size of the viewport, but I'm not sure how to do this.
I'm trying to achieve something like a room this image
My question is: how can I achieve this?
"" , glFrustum. ( OpenGL, , () , , ). , , , , / (.. → , → ).
, , , , , , , , .
, OpenGL ES
Source: https://habr.com/ru/post/1764744/More articles:Regex replace to reorder sentences in a sentence - regexMerge the contents of two tables with LINQ-to-SQL - c #Improving query performance with views - databaseStarting from scratch with NHibernate: tips for a new, large application - c #How to rotate the list of rows along the axis? - c #Create inverse boolean array in matlab - matlabЯ должен задержать 2 секунды, используя NSTimer. Как это сделать? - iphoneHow to make sure an airplane perfectly fills the viewport in OpenGL ES - opengl-esDelaying execution with setTimeout - javascriptInternationalizing .NET Applications - .netAll Articles