<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-6537747915423340290</atom:id><lastBuildDate>Wed, 28 Apr 2010 03:53:01 +0000</lastBuildDate><title>Static Class Blog</title><description>Nightst4r's Developmental Thoughts.</description><link>http://www.staticclass.com/</link><managingEditor>noreply@blogger.com (Mark)</managingEditor><generator>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-4291737419906355320</guid><pubDate>Wed, 28 Apr 2010 03:52:00 +0000</pubDate><atom:updated>2010-04-27T22:52:55.555-05:00</atom:updated><title>This blog has moved</title><description>&lt;br /&gt;       This blog is now located at http://staticclass.blogspot.com/.&lt;br /&gt;       You will be automatically redirected in 30 seconds, or you may click &lt;a href='http://staticclass.blogspot.com/'&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;       For feed subscribers, please update your feed subscriptions to&lt;br /&gt;       http://staticclass.blogspot.com/feeds/posts/default.&lt;br /&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-4291737419906355320?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2010/04/this-blog-has-moved.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-2546334911233617778</guid><pubDate>Mon, 27 Apr 2009 20:35:00 +0000</pubDate><atom:updated>2009-04-27T15:37:11.331-05:00</atom:updated><title>Far away</title><description>Yet close by...&lt;br /&gt;&lt;a href="http://www.staticclass.com/uploaded_images/WakLand-703495.png"&gt;&lt;img style="MARGIN: 0px 10px 10px 0px; WIDTH: 320px; FLOAT: left; HEIGHT: 228px; CURSOR: hand" border="0" alt="" src="http://www.staticclass.com/uploaded_images/WakLand-703491.png" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-2546334911233617778?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2009/04/far-away.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-9179853824435413725</guid><pubDate>Sun, 29 Mar 2009 14:57:00 +0000</pubDate><atom:updated>2009-03-29T10:15:40.926-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Computers</category><title>HP TX 1000 Series Laptops with Nvidia 6150 and ITunes Videos in Quicktime</title><description>I downloaded a movie from Itunes recently and no matter what I did, the movies refused to play back on my HP TX 1215NR laptop. It would start playing but then Quicktime would crash with some kind of BEX event error.  Right before the crash the movie would get pixelated and distorted and then crash.  At first I suspected it was the NVidia 6150 video drivers which are custom made for HP and promise "HARDWARE H.264 playback".  &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Because of the ANNOYING DRM apple puts on the movie, I could not even try playing it back in anything other than Quicktime, so I thought maybe its just the Quicktime Player having a hard time with it. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I looked for a solution for months, but finally after searching some forums I ran across this solution, and it wasn't the video driver, it was the SATA HD driver!&lt;div&gt;&lt;ol&gt;&lt;li&gt;Right click "Computer" and select properties.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Open IDE ATA/ATAPI Controllers.&lt;/li&gt;&lt;li&gt;Loctate the NVidia controllers.&lt;/li&gt;&lt;li&gt;Right click it and select Update Driver.&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Click "Browse my computer for driver software".&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Click "Let me pick from a list of device drivers on my computer".&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Ensure that "Show compatible hardware" is checked.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Select  "Standard Dual Channel PCI IDE Controller".&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Open "System Devices".&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Select one by one each of the NVidia Items, and repeat the above.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;This time Select "Standard PCI Ram Controller".&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;When you are done, you will have 2 nVidia controllers left that don't have standard components. Thats ok.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Restart.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;After you restart your laptop should be able to play the content w/ no problems!  However, my laptop was just plain not able to keep up with the HD movies, but the normal res movies ran fantastic after this.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Goodluck!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 16px; "&gt;Source:  &lt;a href="http://discussions.apple.com/thread.jspa?messageID=6225584"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0);"&gt;Apple Forums&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-9179853824435413725?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2009/03/hp-tx-1000-series-laptops-with-nvidia.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-2693270569849793221</guid><pubDate>Sat, 28 Mar 2009 22:33:00 +0000</pubDate><atom:updated>2009-03-28T17:36:28.923-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Games</category><title>Lord of the Rings Online Welcome Back Weekend</title><description>&lt;span style="font-size:180%;"&gt;LORD OF THE RINGS - (Online)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So this weekend since Lord Of The Rings was free for anyone who played once before, I decided I'd jump back in and see if things had changed much. Last time I played I tried a Minstril? And I didn't really have any fun at all.&lt;br /&gt;&lt;br /&gt;This time around I wanted to try the RuneKeeper, but since they only restored my account to its old state, I don't get the Moria stuff, so I went with the Hunter. It seems that just like World Of Warcraft, the hunter is overpowered. It's almost impossible to die, and everything is one shotted. No pet though.&lt;br /&gt;&lt;br /&gt;My first minute in the game, I walk up to right click on the Introduction NPC in RivenDell, and of course I misclick, which causes my incredible range to shoot an arrow at a swarm of bees in the distance. Being completely lost in how to control my character, and seemingly missing every swing I'm fighting a killer swarm of level 2 bees on the steps next to the intro NPC who is supposed to help me start the game. She's just standing there watching me be swarmed by a killer batch of bees...&lt;br /&gt;&lt;br /&gt;Eventually I got the bees down and started the quest lines. I figured I'd practice on the target dummies a bit, and figured out how to use the hunter. After that it was all about one shotting everything, bugs, insects, flies, slugs, rats, goblins, etc. With the extra XP this weekend I was level 5 within minutes. I finished the Introduction quests and set out to Celondim after a brief run thru a cave which seemed to transport me many many miles in a few seconds for no particular reason I seem to be now on an epic quest to get back to where I started?&lt;br /&gt;&lt;br /&gt;While in Celondim I picked up cooking, which seemed to be an assinine profession that is very over complicated for the sake of trying to be real. Make some pie crusts, which I can then use to make Mushroom pie, I can buy all the ingredients which makes leveling the profession easy, and I get a SET number of skill points which is nice! Unlike wow's Random point generation for every item made. But I couldn't buy the mushrooms.. You would think that should be the easiest thing to buy, but its just not there!! And why do I have to equip my cookware?&lt;br /&gt;&lt;br /&gt;By the end of the night I got to level 10, and now things seem to be getting harder, I die when overpowered by 2 or more mobs at one time. I am completely flat broke after learning how to wear better armor.&lt;br /&gt;&lt;br /&gt;Overall, my impressions are that they are trying to be like WoW where ever they can, but then at the same time they are trying to put in way too much realism. The graphics feel very real, which makes it very hard to notice what is a tree, and what is an enemy!! Oh and don't bother using DX10, there is Z - fighting EVERYWHERE, the sky stops working for some reason as well. The profressions are so overcomplicated for no good reason other than to be annoying I guess.&lt;br /&gt;&lt;br /&gt;On top of that I've become very used to my mods and addons for WoW, like Carbonite or Quest Helper, which make playing wow a lot easier, I always know where to go. And it feels like I'm using a Google Map for everything. I don't have to stop and read the quest only to find that the directions were completely incorrect. "Go NorthWest of Celondim", which lead me to a dead end, so it turned out to be North-NorthWest. But you had to actually go really far north first because there is a pointless hill placed going directly northwest which prevents you from getting anywhere. I mean why can't the quest giver take a moment to draw a little arrow on my map?! Age of Conan does this just fine! "Excuse me miss, I have a map here, do you think you could draw where exactly these evil insects are?" "Oh no I can't, ink hasn't been invented yet" "Oh its okay, use my blood, I'm a hunter afterall."&lt;br /&gt;&lt;br /&gt;And with all this realism, why the hell am I suddenly ALLOWED to jump off cliffs w/ no penality other than being forced to walk super slow for 1 minute? I mean its nice, since dieing in WoW from falling off a cliff on accident is annoying, but it doesn't fit with the rest of their attempts at realism!!&lt;br /&gt;&lt;br /&gt;So all in all, its a fun game, but they've still got a lot of changes to make to make it as fun as WoW. Good attempt though!! They definately put a lot of heart into the art and the design.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-2693270569849793221?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2009/03/lord-of-rings-online-so-this-weekend.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-3821308706621924118</guid><pubDate>Tue, 08 Jul 2008 17:03:00 +0000</pubDate><atom:updated>2008-07-08T12:04:13.893-05:00</atom:updated><title>Awesome /. quote</title><description>&lt;span style="font-family:Arial;font-size:85%;color:#000000;"&gt;As a recovering coder (I've been code free for 12 years) I can tell you that once a coder is addicted to a particular language changing languages is the equivalent of cutting off one of your limbs. Withdrawal symptoms can be severe and disruptive including the shakes, paranoia, and a condition that strikingly resembles turrets syndrome. There have been coders in recent years that appear to be able to switch languages with relative ease but studies on these coders have not been conducted and it is suspected that they could go off in a fit of rage at any moment and should be approached with extreme trepidation.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-3821308706621924118?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2008/07/awesome-quote.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-3807975042498101652</guid><pubDate>Wed, 26 Mar 2008 20:23:00 +0000</pubDate><atom:updated>2008-03-26T15:46:37.998-05:00</atom:updated><title>Software Patents</title><description>Since there is some really stupid minor &lt;a href="http://arstechnica.com/articles/culture/clean-up-patent-mess.ars"&gt;patent reform&lt;/a&gt; thing going on. I found this quote to be pretty much where I stand on the matter:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;John Carmack (id Software) - 2005&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;"In the majority of cases in software,  patents [affect] independent invention. Get a dozen sharp programmers together,  give them all a hard problem to work on, and a bunch of them will come up with  solutions that would probably be patentable, and be similar enough that the  first programmer to file the patent could sue the others for patent  infringement. Why should society reward that? ... The programmer that filed the  patent didn't work any harder because a patent might be available, solving the  problem was his job and he had to do it anyway. ... Yes, it is a legal tool that  may help you against your competitors, but I'll have no part of it. It's  basically mugging someone."&lt;br /&gt;&lt;br /&gt;~&lt;a href="http://slashdot.org/comments.pl?sid=151312&amp;amp;cid=12701745"&gt;http://slashdot.org/comments.pl?sid=151312&amp;amp;cid=12701745&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-3807975042498101652?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2008/03/software-patents.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-112820664084363867</guid><pubDate>Fri, 15 Feb 2008 15:47:00 +0000</pubDate><atom:updated>2009-03-27T17:22:00.775-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Java</category><category domain='http://www.blogger.com/atom/ns#'>Code</category><title>Top 10 List of things I hate about java.</title><description>&lt;span style="font-size:85%;"&gt;1. No good IDE support&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;2. Nested classes are mis-named (public &lt;span style="font-weight: bold;"&gt;static class&lt;/span&gt;???)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;3. No Operater Overloading&lt;br /&gt;4. Swing (Speaks for itself)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;5. No way to create a value type&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;6. JNI - Hard to use, annoying, and difficult to marshal.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;7. NIO buffers - You cannot ever force memory collection, they seem to leak very easily. Tend to lead to:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;8. Java out of memory errors (All too common) - Even on production servers!&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;9. Fonts - You can never get an accurate metric (Its always off by  a few pixels)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;10. JVM Garbage Collection - Go ahead and try to garbage collect a Built up JTree...  It won't happen.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Bonus:&lt;br /&gt;11. You can't even do math with the Box'ed versions of Integer, Double, Float, etc.&lt;br /&gt;&lt;edit:&gt;#Edit#&lt;br /&gt;12. You cannot do a non-virtual call, its always virtual.&lt;br /&gt;13. Generics are just auto casts.&lt;br /&gt;14. The CLASSPATH.&lt;br /&gt;#Edit#&lt;br /&gt;&lt;br /&gt;This list was requested by &lt;/edit:&gt;&lt;/span&gt;  Monarch.&lt;br /&gt;By the way, these weakness's are some of c#'s strengths in my opinion.&lt;br /&gt;&lt;br /&gt;I swear I'll try to get some useful posts soon! Got to talk about fonts and stuff still.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-112820664084363867?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2008/02/top-10-list-of-things-i-hate-about-java.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-7429494658804131759</guid><pubDate>Mon, 26 Nov 2007 19:40:00 +0000</pubDate><atom:updated>2007-11-26T13:42:02.181-06:00</atom:updated><title>Little known Java Features</title><description>I just found this out myself...&lt;br /&gt;On windows, should your class path ever exceed 32,768 characters... you can't run your application anymore!!&lt;br /&gt;&lt;br /&gt;Don't ask why I know this.  Just rest assured, class paths suck.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-7429494658804131759?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/11/little-known-java-features.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-1364096609636836133</guid><pubDate>Mon, 05 Nov 2007 16:12:00 +0000</pubDate><atom:updated>2007-11-05T10:14:46.212-06:00</atom:updated><title>Unrelated again</title><description>Dennis: For a second i was like "whoa chuck norris has his own brand of power generators... kick ass"&lt;br /&gt;&lt;br /&gt;I'd buy it...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-1364096609636836133?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/11/unrelated-again.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-306413441680684532</guid><pubDate>Fri, 29 Jun 2007 15:51:00 +0000</pubDate><atom:updated>2009-03-27T17:22:00.775-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Java</category><category domain='http://www.blogger.com/atom/ns#'>Code</category><title>More Java</title><description>I'm not a fan of java, I too often find myself doing this:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.staticclass.com/javaDeath.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;I promise to I will get back to pointful blogs soon! Just venting java issues :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-306413441680684532?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/06/more-java.html</link><author>noreply@blogger.com (Mark)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-2716382178977208584</guid><pubDate>Tue, 26 Jun 2007 19:41:00 +0000</pubDate><atom:updated>2007-06-26T14:46:12.815-05:00</atom:updated><title>Comments out of context</title><description>&lt;img src="file:///C:/DOCUME%7E1/MarkT/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/MarkT/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/MarkT/LOCALS%7E1/Temp/moz-screenshot-2.jpg" alt="" /&gt;&lt;div id="504"  style=";color:transparent;"&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 82, 163);font-family:Arial;font-size:85%;"  &gt;&lt;b&gt;D o r l u n&lt;/b&gt;:&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000000;"&gt;i see a moon&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 82, 163);font-family:Arial;font-size:85%;"  &gt;&lt;b&gt;D o r l u n&lt;/b&gt;:&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000000;"&gt;and you on it&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 82, 163);font-family:Arial;font-size:85%;"  &gt;&lt;b&gt;D o r l u n&lt;/b&gt;:&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000000;"&gt;with a bottle of water&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 82, 163);font-family:Arial;font-size:85%;"  &gt;&lt;b&gt;D o r l u n&lt;/b&gt;:&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;color:#000000;"&gt;&lt;span style="font-size:85%;"&gt;and a computer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;img src="http://www.staticclass.com/meonmoon.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-2716382178977208584?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/06/comments-out-of-context.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-2709705957960705323</guid><pubDate>Thu, 21 Jun 2007 16:57:00 +0000</pubDate><atom:updated>2009-03-27T17:22:27.683-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Java</category><category domain='http://www.blogger.com/atom/ns#'>Code</category><title>Java summed up</title><description>Akuma: Java is like trying to run with shoes that are 10 sizes to big.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-2709705957960705323?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/06/akuma-java-is-like-trying-to-run-with.html</link><author>noreply@blogger.com (Mark)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-2051305195579299264</guid><pubDate>Fri, 08 Jun 2007 21:13:00 +0000</pubDate><atom:updated>2009-03-31T15:57:55.852-05:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>C-Sharp</category><category domain='http://www.blogger.com/atom/ns#'>Code</category><title>Introduction and VBOs</title><description>So a quick introduction. My name is Mark and I work for a video game development company as lead graphics engine developer. My posts will usually be about .Net or OpenGL. My posts will not be related to things I do at work, instead they will be about my home projects, which are about video games. So if I speak about something, I will be speaking about my home project implementation, which is never the same as my work implementation :)&lt;br /&gt;&lt;br /&gt;So I guess the best place for me to start, is to talk about OpenGL since it's awesome. As a bit of background, my home project is a 3D gaming engine written in C# with interop to OpenGL.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;VBOs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I first started writing in OpenGL, I used things like glBegin() and glVertex3f(). I could never get any decent framefrates. Then I learned about Vertex Arrays which helped a lot, and then I finally learned about VBOs about a year ago. These things are awesome.&lt;br /&gt;&lt;br /&gt;So what is a VBO?&lt;br /&gt;A Vertex Buffer Object is a piece of memory on the video card that stores all of your vertices, normals, colors, and texture coordinate data. The fantastic part is that its all saved on the video card so you don't have to do millions of system calls to render your data to the screen.&lt;br /&gt;&lt;br /&gt;So how do I make a VBO?&lt;br /&gt;First you need an ID for the VBO:&lt;br /&gt;&lt;br /&gt;glGenBuffersARB(1, id);&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[glGenBuffersARB(int amountToGenerate, int[] returnValues)]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you have ur index, that will be ur pointer to your geometry. Please notice the ARB at the end. OpenGL has the calls with ARB and the ones without!! Both are the same, but the ones with ARB will work on older video cards :)&lt;br /&gt;&lt;br /&gt;Now we need to add stuff to it ( like the vertex data). To add to it, we have to bind it first (just like you'd bind a texture)&lt;br /&gt;&lt;br /&gt;glBindBufferARB(id[0]);&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[glBindBufferARB(int idToBind)]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we will put our data in from our program to the video card. In my case data is a float[]&lt;br /&gt;&lt;br /&gt;glBufferDataARB(GL_ARRAY_BUFFER, data.length * sizeof(float), data, GL_STATIC_DRAW);&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[glBufferDataARB(Type, uint size, void * data, GL_STATIC_DRAW? GL_READ_WRITE?);]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Okay so now you've moved your vertices over to the video card!! And you've got an id that points to that memory ( id[0]). Now we'll want to draw it back to the screen later...&lt;br /&gt;&lt;br /&gt;To draw the verts back we'll need to enable the client state for vertices.&lt;br /&gt;&lt;br /&gt;glEnableClientState( GL_VERTEX_ARRAY);&lt;br /&gt;glBindBuffer(id[0]);&lt;br /&gt;glVertexPointer(3, GL_FLOAT, 0, 0);&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[glVertexPointer(int howManyFloatsInAVertex, int dataTypeOfData, ignore, ignore)]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So since u pass 0 as the address for the pointer, it knows to look for a VBO with the ID in the glBindBuffer call. Which I have set to be id[0]. Now its important to note this is where the different kinds of client states change. If you were configuring the texture UV's you'd have a VBO for those ( or if you wanna be extra fast you'd interleave them all into 1 and use an offset where i have a 0 in the pointer) So lets pretend I made a uv pointer also... I do the lines above and then also add:&lt;br /&gt;&lt;br /&gt;glEnableClientState( GL_TEXTURE__COORD_ARRAY);&lt;br /&gt;glBindBuffer(textureVBOid[0]);&lt;br /&gt;glTexCoordPointer(2, GL_FLOAT, 0, 0);&lt;br /&gt;[glTexCoordPointer(int howManyFloatsInAVertex, int dataTypeOfData, ignore, ignore)]&lt;br /&gt;&lt;br /&gt;Now i'd have my Vertices ( sized a list of floats where every 3 floats are a vertex, and a list of floats where every 2 are a float for the uv's) All bound and ready to render... 1 line more and we have everything on screen:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;glDrawElements( GL_TRIANGLES , totalNumberOfIndices, GL_Unsigned_Int, indices );&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[glDrawElements(int drawMode, int amountOfIndicesToDraw, Index data type, void * indexArray)]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you don't care to render using indices, just make an array of uints called indices and fill it with 1, 2, 3, 4, 5, 6... numVerts. That will just render your vertices in order. Indices can also be put as a VBO as well ;)&lt;br /&gt;&lt;br /&gt;So I hope that helps the concept with a little behind the scenes. I'll probably explain how I'm doing fonts in the next one!&lt;br /&gt;&lt;br /&gt;Time for work! Take care now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-2051305195579299264?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/06/vbos.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6537747915423340290.post-7876070243524648479</guid><pubDate>Fri, 08 Jun 2007 18:09:00 +0000</pubDate><atom:updated>2007-06-08T13:10:11.341-05:00</atom:updated><title>Welcome</title><description>This is my first post!  Check back soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6537747915423340290-7876070243524648479?l=www.staticclass.com' alt='' /&gt;&lt;/div&gt;</description><link>http://www.staticclass.com/2007/06/welcome.html</link><author>noreply@blogger.com (Mark)</author><thr:total>0</thr:total></item></channel></rss>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
