1

Adobe Molehill で線を引く方法を教えてください。OpenGL を使用していた場合は GL_LINES を使用しますが、モグラヒルは三角形しか描画できないようです。

乾杯

4

2 に答える 2

2

Molehill is triangles only, because only triangles are hardware accelerated on most consumer video cards. You can draw thin rectangle with two triangles. Not sure if Molehill 2D already supports lines, but it may be worth to look at.

于 2011-03-28T12:18:49.950 に答える
0

三角形の 1 つのエッジに沿ってのみ描画するフラグメント シェーダーを作成できます。

于 2012-03-04T08:32:56.607 に答える