<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Punkt mit opengl darstellen]]></title><description><![CDATA[<p>hi</p>
<p>Ich bin gerade dabei mir opengl anzueignen und wollte einen punkt auf deb Bildschirm darstellen aber irgendwas mache ich da falsch. Ich hoffe hier kann mir einer helfen. Das ich habe hier mal den relevanten Teil das programms rauskopiert</p>
<p>void myInit (void)<br />
{<br />
glClearColor (1.0,1.0,1.0,0.0);<br />
glColor3f(0.0f, 0.0f, 0.0f);<br />
glPointSize (2.0);<br />
glMatrixMode(GL_PROJECTION);<br />
glLoadIdentity();<br />
gluOrtho2D (0.0, (GLdouble)screenWidth,0.0,(GLdouble)screenHight);</p>
<p>A= screenWidth/4.0;<br />
B= 0.0;<br />
C= D= screenHight /4.0;<br />
}</p>
<p>void myDisplay (void)<br />
{<br />
glClear(GL_COLOR_BUFFER_BIT);<br />
glBegin (GL_POINTS);</p>
<p>glVertex2d(2.0,2.0);</p>
<p>glEnd();<br />
glFlush();<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/243830/punkt-mit-opengl-darstellen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 19 Sep 2026 16:22:05 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/243830.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Jun 2009 20:18:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Punkt mit opengl darstellen on Sun, 21 Jun 2009 20:18:37 GMT]]></title><description><![CDATA[<p>hi</p>
<p>Ich bin gerade dabei mir opengl anzueignen und wollte einen punkt auf deb Bildschirm darstellen aber irgendwas mache ich da falsch. Ich hoffe hier kann mir einer helfen. Das ich habe hier mal den relevanten Teil das programms rauskopiert</p>
<p>void myInit (void)<br />
{<br />
glClearColor (1.0,1.0,1.0,0.0);<br />
glColor3f(0.0f, 0.0f, 0.0f);<br />
glPointSize (2.0);<br />
glMatrixMode(GL_PROJECTION);<br />
glLoadIdentity();<br />
gluOrtho2D (0.0, (GLdouble)screenWidth,0.0,(GLdouble)screenHight);</p>
<p>A= screenWidth/4.0;<br />
B= 0.0;<br />
C= D= screenHight /4.0;<br />
}</p>
<p>void myDisplay (void)<br />
{<br />
glClear(GL_COLOR_BUFFER_BIT);<br />
glBegin (GL_POINTS);</p>
<p>glVertex2d(2.0,2.0);</p>
<p>glEnd();<br />
glFlush();<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730723</guid><dc:creator><![CDATA[fussfeuer]]></dc:creator><pubDate>Sun, 21 Jun 2009 20:18:37 GMT</pubDate></item><item><title><![CDATA[Reply to Punkt mit opengl darstellen on Mon, 22 Jun 2009 12:36:09 GMT]]></title><description><![CDATA[<p>Du setzt die Modelview Matrix nicht wieder.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1730971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1730971</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Mon, 22 Jun 2009 12:36:09 GMT</pubDate></item><item><title><![CDATA[Reply to Punkt mit opengl darstellen on Mon, 22 Jun 2009 14:25:17 GMT]]></title><description><![CDATA[<p>Vielen dank für die schnelle antwort jetzt kenne ich zuzmindest schon mal das problem aber wie kann ich es lösen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1731047</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1731047</guid><dc:creator><![CDATA[fussfeuer]]></dc:creator><pubDate>Mon, 22 Jun 2009 14:25:17 GMT</pubDate></item></channel></rss>