{"id":601,"date":"2005-08-14T20:17:37","date_gmt":"2005-08-15T00:17:37","guid":{"rendered":"http:\/\/www.starkeith.net\/coredump\/?p=601"},"modified":"2009-04-12T20:54:37","modified_gmt":"2009-04-13T00:54:37","slug":"garote-opengl-rant","status":"publish","type":"post","link":"https:\/\/www.starkeith.net\/coredump\/2005\/08\/14\/garote-opengl-rant\/","title":{"rendered":"garote: openGL rant"},"content":{"rendered":"<p><a href=\"http:\/\/www.livejournal.com\/users\/garote\/57955.html\">garote: openGL rant<\/a><\/p>\n<p>I love this kind of stuff. (Be sure to click the link above to read the whole story.)<\/p>\n<blockquote><p>quick quiz:<br \/>\nhow do you draw lines, points, and triangles in open gl?<\/p>\n<ul>\n<li>A: with triangles.<\/li>\n<\/ul>\n<p>Answer: A.<\/p>\n<p>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.<br \/>\ngod damn fucking shit.<br \/>\nso in order to draw the pretty 3 pixels wide line, i made a 5&#215;1 TEXTURE of a line.<br \/>\nwas re: god damn fucking shit.<br \/>\nthen i stretch the texture over a carefully positioned pair of triangles, and nobody&#8217;s the wiser.<\/p>\n<p>cost: 6 hours of my life. <\/p><\/blockquote>\n<p>Nothing like hearing a hacker rant about technology. Ah, music to my ears.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I love this kind of stuff. &#8220;Question: how do you draw lines, points, and triangles in OpenGL? Answer: With triangles.&#8221; Of course!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_post_was_ever_published":false},"categories":[5],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-technology","entry"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pimUj-9H","jetpack-related-posts":[{"id":5282,"url":"https:\/\/www.starkeith.net\/coredump\/2019\/05\/16\/a-mini-rant-on-presidents\/","url_meta":{"origin":601,"position":0},"title":"A Mini-Rant on Presidents","author":"Keith Survell","date":"May 16, 2019","format":false,"excerpt":"A mini rant on what \"the President\" actually means, since so many people seem to have forgotten.","rel":"","context":"In &quot;politics&quot;","block_context":{"text":"politics","link":"https:\/\/www.starkeith.net\/coredump\/category\/politics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":307,"url":"https:\/\/www.starkeith.net\/coredump\/2004\/11\/16\/fcc-shit\/","url_meta":{"origin":601,"position":1},"title":"FCC shit","author":"Keith Survell","date":"November 16, 2004","format":false,"excerpt":"The FCC needs to get a grip.","rel":"","context":"In &quot;politics&quot;","block_context":{"text":"politics","link":"https:\/\/www.starkeith.net\/coredump\/category\/politics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":603,"url":"https:\/\/www.starkeith.net\/coredump\/2005\/08\/16\/line-counting\/","url_meta":{"origin":601,"position":2},"title":"Line Counting","author":"Keith Survell","date":"August 16, 2005","format":false,"excerpt":"My own free program to count the number of lines of code (LOC) in your VB6 project.","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1039,"url":"https:\/\/www.starkeith.net\/coredump\/2008\/02\/05\/verizon-and-incredibly-stupid-verification-schemes\/","url_meta":{"origin":601,"position":3},"title":"Verizon and INCREDIBLY STUPID Verification Schemes","author":"Keith Survell","date":"February 5, 2008","format":false,"excerpt":"Before we begin today's rant, it is important to point out that the word \"elegant\" holds a special meaning for software people. Let me quote the entry from the New Hacker's Dictionary (or the \"Jargon File\" as it is sometimes known): Combining simplicity, power, and a certain ineffable grace of\u2026","rel":"","context":"In &quot;Rants&quot;","block_context":{"text":"Rants","link":"https:\/\/www.starkeith.net\/coredump\/category\/rants\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":720,"url":"https:\/\/www.starkeith.net\/coredump\/2006\/04\/08\/taxes-suck\/","url_meta":{"origin":601,"position":4},"title":"Taxes SUCK","author":"Keith Survell","date":"April 8, 2006","format":false,"excerpt":"Yes, it's time to rant about taxes again.","rel":"","context":"In &quot;personal&quot;","block_context":{"text":"personal","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4773,"url":"https:\/\/www.starkeith.net\/coredump\/2015\/11\/30\/just-people\/","url_meta":{"origin":601,"position":5},"title":"Just People","author":"Keith Survell","date":"November 30, 2015","format":false,"excerpt":"It's all too easy in this day and age to give in to a subtle (or not-so-subtle) fear of \"foreigners\" but it is important to remember that these are still just people like you and me.","rel":"","context":"In &quot;My Opinion&quot;","block_context":{"text":"My Opinion","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/my-opinion\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/comments?post=601"}],"version-history":[{"count":0,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}