<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>whacky labs - Latest Comments</title><link>http://whackylabs.disqus.com/</link><description></description><atom:link href="https://whackylabs.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 06 Sep 2015 06:07:48 -0000</lastBuildDate><item><title>Re: Experiment 14: Object Picking</title><link>http://whackylabs.com/rants/?p=1043#comment-2238788024</link><description>&lt;p&gt;HI chunkyguy, thanks for your useful article.I also have a question want to ask.Through the demo i found that when my camera rotate to the opposite of the object, ray test is true too,how can fix it,or any idea?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">梁建锋</dc:creator><pubDate>Sun, 06 Sep 2015 06:07:48 -0000</pubDate></item><item><title>Re: C++: Typesafe programming</title><link>http://whackylabs.com/rants/?p=1077#comment-1532940657</link><description>&lt;p&gt;Cool. I do something similar.&lt;/p&gt;&lt;p&gt;One additional distinction I make sometimes but not always: the &lt;em&gt;difference&lt;/em&gt; of things might be a different type from the thing itself. For example, Temperature Celsius and Temperature Fahrenheit could be separate types. Converting F to C is (x-32)*5/9. However, suppose I talk about an “increase of 4°F”. Converting that to an “increase in °C” should not be (x-32)*5/9 but instead x*5/9.&lt;/p&gt;&lt;p&gt;I then define temp + temp = invalid, temp + ∆temp = temp, temp - ∆temp = temp, temp - temp = ∆temp, ∆temp + ∆temp = ∆temp, ∆temp - ∆temp = ∆temp. For conversions, tempF to tempC is (x-32)*5/9 but ∆tempF to ∆tempC is x*5/9. And tempF to ∆tempC and other such things are not defined. Scalar multiplication is allowed for ∆temp but not for temp.&lt;/p&gt;&lt;p&gt;Geometric points and vectors work this way too. You don't add two points, but you can add a point and a vector to make another point, or subtract two points to produce a vector. Scalar multiplication is allowed for vectors but not for points.&lt;/p&gt;&lt;p&gt;You can consolidate temp and ∆temp, or point and vector, by adding an int template parameter. When it's 0, it represents differences (∆temp or a geometric vector); when it's 1, it represents  positions (temp or a geometric point). The static type for + will add the ints; the static type for - will subtract the ints. Now all those rules for which of {temp, ∆temp} we're allowed to add or subtract correspond to the ints: 0 and 1 are allowed, but other values are not; scalar multiplication multiplies the int. Try to add two points? 1 + 1 = 2, which isn't valid. Try to add two vectors? 0 + 0 = 0, which is a vector. Add a point and vector? 1 + 0 = 1, which is a point. Subtract two points? 1 - 1 = 0, which is a vector.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">amitp</dc:creator><pubDate>Fri, 08 Aug 2014 00:20:55 -0000</pubDate></item><item><title>Re: Experiment 13: Shadow mapping</title><link>http://whackylabs.com/rants/?p=1034#comment-1523840006</link><description>&lt;p&gt;I'm quite new to Metal but I don't think so. Metal API main purpose is minimizing cpu driver overhead.  It cannot reprogram dependent texture reading, tile base rendering, etc.. they are hw gpu features.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">el</dc:creator><pubDate>Sun, 03 Aug 2014 03:50:45 -0000</pubDate></item><item><title>Re: Experiment 13: Shadow mapping</title><link>http://whackylabs.com/rants/?p=1034#comment-1523821310</link><description>&lt;p&gt;I think with the arrival of Metal API on iOS things are going to change for good.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chunkyguy</dc:creator><pubDate>Sun, 03 Aug 2014 03:32:32 -0000</pubDate></item><item><title>Re: Experiment 13: Shadow mapping</title><link>http://whackylabs.com/rants/?p=1034#comment-1489549414</link><description>&lt;p&gt;i don't think that shadow mapping has on ios any future.  Because dependent texture reads it's too slow. Projected shadows, stencil shadows etc. are much better solution.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">el</dc:creator><pubDate>Thu, 17 Jul 2014 06:17:05 -0000</pubDate></item><item><title>Re: Experiment 14: Object Picking</title><link>http://whackylabs.com/rants/?p=1043#comment-1443868636</link><description>&lt;p&gt;Thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MANOJ KUMAR K</dc:creator><pubDate>Thu, 19 Jun 2014 10:08:56 -0000</pubDate></item><item><title>Re: Experiment 14: Object Picking</title><link>http://whackylabs.com/rants/?p=1043#comment-1313123933</link><description>&lt;p&gt;hi  Sidharth Juyal,  thanks for your post,  I want to achieve the same function like your  tutorials , but I hope to use color picking , just like this : &lt;a href="http://stackoverflow.com/questions/6774197/opengl-es-2-0-object-picking-on-ios" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/questions/6774197/opengl-es-2-0-object-picking-on-ios"&gt;http://stackoverflow.com/qu...&lt;/a&gt;.  I'm new to opengl and hoping a working model will help me to implement this function. &lt;br&gt;If you can provide a tutorial, it would be perfect.  many thanks.    luo&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">luo</dc:creator><pubDate>Tue, 01 Apr 2014 06:42:16 -0000</pubDate></item><item><title>Re: Ludo for iOS</title><link>http://whackylabs.com/rants/?p=884#comment-1173884340</link><description>&lt;p&gt;thanks dear for this post&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zeeshan Ali Basbasah</dc:creator><pubDate>Sun, 22 Dec 2013 13:57:35 -0000</pubDate></item><item><title>Re: Programming Languages in a nutshell</title><link>http://whackylabs.com/rants/?p=747#comment-810822833</link><description>&lt;p&gt;What type of transportation medium is Clojure? ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Hughes</dc:creator><pubDate>Sun, 24 Feb 2013 12:40:00 -0000</pubDate></item><item><title>Re: Making an iPhone game from scratch</title><link>http://whackylabs.com/rants/?p=695#comment-709034955</link><description>&lt;p&gt;Great post. Thank you for sharing your experience in becoming a game dev.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CraftyDeano</dc:creator><pubDate>Tue, 13 Nov 2012 09:17:04 -0000</pubDate></item><item><title>Re: Making an iPhone game from scratch</title><link>http://whackylabs.com/rants/?p=695#comment-708901821</link><description>&lt;p&gt;I've the entire dev log here, with screenshots and videos, if you're into that &lt;a href="http://whackylabs.com/rants/?p=612" rel="nofollow noopener" target="_blank" title="http://whackylabs.com/rants/?p=612"&gt;http://whackylabs.com/rants...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chunkyguy</dc:creator><pubDate>Tue, 13 Nov 2012 04:37:29 -0000</pubDate></item><item><title>Re: Making an iPhone game from scratch</title><link>http://whackylabs.com/rants/?p=695#comment-708877986</link><description>&lt;p&gt;needs screenshots and videos&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">foo</dc:creator><pubDate>Tue, 13 Nov 2012 03:31:48 -0000</pubDate></item><item><title>Re: Cleaning up the 3 hour mess</title><link>http://whackylabs.com/rants/?p=612#comment-614557944</link><description>&lt;p&gt;great sid ..nice to c ur dedication..!! &lt;br&gt;I like the quote.... Never leave the project in a broken state..!!All d best for ur upcoming projects..!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">max</dc:creator><pubDate>Thu, 09 Aug 2012 11:50:26 -0000</pubDate></item><item><title>Re: What language should I speak to my computer?</title><link>http://whackylabs.com/rants/?p=422#comment-397160348</link><description>&lt;p&gt;No need to delete google Ad's ..  I don't know whether you know it or not Google too values good genuine stuff .It will pay you in no time ..keep it on and up :-)&lt;/p&gt;&lt;p&gt;Take Care &lt;br&gt;----------&lt;br&gt;Alok S. Rana &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alok</dc:creator><pubDate>Fri, 30 Dec 2011 05:52:33 -0000</pubDate></item><item><title>Re: What language should I speak to my computer?</title><link>http://whackylabs.com/rants/?p=422#comment-396564814</link><description>&lt;p&gt;Thanks buddy! The google ads is a just a trial thing, if I don't make any money with it soon I would delete that :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chunkyguy</dc:creator><pubDate>Thu, 29 Dec 2011 10:48:28 -0000</pubDate></item><item><title>Re: What language should I speak to my computer?</title><link>http://whackylabs.com/rants/?p=422#comment-396331596</link><description>&lt;p&gt;All the Best Sid for your Rambling , I am pretty much sure One Day you'll achieve your goal in most meaningful way.&lt;br&gt;As usual nice Article ,though I didn't get it complete.&lt;/p&gt;&lt;p&gt;Believe me you have a knack of putting things in a unique way !!! M loving it . :)&lt;/p&gt;&lt;p&gt;Last but not the least .. ..&lt;/p&gt;&lt;p&gt;NICE TO SEE GOOGLE AD'S FLASHING ON THE SCREEN ..  It's always Good to Earn while you learn ) :-)&lt;/p&gt;&lt;p&gt;Take care &lt;/p&gt;&lt;p&gt;--------------&lt;br&gt;Alok S. Rana &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alok</dc:creator><pubDate>Thu, 29 Dec 2011 02:39:36 -0000</pubDate></item><item><title>Re: 10 Things nobody tells the OpenGL noob</title><link>http://whackylabs.com/rants/?p=428#comment-396229489</link><description>&lt;p&gt;Awesome man .. !!! @sid with his best. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manojrana009</dc:creator><pubDate>Thu, 29 Dec 2011 00:11:49 -0000</pubDate></item><item><title>Re: Ultimate Algorithm: Death</title><link>http://whackylabs.com/rants/?p=303#comment-244747750</link><description>&lt;p&gt;Awesome Dude .. though i understand only few part of it ..still great i believe &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ALOK</dc:creator><pubDate>Thu, 07 Jul 2011 03:56:48 -0000</pubDate></item><item><title>Re: iOS: Moving in and out of NSLogs.</title><link>http://whackylabs.com/rants/?p=134#comment-210687664</link><description>&lt;p&gt;I import SJLogger.h, yes there's a warning and I'm planning on to upgrade the code to add conditional level flags like:DEADLY, WARNING, INFO,.. something like the Java's Logger class. &lt;br&gt;But for now its serving the purpose :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chunkyguy</dc:creator><pubDate>Tue, 24 May 2011 11:00:31 -0000</pubDate></item><item><title>Re: iOS: Moving in and out of NSLogs.</title><link>http://whackylabs.com/rants/?p=134#comment-210521096</link><description>&lt;p&gt;Thanks! And do you #import the SJLogger.h (I get some warnings but it works) or the SJLogger.m (I get an error) in the classes which use SJLog?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent Tarral</dc:creator><pubDate>Tue, 24 May 2011 05:50:02 -0000</pubDate></item><item><title>Re: My life in KEC</title><link>http://whackylabs.com/rants/?p=287#comment-203492052</link><description>&lt;p&gt;Great Work Sid &amp;gt;&amp;gt;&amp;gt; I Truly Admire You  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alok S. Rana</dc:creator><pubDate>Sat, 14 May 2011 05:32:41 -0000</pubDate></item><item><title>Re: My life in KEC</title><link>http://whackylabs.com/rants/?p=287#comment-171440417</link><description>&lt;p&gt;ha ha ha ha nice Sid&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nikhil Chandel</dc:creator><pubDate>Fri, 25 Mar 2011 00:51:05 -0000</pubDate></item><item><title>Re: Redundancy issue with Universal Projects’s AppDelegate classes</title><link>http://whackylabs.com/rants/?p=96#comment-161636696</link><description>&lt;p&gt;I will try this for sure.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">student loan</dc:creator><pubDate>Mon, 07 Mar 2011 00:35:45 -0000</pubDate></item><item><title>Re: Making singleton class secure</title><link>http://whackylabs.com/blog/?p=218#comment-151803178</link><description>&lt;p&gt;the __secret_init is just a random name that I've made so that I don't accidentally call it up from another class, more like a private method. You can of course by pass all that, doing something like:&lt;br&gt;+(World *)sharedWorld&lt;br&gt;{&lt;br&gt;    if(!_world) {&lt;br&gt;        _world = [[self alloc] init];&lt;br&gt;        [_world setup_world];&lt;br&gt;     }&lt;br&gt;    return _world;&lt;br&gt;}&lt;/p&gt;&lt;p&gt;The main idea is to just avoid accidental allocating a new instance of World class.&lt;br&gt;Raising new question: you've already done that :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chunkyguy</dc:creator><pubDate>Fri, 18 Feb 2011 17:16:25 -0000</pubDate></item><item><title>Re: Making singleton class secure</title><link>http://whackylabs.com/blog/?p=218#comment-150794355</link><description>&lt;p&gt;Hey great tutorial... but what is the use of method named "-(id)__secret_init"..&lt;br&gt;tell me one thing... how can i raise a new question on this portal?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">akd</dc:creator><pubDate>Thu, 17 Feb 2011 23:19:54 -0000</pubDate></item></channel></rss>