I want to draw a line in OpenGL that will get new points very often. I want to achieve that the object draws a line behind it.
So I have to make an array and add all the new points to it (BufferData is set to GL_DYNAMIC_DRAW). And then redraw the line using glDrawArrays. Tessellation + stroke width will be inside the top?
Or is there a better way?
Good evening:)
. : , . , . 2 , .
, , .
OpenGl
gl.glBufferData(gl.GL_ARRAY_BUFFER, 8 * self.maxPoints, None, gl.GL_DYNAMIC_DRAW) # 8 bytes 2 points = 1 plot # maxPoints amount of max plots
2 (gl.glBufferSubData). ? ? :
( wasd):
Source: https://habr.com/ru/post/1614773/More articles:Work with complex drilling cycles - prologApply grease to everything behind the selected container - c #YouTube iframe player will not play if tab / window has no focus - google-chromehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1614771/unable-to-downcast-array-members-to-protocol-type&usg=ALkJrhgxdJVB0kHItWzs91wvOUO78x8sEQGoogle reCaptcha keeps loading forever - javascriptPython script to monitor directory for new files - pythonCompliance ToProtocol will not compile with user protocol - iosSort a hash ascending by value using sortBy in javascript - javascriptWeb deployment adds extra connection strings (adds the same connection twice) - c #Insert sequence of values ββfor the same object - fiwareAll Articles