05.07.2011 17:31, Thomas Morris пишет:
> Hi Alex,
>
> Perhaps you're right, but I think the circle texture is drawn by call
> to drawSprite2d().
I was wrong - drawCircle is for draw a circle
--
WBW, Alex
--
All of th
Hi Alex,
Perhaps you're right, but I think the circle texture is drawn by call
to drawSprite2d().
Eg.
texCircle.bind();
sPainter.drawSprite2d()
(sorry I don't have the code in front of me.)
The drawCircle routine sets up an array of 180 vertices (Vec3D) and
then calls glDrawArray(), so I think t
05.07.2011 05:15, Thomas Morris пишет:
> I'd like to draw an ellipse outline for galaxies, so I've implemented
> StelPainter::drawEllipse method, based on drawCircle. However nothing
> is drawn even when I follow down to glDrawArrays call in the debugger.
> The X,Y and sizes are consistent with som
Hello,
I'd like to draw an ellipse outline for galaxies, so I've implemented
StelPainter::drawEllipse method, based on drawCircle. However nothing
is drawn even when I follow down to glDrawArrays call in the debugger.
The X,Y and sizes are consistent with something appearing on the
screen. I call