4
votes
Accepted
What is required to limit the amount of draw calls in Unity?
There's quite a bit of information about this:
Static/dynamic batching: basically combining objects into one super-object
Atlas textures: combining textures into one large texture than only uses one ...
2
votes
Accepted
Bresenham circle drawing algorithm, compute the distance?
After a short research, I found this site, which describes the algorithm. I didn't know it before. An important thing you didn't mention in your question is the calculation of the decision parameter $...
2
votes
What is the point of having integer-based draw routines in software rasterizer?
The following is really an assorted set of comments:
Why integer? Floating-point hardware is (in general) far more complex than integer and so on many (old) CPUs it (a) might not have been available (...
1
vote
drawing ellipse with rotation cause inaccurate result
I think you should transform your coordinates before checking if they touch the boundary. You seem to use a scatter approach and every pixel that touch the non-transformed ellipse will land on only ...
1
vote
Accepted
Drawing a square using glDrawArrays with GL_TRIANGLES
Doh !!! It was simply a typo ! A missing comma at the end of the line
-0.5f, -0.5f, 0.0f // bottom left point
What a relief !
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
drawing × 16bezier-curve × 3
rendering × 2
2d × 2
polygon × 2
vector-graphics × 2
midpoint × 2
opengl × 1
3d × 1
shader × 1
c++ × 1
algorithm × 1
computational-geometry × 1
gpu × 1
vulkan × 1
webgl × 1
real-time × 1
interpolation × 1
rasterizer × 1
animation × 1
directx11 × 1
line-drawing × 1
unity × 1
data-structure × 1
pixel-shader × 1