how do you draw lines, points, and triangles in open gl?
- A: with triangles.
points and lines are all busted and broken and worthless.
quake 3 uses triangles, so they work.
you want a point? use two triangles. you want a line? use two triangles.
god damn fucking shit.
so in order to draw the pretty 3 pixels wide line, i made a 5x1 TEXTURE of a line.
was re: god damn fucking shit.
then i stretch the texture over a carefully positioned pair of triangles, and nobody's the wiser.
cost: 6 hours of my life.
on the plus side, it looks slightly better than real antialiased lines, because the hardware antialiasing only uses 3 subpixel bits (at least on my radeon) while the texture filtering uses 8.
jesus tapdancing shits.
That's the 'great' thing about standards.
Their growth consists of HACKS ON HACKS.
this, after trying many many combinations of antialiased triangles with no texture, which all failed because GL_SRC_ALPHA_SATURATION mode is fucked up on drugs and stuff.
fucking 'Generation X' GL_SRC_ALPHA_SATURATION mode.
yes, it's all totally ad hoc and busted and dependent on the lastest "extensions" to the "standard" based on "extensions" ratified by "people" who suck "cock".
i shouldn't be laughing at this point, yet i am
And this 'cock' in question is actually 'cock emulator 0.4 [final]', which was originally an extension of 'Dickgen v3.001', but splintered into it's own app when 'Dickgen' author Hal PickenPacker got killed in the Swiss Alps. It was rewritten in COBALL from the original BallSuck0.009d (which only ran on second edition VIC-20s), then bought out by ASSCO, thrown away, and replaced by a TURTLE LOGO version which only sold 4 copies. later used as the kernel of a major operating system. So the full name is
Cock (emulator 0.4 [final]) Dickgen 3.001 (CO-BALL) - BallSuck0.009d_VIC-20_2 (c) AssCO [Turtle Logo v++4] a.k.a. Dongulator OS v1.0 .and this is what powers the Xbox! >:)
arek to ATI and nvidia: GET YOUR FUCKING SHIT TOGETHER.
ATI: "Next year. It'll cost you $500 btw"
nVidia: "You mean _your_ shit, codemonkey?"
grrrrrrrrrrr. it all works fiiiiiiiiiiiiiiiiiiiiine as long as you don't want anything complex. like antialiased points. or lines. or something bigger than a pixel.
I mean, jesus cock-stuck-in-a-bear-trap CHRIST this is only twenty years after TRON people. you can't draw a line wider than one pixel?
ATI: "huhuh huhu huh huhuhuhuh d00d i bl3w his h34d off"anyway i'm less than pleased about the whole thing. but it's nearly working again. just have to add a 0.5 pixel BUTT CAP onto this triangle pair.
nvidia: "no way! no fucking way! i fragged your ass!"
we need new vocabularly to adequately express the frustration involved in creating workable point and line primitives.
- triangle lines = trine.
- triangle point = TRONT.
10 int BORK at BORKmhmmmmm maybe "lingle" and "poingle" are better terms. they certainty invoke images of all the COCK SUCKERY inherent in gl.
20 print TRONT 34,56
50 HCOLOR = BORK
60 BORK AT 10 PRINT BORK UNDER 10 BORK IN FOR BORK 10: GOTO 10
yeah, trademarking those words now.
(giant rubber stamp noise)