<div>opengl hello world</div><div>hello I am making opengl hello world </div><div>with reading &quot;OpenGL Super Bible&quot;. </div><div>this book is for C not for scheme</div><div>so I am trying to changing C code to scheme code</div>
<div>but I don&#39;t know what exactly I have to do.</div><div>the object is simple.</div><div>just show the 3d object rectangle or cube or just color could be satisfied</div><div>in the window or some where else</div><div>
(maybe in the window is general)</div><div><br></div><div>first time, I just write very simple code with expecting working well</div><div>such as </div><div>#lang racket</div><div>(require sgl/gl)</div><div>(glClearColor 0 0 0 1)</div>
<div>(glClear GL_COLOR_BUFFER_BIT)</div><div><br></div><div>but I realize that this code lack of frame that will shows the color or object</div><div>and also I can&#39;t find how to use glFlush function in scheme</div><div>
<br></div><div>could somebody please help me how to display 3d object or just color?</div><div><br></div><div>thanks in advanced</div><div><br></div>