<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853391</guid>
        <pubDate>Mon, 25 Oct 2021 06:04:53 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853391</link>
        <description><![CDATA[Mikle: У меня, кстати, там опечатка была:<br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=423735&view=findpost&p=3853313'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Mikle &#064; <time class="tag-quote__quoted-time" datetime="2021-10-22T11:04:12+03:00">22.10.21, 08:04</time></span><div class='quote '>Просто отключи куллинг</div></div><br>
Должно было быть &quot;отключив&quot; :), это же вопросительное предложение.<br>
Вижу, два прохода с разным куллингом действительно решили проблему.]]></description>
        <author>Mikle</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853390</guid>
        <pubDate>Mon, 25 Oct 2021 05:57:28 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853390</link>
        <description><![CDATA[F0X: Вот такая последовательность действий решила проблему<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_CULL_FACE);</div><div class="code_line">//...</div><div class="code_line">&nbsp;&nbsp; &nbsp;glCullFace(GL_BACK);</div><div class="code_line">&nbsp;&nbsp; &nbsp;ThreedviewPaintElement();</div><div class="code_line">&nbsp;&nbsp; &nbsp;glCullFace(GL_FRONT);</div><div class="code_line">&nbsp;&nbsp; &nbsp;ThreedviewPaintElement();</div><div class="code_line">//...</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_CULL_FACE);</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
<strong class='tag-b'>Mikle</strong> Спасибо за подсказку]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853320</guid>
        <pubDate>Fri, 22 Oct 2021 09:20:21 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853320</link>
        <description><![CDATA[F0X: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Просто отключи куллинг</div></div><br>
Если я правильно понимаю, это направление обхода по часовой или против часовой стрелки.<br>
Попробовал разные варианты<br>
<span class="b-attach" data-size="77779" data-hits="366" data-attach-id="63100" data-attach-post-id="3853320">
			<span class="b-attach__title"></span><a class='b-attach-link' href='https://forum.sources.ru/index.php?act=Attach&amp;type=post&amp;id=3853320&amp;attach_id=63100' title='Скачать файл' target='_blank'>2021_10_22___007.jpg</a> (, : 366)
		</span><br>
Но z-конфликт все равно есть]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853315</guid>
        <pubDate>Fri, 22 Oct 2021 09:00:15 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853315</link>
        <description><![CDATA[F0X: <div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">void ThreedviewInitialize()</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;glShadeModel(GL_SMOOTH);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glClearColor(1.0f, 1.0f, 1.0f, 0.0f);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glClearDepth(1.0f);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_DEPTH_TEST);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDepthFunc(GL_LEQUAL);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);</div><div class="code_line">}</div></ol></div></div></div></div><br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">void ThreedviewPaint(HWND hwnd)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;PAINTSTRUCT ps;</div><div class="code_line">&nbsp;&nbsp; &nbsp;BeginPaint(hwnd, &amp;ps);</div><div class="code_line">&nbsp;&nbsp; &nbsp;EndPaint(hwnd, &amp;ps);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glMatrixMode(GL_MODELVIEW);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLoadIdentity();</div><div class="code_line">&nbsp;&nbsp; &nbsp;glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_COLOR_MATERIAL);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;float light_ambient[] = { 0.0, 0.0, 0.0, 1.0 };</div><div class="code_line">&nbsp;&nbsp; &nbsp;float light_diffuse[] = { 1.0, 1.0, 1.0, 1.0 };</div><div class="code_line">&nbsp;&nbsp; &nbsp;float light_specular[] = { 1.0, 1.0, 1.0, 1.0 };</div><div class="code_line">&nbsp;&nbsp; &nbsp;float light_position[] = { -1.0, 1.0, 1.0, 0.0 };</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;float mat1_dif[]={0.0f,0.0f,0.0f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;float mat1_amb[]= {0.2f,0.2f,0.2f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;float mat1_spec[]={0.6f,0.6f,0.6f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;float mat1_shininess=10.0;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;//float mat1_dif[]={0.8f,0.8f,0.0f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;//float mat1_amb[]= {0.2f,0.2f,0.2f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;//float mat1_spec[]={0.6f,0.6f,0.6f};</div><div class="code_line">&nbsp;&nbsp; &nbsp;//float mat1_shininess=0.5f*128;</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable (GL_LIGHTING);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable (GL_LIGHT0);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_NORMALIZE);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_BLEND);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLoadMatrixf(e::threedviewpaintmatrix[1]);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;ThreedviewPaintCoordinateSystem();</div><div class="code_line">&nbsp;&nbsp; &nbsp;ThreedviewPaintElement();</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glMaterialfv (GL_FRONT,GL_AMBIENT,mat1_amb);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glMaterialfv (GL_FRONT,GL_DIFFUSE,mat1_dif);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glMaterialfv (GL_FRONT,GL_SPECULAR,mat1_spec);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glMaterialf &nbsp;(GL_FRONT,GL_SHININESS,mat1_shininess);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLightfv (GL_LIGHT0, GL_AMBIENT, light_ambient);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLightfv (GL_LIGHT0, GL_DIFFUSE, light_diffuse);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLightfv (GL_LIGHT0, GL_SPECULAR, light_specular);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLoadIdentity();</div><div class="code_line">&nbsp;&nbsp; &nbsp;glLightfv (GL_LIGHT0, GL_POSITION, light_position);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_COLOR_MATERIAL);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_LIGHTING);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_LIGHT0);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_NORMALIZE);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_BLEND);</div><div class="code_line">}</div></ol></div></div></div></div><br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">void ThreedviewPaintElement()</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;int i;</div><div class="code_line">&nbsp;&nbsp; &nbsp;for (i=0; i&#60;e::threedviewelementubound; i++)</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;switch ((int)e::threedviewelement[i][0])</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;case 2:</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ThreedviewPaintElementShaft(i);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">}</div><div class="code_line">&nbsp;</div><div class="code_line">void ThreedviewPaintElementShaft(GLint param)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;int i, sec;</div><div class="code_line">&nbsp;&nbsp; &nbsp;float x1, y1, z1, d1, d2, d3, d4, h1;</div><div class="code_line">&nbsp;&nbsp; &nbsp;GLUquadricObj *q;</div><div class="code_line">&nbsp;&nbsp; &nbsp;glPushMatrix();</div><div class="code_line">&nbsp;&nbsp; &nbsp;q = gluNewQuadric();</div><div class="code_line">&nbsp;&nbsp; &nbsp;glColor4f(0.5f, 0.5f, 0.5f, 0.8f);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//glColor4f(0.3f, 0.3f, 1.0f, 0.8f);</div><div class="code_line">&nbsp;&nbsp; &nbsp;//</div><div class="code_line">&nbsp;&nbsp; &nbsp;x1 = e::threedviewelement[param][1];</div><div class="code_line">&nbsp;&nbsp; &nbsp;y1 = e::threedviewelement[param][2];</div><div class="code_line">&nbsp;&nbsp; &nbsp;z1 = e::threedviewelement[param][3];</div><div class="code_line">&nbsp;&nbsp; &nbsp;sec = (int) e::threedviewelement[param][7];</div><div class="code_line">&nbsp;&nbsp; &nbsp;glTranslatef(x1, y1, z1);</div><div class="code_line">&nbsp;&nbsp; &nbsp;for (i=0; i&#60;sec; i++)</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if (i == 0)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d1 = e::threedviewelement[param][7+i*3+1];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d2 = e::threedviewelement[param][7+i*3+2];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;h1 = e::threedviewelement[param][7+i*3+3];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluDisk(q, d1, d2, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluCylinder(q, d1, d1, h1, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluCylinder(q, d2, d2, h1, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;glTranslatef(0.0f, 0.0f, h1);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (sec == 1)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluDisk(q, d1, d2, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;else</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d1 = e::threedviewelement[param][7+(i-1)*3+1];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d2 = e::threedviewelement[param][7+(i-1)*3+2];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d3 = e::threedviewelement[param][7+i*3+1];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;d4 = e::threedviewelement[param][7+i*3+2];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;h1 = e::threedviewelement[param][7+i*3+3];</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluDisk(q, d1, d3, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluDisk(q, d2, d4, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluCylinder(q, d3, d3, h1, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluCylinder(q, d4, d4, h1, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;glTranslatef(0.0f, 0.0f, h1);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (i == (sec-1))</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gluDisk(q, d3, d4, 100, 100);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;gluDeleteQuadric(q);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glPopMatrix();</div><div class="code_line">}</div></ol></div></div></div></div> <br>
<br>
<span class="tag-color tag-color-named" data-value="mergepost" style="color: mergepost"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2021-10-22T09:12:05+00:00">22.10.21, 09:12</time></span></span><br>
Здесь ThreedviewPaintElementShaft() это рисование ступенчатого вала]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853313</guid>
        <pubDate>Fri, 22 Oct 2021 08:04:12 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853313</link>
        <description><![CDATA[Mikle: Z-fighting может влиять на порядок отрисовки, а при выключенном блендинге порядок не важен.<br>А как ты рисуешь обратные стороны? Просто отключи куллинг, или в два прохода, сначала с cull_cw, потом с cull_ccw? Что с настройками Z-буфера?]]></description>
        <author>Mikle</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853310</guid>
        <pubDate>Fri, 22 Oct 2021 07:45:24 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853310</link>
        <description><![CDATA[F0X: При вращении непрозрачного объекта<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp; &nbsp;glDisable(GL_BLEND);</div></ol></div></div></div></div><br>
все отлично, изображение не искажается<br>
Что-то всязано именно с функцией<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">glBlendFunc()</div></ol></div></div></div></div>]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853309</guid>
        <pubDate>Fri, 22 Oct 2021 07:38:29 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853309</link>
        <description><![CDATA[Mikle: Выглядит как Z-fighting, как будто что-то напутано в матрице проекции и при некоторых направлениях zNear/zFar стремится к нулю.]]></description>
        <author>Mikle</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853308</guid>
        <pubDate>Fri, 22 Oct 2021 07:25:40 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853308</link>
        <description><![CDATA[F0X: Тоже самое происходит в цвете<br>
<span class="b-attach" data-size="51788" data-hits="383" data-attach-id="63099" data-attach-post-id="3853308">
			<span class="b-attach__title"></span><a class='b-attach-link' href='https://forum.sources.ru/index.php?act=Attach&amp;type=post&amp;id=3853308&amp;attach_id=63099' title='Скачать файл' target='_blank'>2021_10_22___005.jpg</a> (, : 383)
		</span>]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853307</guid>
        <pubDate>Fri, 22 Oct 2021 07:20:18 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853307</link>
        <description><![CDATA[F0X: Вращение из положения 1 в положение 2 на рисунке<br>
<span class="b-attach" data-size="7453" data-hits="356" data-attach-id="63097" data-attach-post-id="3853307">
			<span class="b-attach__title"></span><a class='b-attach-link' href='https://forum.sources.ru/index.php?act=Attach&amp;type=post&amp;id=3853307&amp;attach_id=63097' title='Скачать файл' target='_blank'>2021_10_22___001.jpg</a> (, : 356)
		</span><span class="b-attach" data-size="8369" data-hits="387" data-attach-id="63098" data-attach-post-id="3853307">
			<span class="b-attach__title"></span><a class='b-attach-link' href='https://forum.sources.ru/index.php?act=Attach&amp;type=post&amp;id=3853307&amp;attach_id=63098' title='Скачать файл' target='_blank'>2021_10_22___003.jpg</a> (, : 387)
		</span> <br>
<br>
<span class="tag-color tag-color-named" data-value="mergepost" style="color: mergepost"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2021-10-22T07:21:46+00:00">22.10.21, 07:21</time></span></span>]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853306</guid>
        <pubDate>Fri, 22 Oct 2021 07:18:01 +0000</pubDate>
        <title>Blending</title>
        <link>https://forum.sources.ru/index.php?showtopic=423735&amp;view=findpost&amp;p=3853306</link>
        <description><![CDATA[F0X: Делаю полупрозрачный объект, используя<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp; &nbsp;glEnable(GL_BLEND);</div><div class="code_line">&nbsp;&nbsp; &nbsp;glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);</div></ol></div></div></div></div><br>
<br>
При вращении объекта получаются артефакты.<br>
<span class="b-attach" data-size="14156" data-hits="303" data-attach-id="63096" data-attach-post-id="3853306">
			<span class="b-attach__title"></span><a class='b-attach-link' href='https://forum.sources.ru/index.php?act=Attach&amp;type=post&amp;id=3853306&amp;attach_id=63096' title='Скачать файл' target='_blank'>2021_10_22___002.jpg</a> (, : 303)
		</span><br>
Что нужно сделать чтобы не было таких полосок при &quot;перекладывании&quot; из одного положения в другое ?]]></description>
        <author>F0X</author>
        <category>Программирование графики</category>
      </item>
	
      </channel>
      </rss>
	