tag:blogger.com,1999:blog-5628760760285062902024-03-14T09:58:23.617+05:30Things Seen Through A WidescreenThe wider the better.Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-562876076028506290.post-32830600721397641232012-11-30T16:01:00.000+05:302012-12-05T00:15:39.094+05:30Streaming a FLV video with AS3/Flash/Flex from a URL without a Streaming Server<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPme8gjW0GOfOMoma1s4NQXz-yYgL_2Yu71eEBPnLvQhBViZqBvZIRnhkp9NCJbgLaBrNFMCMC8FW6Pc_aAO7WqZtjEKdzIuyh7gJfKIL-_s6wfr5QP1Y3AhkjCAofys7gFBJjV8llRio/s1600/ActionscriptIcon_401.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPme8gjW0GOfOMoma1s4NQXz-yYgL_2Yu71eEBPnLvQhBViZqBvZIRnhkp9NCJbgLaBrNFMCMC8FW6Pc_aAO7WqZtjEKdzIuyh7gJfKIL-_s6wfr5QP1Y3AhkjCAofys7gFBJjV8llRio/s320/ActionscriptIcon_401.png" style="background: transparent;" width="320" /></a></div>
<br />
Here's a code snippet to stream a FLV from a random source without a RTMP streaming server like Red 5/ FMS.<br />
<br />
<pre class="brush:as3;">
//You'll have to add the necessary imports
private var _video:Video; //Our video object
_video = new Video(640, 480);
private var _netConnection:NetConnection = new NetConnection();
_netConnection.connect(null); //No need of specifying a RTMP server!
private var _ns:NetStream = new NetStream(_netConnection);
_ns.addEventListener(NetStatusEvent.NET_STATUS, handleNetStatusPlay, false, 0, true);
_video.attachNetStream(_ns); //Attach our NetStream to our video object
_ns.client = new NetStreamUserClient(_ns);
var streamPath:String = "http://www.flvFilesSite.com/myFolder/myTestFLV.flv";
_ns.play(streamPath);
//Handle our NetStatusEvent
private function handleNetStatusPlay(e:NetStatusEvent):void
{
if (e.info.level == "error")
{
if (e.info.code == "NetStream.Play.StreamNotFound")
{
trace("FLV file does not exist!");
}
}
}
</pre>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b>Code for NetStreamUserClient</b></div>
<pre class="brush:as3;">
package
{
import flash.net.NetStream;
/**
* ...
* @author Rajesh Peter Douglas D'Monte
*/
public class NetStreamUserClient
{
public function NetStreamUserClient()
{
}
public function onCuePoint(infoObject:Object):void
{
trace("onCuePoint" + infoObject);
}
public function onMetaData(infoObject:Object):void
{
trace("onMetaData " + infoObject);
}
public function onPlayStatus(infoObject:Object):void
{
trace("onPlayStatus " + infoObject);
//Debug.print_r(infoObject);
if (infoObject.code == "NetStream.Play.Complete")
{
//FLV finished playing
}
}
}
}
</pre>
<strike>There are some formatting issues 'cause I haven't figured out how to display code properly on my blog.</strike><br />
<div style="text-align: left;">
<br /></div>
</div>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-33852722794339842772012-11-29T23:30:00.000+05:302012-12-05T00:08:36.024+05:30Super user (su) on Ubuntu Linux<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0RkQOIkoIgaKBU4xuoHZ6TCuwt7vZq0vJRRKcYsGjkqjAiXfKARSVc2N8xzFkze_GWUdAPvkaSTQO1SyzkvFMB1JMSZ6yFnmYkAMgfPHAFvsc_YCUkKflkFw58eO2kyU8xbAPbD37wCE/s1600/linux-root-account-security.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0RkQOIkoIgaKBU4xuoHZ6TCuwt7vZq0vJRRKcYsGjkqjAiXfKARSVc2N8xzFkze_GWUdAPvkaSTQO1SyzkvFMB1JMSZ6yFnmYkAMgfPHAFvsc_YCUkKflkFw58eO2kyU8xbAPbD37wCE/s1600/linux-root-account-security.png" style="background: transparent;" /></a></div>
<br />
This post is going to be very brief. I know a lot of you already know all this and more but I still have many friends who come and ask me how to access the <b>Super User </b>on Ubuntu Linux.<br />
<br />
They tell me that it keeps asking them for a password and then the blessed thing doesn't seem to login with their password. This is because they have set a password for themselves but not the root, though <i>sudo</i> would work nicely but some chaps want to be fancy and go all <i>su </i>on Ubuntu.<br />
<br />
So why does <i>su</i> not work with the password you set during Ubuntu's gui setup?<br />
This is because<i> </i>the super user password is NOT set. I repeat is NOT set by you during Ubuntu's GUI installation. Is it blank? No! Some random password is set for security purposes.<br />
<br />
Alright! So how the devil do you access <i>su </i>without going through some mucky cumbersome process of setting root's password.<br />
<br />
Simple!<br />
<br />
Go to the terminal (Ctrl + alt + T) (Default for Ubuntu Linux) and punch this in:<br />
<br />
<pre class="brush:bash;">
$ sudo su<br />
</pre>
<blockquote class="tr_bq">
[The system now prompts you for your <i>user </i>password. Enter it <i>Einstein</i>!]</blockquote>
<br />
Et voila! You are now in root in the current terminal session!<br />
<br />
<br />
<b>Note:</b> This method still doesn't set super user's password.<br />
<b>Disclaimer:</b> I am by no means an expert on Linux or the Unix family of operating systems. 'Nuff said.<br />
<b>Zoit:</b> I am a n00b at Linux.</div>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-27051983638413139392012-11-29T22:49:00.001+05:302012-11-29T23:00:30.199+05:30The 7 Deadly Sins & A Successful Website<div dir="ltr" style="text-align: left;" trbidi="on">
I read this a while back from somewhere I can't quite remember but maybe I thought of it on my own. Whichever way you look at it, this is probably insightful for those of you who are looking at starting a successful website or business. Yes this applies to businesses as well.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLSXgZF1TJbTmEpDQ162ILkHZ3zALSb3-0tXD5LrM-RrIP2XuDN23WwvKIrMoZChGb7Jecl6X380XxnLWrJlfotGC7zWzTCghhn-Vcro6P7BJsXZBVxB_yjVPkMcQMU9uiYhIPPx1pIlI/s1600/7deadlysins.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLSXgZF1TJbTmEpDQ162ILkHZ3zALSb3-0tXD5LrM-RrIP2XuDN23WwvKIrMoZChGb7Jecl6X380XxnLWrJlfotGC7zWzTCghhn-Vcro6P7BJsXZBVxB_yjVPkMcQMU9uiYhIPPx1pIlI/s320/7deadlysins.jpg" width="320" /></a></div>
<br />
<br />
<b>Q1:</b> When can you say your business is successful?<br />
<br />
<b>A1:</b> When it makes the monies.<br />
<br />
<b>Q2:</b> How do you get there?<br />
<b>A2:</b> You address a need<br />
<br />
<b>Q3:</b> WTF, but them peoples all got food, clothing and shelter (I guess you are targeting the part of the human population that <i>ACTUALLY </i>has the monies to spend) So what need do I need to address?<br />
<b>A3:</b> If you are creative and <i>intelligent </i>you can address a need like the way Edison (God rest his soul) built the light bulb. So go find some part of human life that can be made better and you could get a successful business running mehn!<br />
<br />
<b>Q4:</b> Blah, I'm dumb. My middle name is stupid and my last name is sloth what now?<br />
<b>A4:</b> Prey on any of the 7 deadly sins (Sounding as clich<span style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19.200000762939453px;">e</span> as possible my brotha')<br />
<br />
Blah blah blah.. yeah so..<br />
<br />
Look at all the successful sites around you, most of them if not all prey on three or more of the 7 deadly sins.<br />
Examples include Facebook, MySpace etc<br />
<br />
Facebook is fueled by envy and pride among other deadly sins. I'm not dissing the site, it also has a lot of <i>nice nice </i>merits like keeping people <i>connected </i>and shit like that but hey, most of the *h*** you k*** that use it go on th*** and get h****** on for obvious reasons. (I've censored some of this koohawky 'cause I didn't want to s***d s*****)<br />
<br />
Oh and here's a list of the 7 deadly sins for those of us that didn't attend Sunday Catechism class.<br />
Lust, gluttony, pride, envy, greed, sloth and wrath.<br />
<br />
<b>Have at it:</b> <a href="http://en.wikipedia.org/wiki/Seven_deadly_sins">http://en.wikipedia.org/wiki/Seven_deadly_sins</a><br />
<br />
So you want to make the monies? Want to get kazillions of hits a day on your <i>all so awesome</i> website? Go prey on your friends worst. Would I do this? Maybe. I don't really know, I don't really go out of my way and ask myself, <i>How can I make my project prey on my friends worst? </i>I just build what I find fun to build.<br />
<br />
That's all.<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIIPtw7Q1YaMtC4V75U7hmnyPKbnmKJ3IExb_0baBx97uXWzMlQ3ImvH8xe8sqRZMGODE9Vxgvt6UKP3VrpEmX5Z2jq2IbL0w056q1EBd473Y_gJcgRaLMnZTtpuKClUD6L0QvuHFpwq0/s1600/Teeth.png" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIIPtw7Q1YaMtC4V75U7hmnyPKbnmKJ3IExb_0baBx97uXWzMlQ3ImvH8xe8sqRZMGODE9Vxgvt6UKP3VrpEmX5Z2jq2IbL0w056q1EBd473Y_gJcgRaLMnZTtpuKClUD6L0QvuHFpwq0/s1600/Teeth.png" style="background: transparent;" /></a><br />
<b style="font-size: x-small;"><u><br /></u></b>
<b style="font-size: x-small;"><u><br /></u></b>
<b style="font-size: x-small;"><u>ZOIT:</u> What I told my friend when I wrote this blog post: Mehn, I'm writing useful shit and all man.</b></div>
Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-29452397938177502902012-11-29T18:15:00.002+05:302012-11-29T20:57:58.989+05:30Updating an Azure Service Project when Publishing fails<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Foreword:</b><br />
This post is for Windows Azure users who are using Windows Azure PowerShell cmdlets to fool around with your Azure Service's<br />
<br />
<b>Tally ho:</b><br />
In case for some reason <b>Publish-AzureServiceProject</b> returns a bunch of cryptic errors that you don't care to understand. I would strongly recommend using<b> Set-AzureDeployment.</b><br />
<b><br /></b>
Set-AzureDeployment requires a properly rebuilt cspkg Package. There are various ways that you can google to know how to rebuild the cspkg. I simply issue a <b>Publish-AzureServiceProject</b> command and when it reaches the <i>uploading part, </i>I <i><b>ctrl-c</b></i> and that exits the process prematurely without it going through the whole rigmarole and then getting stuck at those aforementioned cryptic errors.<br />
<br />
Oh and make sure you use the <b>-Force</b> command when calling <b>Set-AzureDeployment.</b><br />
<b><br /></b>
<b><u>And here's a bloody good example (or so I like to think):</u></b><br />
<b><u><br /></u></b>
<br />
<blockquote class="tr_bq">
PS X:\ProjectsAndShit\MyServiceProjectFolder> set-azuredeployment -Upgrade -ServiceName "MyService" -Mode Auto -Package "X:\ProjectsAndShit\MyServiceProjectFolder\cloud_package.cspkg" -Configuration "X:\ProjectsAndShit\MyServiceProjectFolder\ServiceConfiguration.Cloud.cscfg" <i>-Force</i></blockquote>
<i><br /></i>
The above command (change paths and project name etc where ever applicable [like D'oh]) will do its mumbo jumbo and then ask you to enter a Slot. You have a choice, Production or Staging and you choose whatever the hell fits your bill. (Red pill/Blue pill sorta thing). Like so...<br />
<br />
<blockquote class="tr_bq">
<b>Slot: Production</b></blockquote>
<b><br /></b>
That's it. Hope this helps you peoples!<br />
<div style="font-weight: bold;">
<br /></div>
</div>
Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-82336014630776547462011-10-01T22:54:00.000+05:302011-10-01T22:54:05.656+05:30Danny MacAskill - "Way Back Home"<div dir="ltr" style="text-align: left;" trbidi="on">This is awesome.!<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/Cj6ho1-G6tw" width="560"></iframe></div>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-30720199316574754032011-08-12T17:37:00.004+05:302011-08-12T17:41:47.001+05:30Spin - ASDSpin by ASD 1080p HQ HD 1st place @ Assembly 2011 (Completely realtime)
<br />
<br />This is a must watch:
<br />
<br /><iframe width="560" height="349" src="http://www.youtube.com/embed/0G2OhgnIpe8" frameborder="0" allowfullscreen></iframe>
<br />
<br />And visit deusmatic also sometime if you are bored :D for awesome free games!!!
<br /><blockquote><a href="http://www.deusmatic.com">www.deusmatic.com</a></blockquote>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-48628093091494311002011-08-03T15:32:00.007+05:302011-08-03T15:53:42.986+05:30Flash vs HTML5 (Strictly Gaming)<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.deusmatic.com" target="_blank"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 300px; height: 250px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxE-Ww9zPhZeQDIDU-07REiZ4jUERltMEvLDR6T5tTdOWttPf3LBMc1q08t31GseI9fbzRshKtHUsXcG-u5i_5xu9mPnEFeld040eBwrpkm1cHUodcByBNDHtoJBSbT0Rqx8PdFfz3g8Y/s320/deusmatic_ad_default.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5636572178142790946" /></a><br />Its been a while since my last post. This is due to the fact I like making games more than writing about what I've done or doing. So anyway, I started a little Flash game portal and was exploring ways to also support HTML5 games so that I could target Ipad users as well. However I ran into a number of bottlenecks, besides the fact that Mochi does not support serving ads on HTML5 (Forcing me to only show Google ads) which affected my monetization methods (Not a big deal 'cause I don't really give a rats ass about revenue atleast right now). I did however run into a NUMBER of technical bottle necks. SAFARI on the Ipad runs canvas at snail's pace. This really shot by blood pressure up a few notches because Steve Jobs said that Flash wasn't on IOS devices because it according to him drained battery power really fast and underperformed. This is absolute bollocks because Flash runs perfectly fine and better than that piece of shit browser Safari on a jailbroken Ipad and besides Flash runs perfectly on a myriad of mobile devices. Steve tell me, why can't iOS devices run what many devices run perfectly? There are a lot of flash games out there for free that are of substantially higher quality than most paid-for Apple appstore games. Anyway right now, HTML5 performs OK on browsers like firefox and chrome and even IE9 to a certain extent. But can I port some of my existing flash games to HTML5? Possibly but its just not worth it because HTML5 runs like shit on the IPAD and the only reason to make HTML5 games right now is if you wanted to target the IPAD, IPHONE etc. Flash runs perfectly fine on Windows, MacOS and Linux. I test my flash games on browsers on all these operating systems. MacOS performs the worst generally but then again even MacOS native games run crap compared to windows. (Ever tried Quake4 MacOS vs Quake4 windows?). I don't want to come off as a MS fanboy but with Windows 7 and DirectX 10/11 and the developement environment for windows, makes windows an outstanding platform followed by Linux. Linux is amazing too, atleast for programmers :D. Anyway I'm sticking to flash and oh, I almost forgot to mention. I started a little Flash Game portal and I'm enjoying developing. <br /><br /><br />Please visit <a href="http://www.deusmatic.com">http://www.deusmatic.com</a><br /><br />P.S. This is not a shameless plug for my Flash game site thing :D What the hell I care if you think otherwise? :DRajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-25341780253910974442010-01-10T16:46:00.008+05:302010-01-11T10:41:21.323+05:30Still Alive!!!This post is to tell y'all that this blog ain't dead. And some nice games headed your way! <br /><br />In the meanwhile, this is a must see,<br />for those who want to know what its about: Its a tribute to <a href="http://en.wikipedia.org/wiki/John_Williams" target = "_BLANK">John Williams</a>, and it has lyrics pertaining to STAR WARS!!!!!!!!! :D :D<br /><br /><object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/lk5_OSsawz4&hl=en_US&fs=1&color1=0x3a3a3a&color2=0x999999&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lk5_OSsawz4&hl=en_US&fs=1&color1=0x3a3a3a&color2=0x999999&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-36759065018216133832008-04-11T17:19:00.004+05:302008-04-11T17:36:21.062+05:30Materials and ShadersFor those of you implementing a material system, this may be useful. I'm going to share my experiences making my "uber" shader. Well to be honest, its not as "uber" as it sounds, but nevertherless, it gets the job done. I created 1 effect with all my per pixel lighting code. (CgFX, I'm using NVIDIA Cg). In that effect I simply made a permutation of passes for all the possible materials we'll be using in our game/engine. The scene manager binds the appropriate pass and efficiently batch renders everything. For example, if my material had a diffuse map, gloss map (specular map) and it was parallax mapped, then, I'd name my pass DGNP, D for diffuse, G for gloss, N for normal required, and P for height map (required for parallax mapping). So what you notice here is, all the letters in the pass' s name are in accordance with the ordering of the English Alphabet. This makes it easy for the scene manager to refer to materials based on letters.<br /><br />Here are some screens, the FPS is pretty low because I had some processes and graphics applications running in the background.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLI81k9jM6yWSdX3V10NR_cBWKXEZZ07PoROj6xbuXF9-jgkR0uWd2KxM31bEoedtx3DZ5Ya1GJxVKixs7iqDRJ_9HucKkJ93ZInyq-4EIs1jy-ir5dfYwYzlq1IlvxzjxhddEO8QnM4w/s1600-h/Screen_63.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLI81k9jM6yWSdX3V10NR_cBWKXEZZ07PoROj6xbuXF9-jgkR0uWd2KxM31bEoedtx3DZ5Ya1GJxVKixs7iqDRJ_9HucKkJ93ZInyq-4EIs1jy-ir5dfYwYzlq1IlvxzjxhddEO8QnM4w/s400/Screen_63.jpg" alt="" id="BLOGGER_PHOTO_ID_5187957696752584914" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLWZNqZyBgiiC7vffDQ5Uw_DtQSL9-lv-9MDH8aKZLSG5JWWALgCv8koEzmwM0htWF9_HjOu-Im4SJl4j1e3QQWBPFhcPRJ2cmTZFUtU5dYPifsPxU43cbXj31-O6jSq9LWgPWQZFkWcY/s1600-h/Screen_62.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLWZNqZyBgiiC7vffDQ5Uw_DtQSL9-lv-9MDH8aKZLSG5JWWALgCv8koEzmwM0htWF9_HjOu-Im4SJl4j1e3QQWBPFhcPRJ2cmTZFUtU5dYPifsPxU43cbXj31-O6jSq9LWgPWQZFkWcY/s400/Screen_62.jpg" alt="" id="BLOGGER_PHOTO_ID_5187957701047552226" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZZHFg9sit5-9i3RtbpYWs0tseIakycc4084KHUNPFkRYHmRavrTGGtOwAyVZO2NGeBsYHnn67c9tnZihysZ-Vu3iRzMGQPIOui-93k_kLLu7i7Ymmh5vGYGXtu1kAFy5ESvuE8GZPuYs/s1600-h/Screen_42.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZZHFg9sit5-9i3RtbpYWs0tseIakycc4084KHUNPFkRYHmRavrTGGtOwAyVZO2NGeBsYHnn67c9tnZihysZ-Vu3iRzMGQPIOui-93k_kLLu7i7Ymmh5vGYGXtu1kAFy5ESvuE8GZPuYs/s400/Screen_42.jpg" alt="" id="BLOGGER_PHOTO_ID_5187957701047552242" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF_Jke3hZZlEubPd-JmSWCGR__WGuK4ALwrdHQH07L8ZsNnAPUGt_Wy4nvlymjtvqslw8rWGvtYLN2Uh2oCMw6jGAkMybFdFwU1we4ZmpeAVPG7Vxf93OPmvo0xLJQf42ZvreUFD7GHS8/s1600-h/Screen_37.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF_Jke3hZZlEubPd-JmSWCGR__WGuK4ALwrdHQH07L8ZsNnAPUGt_Wy4nvlymjtvqslw8rWGvtYLN2Uh2oCMw6jGAkMybFdFwU1we4ZmpeAVPG7Vxf93OPmvo0xLJQf42ZvreUFD7GHS8/s400/Screen_37.jpg" alt="" id="BLOGGER_PHOTO_ID_5187957705342519554" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq_zh9sNnIjeMJ1LtpiBARaa9BiKekXwF3KhNu3uHcKxZqDIzh3yDlsO0J4dPjf0czc6VNs7G4GcdBO82A7TFmqc1Nk7vqzrHinQVKWu0fyQ9JDQCF4Fm7iG0IURLr42ZWFdkIuXtYKEA/s1600-h/Screen_33.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq_zh9sNnIjeMJ1LtpiBARaa9BiKekXwF3KhNu3uHcKxZqDIzh3yDlsO0J4dPjf0czc6VNs7G4GcdBO82A7TFmqc1Nk7vqzrHinQVKWu0fyQ9JDQCF4Fm7iG0IURLr42ZWFdkIuXtYKEA/s400/Screen_33.jpg" alt="" id="BLOGGER_PHOTO_ID_5187957705342519570" border="0" /></a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-34688370208656025422008-04-08T15:20:00.006+05:302008-04-08T15:43:20.277+05:30Real time water demoThis is a real time water demo. The waves are all layered normal mapped layers. It is based on the GPU Gems 2 article by Tiago Sousa (Crytek), titled, "Generic Refraction Simulation". The shader I wrote has a few modifications and added support for geometric waves. Anyway, see the video,<br /><br /><div style="text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='497' height='412' src='https://www.blogger.com/video.g?token=AD6v5dxMi7GsAwOlYochmJsoouzf5nQcc9wiikSzr7L6Cf4F2Vc4VXOYy7CAaKXDryxBRdunUhTgwwNxLugtEA60Qg' class='b-hbp-video b-uploaded' frameborder='0'></iframe></div>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-73660741986945200062008-04-04T14:09:00.008+05:302008-04-04T14:36:51.535+05:30The Galaxy GeForce 8600GT Factory OC<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDoqGOuwSE50RfwAZERdJLnxmZHkTmPmW8YZneD2lzDy17Kq-wSiValP3qjXw6T4klz-z2XFWEHuKPtmv8ZRnZbsXvn00ggb9zLjZAiEVdWrk2rK3MZkl3iN1gLv5Ezu3XZQN9yuS7CBc/s1600-h/20070903113321281.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDoqGOuwSE50RfwAZERdJLnxmZHkTmPmW8YZneD2lzDy17Kq-wSiValP3qjXw6T4klz-z2XFWEHuKPtmv8ZRnZbsXvn00ggb9zLjZAiEVdWrk2rK3MZkl3iN1gLv5Ezu3XZQN9yuS7CBc/s400/20070903113321281.jpg" alt="" id="BLOGGER_PHOTO_ID_5185314012330637074" border="0" /></a><br />This post is dedicated towards my trusty GeForce 8600GT manufactured by Galaxy and is factory over clocked (OC). I bought this graphics card about a year and a half ago, of course, relative to the time I posted this post. Now this card has been going strong for all this time and its time I talked about it. I bought it in Chennai, India, at that time for about Rs. 9000 which is rougly $226 (USD). Which I think was a reasonable price for the time. The core clock is about 600 MHz, but what I'd like to add is "DON'T SEE SPECS". Use card specifications as a guideline, but, for the ultimate test of truth I'd suggest to run a game or two, with the graphics card/motherboard combination (motherboard is very influential in performance) or even better run a program you made that used a lot of shaders (That is if your a graphics engineer). Here are some test results for a few games, with this card and the ASUS M2N E-SLI motherboard. These aren't extensive results, just the frame rates. All games were tested on the highest possible settings with only resolution and anti aliasing varying. The frame rates were recorded using Fraps (<a href="http://www.fraps.com/">http://www.fraps.com/</a>). All frame rates are approximate.<br /><br /><span style="font-weight: bold;">Game:</span> Doom 3<br /><ul><li>FPS: 84</li><li>Resolution: 1280x1024</li><li>Antialiasing: 2x</li></ul><br /><span style="font-weight: bold;">Game:</span> Need for Speed: Most Wanted<br /><ul><li>FPS: 79</li><li>Resolution: 1280x1024</li><li>Antialiasing: 4x</li></ul><span style="font-weight: bold;">Game: </span>S.T.A.L.K.E.R<br /><ul><li>FPS: 39</li><li>Resolution: 1280x1024</li><li>Antialiasing: On (Unknown/Not sure/Don't remember)</li></ul><span style="font-weight: bold;">Game:</span> FarCry<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br /><ul><li>FPS: 109</li><li>Resolution: 1280x1024</li><li>Antialiasing: 2x</li></ul><span style="font-weight: bold;">Game: </span>Crysis (Very High Setting)<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br /> <ul><li>FPS: 18</li><li>Resolution: 800x600</li><li>Antialiasing: 0x</li></ul><span style="font-weight: bold;">Game: </span>Crysis (Very High Setting)<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br /> <ul><li>FPS: 15</li><li>Resolution: 800x600</li><li>Antialiasing: 2x</li></ul><span style="font-weight: bold;">Game: </span>Crysis (Very High Setting)<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br /> <ul><li>FPS: 4 - 7<br /></li><li>Resolution: 800x600</li><li>Antialiasing: 16x<br /></li></ul>Thats about it for now, I may post more about more games, such as Gears of War, Medal of Honour: Airborne etc. Pretty old for now, but good nonetheless.<br /><br />Right now, if your a poor teenager, you can probably buy this card for about 104 USD, atleast here in India.<br /><br />The card manufacturer site is: <a href="http://www.galaxytech.com/">http://www.galaxytech.com/</a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-10651748324955419722008-04-03T18:19:00.006+05:302008-04-06T10:16:20.526+05:30Experiments with SSAO (Screen Space Ambient Occlusion)Its been a real long time since I last posted. So I thought I'd post something. I've been experimenting with the Screen Space Ambient Occlusion (SSAO). The fancy name that was used in Martin Mittring's (Crytek) presentation "Finding Next Gen – CryEngine 2" presented at Siggraph 2007. For those of you who've had the privilege of having played Crysis on the Very High or High settings would notice some immensely cool shading on all the geometry, even though there might not have been more than 1 light in the scene. This is thanks to a crude approximation of an approximation. (Since Ambient Occlusion is in itself an approximation to the indirect lighting problem). This is called Screen Space Ambient Occlusion and is a dynamic Ambient Occlusion method which doesn't need pre processing.<br /><br />I implemented SSAO in the game engine I'm working on and the results were good, but not as spectacular as I expected. I used 2 color attachments (2 render targets for those more familiar with directX) for the initial rendering of the scene. The second color attachment I used for storing ModelView transformed direction vectors to each pixel on the screen (Eye space normalized eye vectors) and in the alpha component I stored the ModelView distance. Now whats to note here is, SSAO is not only dynamic but also is applied as a post process to the scene. So you can probably add it to your HDR/DOF pass. Just recover the 3D point at that pixel and then compare it with some 3D points around that point in a hemisphere. Then apply noise.<br /><br />Inigo of RGBA demoscene group explains in this page: <a href="http://rgba.scenesp.org/iq/computer/articles/ssao/ssao.htm">http://rgba.scenesp.org/iq/computer/articles/ssao/ssao.htm</a><br /><br />But for some reason his method didn't work directly for me. For example the projection he performs in his loop for the 32 hemisphere 3D points a multiplication with<br /><pre><span><span class="codigo">vec2(.75,1.0); but I found that </span></span><span><span class="codigo">(.78,1.0); works precisely. Well for me atleast.<br />You can always try using a gaussian blurred scene texture as a replacement for the 32<br />iterations. It worked as well as the SSAO in Crysis but with thick white borders.<br />Anyway, onto screens,<br /><br /><span style="font-weight: bold;">Without SSAO:</span><br /></span></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJelIgCZb-Rs64P6XMt5_i0R7KldQCylVoGC7xQ4CU1Lbgh5hbznTzF8nEGp_6Mlgn5ghA8j7R94Xe4sxa6C4PQHoGTv68abkZvGCqBYwwpNKwts-qiFILGsWFzHiOwGoBvKO4wabWQmE/s1600-h/Screen_129.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJelIgCZb-Rs64P6XMt5_i0R7KldQCylVoGC7xQ4CU1Lbgh5hbznTzF8nEGp_6Mlgn5ghA8j7R94Xe4sxa6C4PQHoGTv68abkZvGCqBYwwpNKwts-qiFILGsWFzHiOwGoBvKO4wabWQmE/s400/Screen_129.jpg" alt="" id="BLOGGER_PHOTO_ID_5185021207230199522" border="0" /></a><br /><br /><span style="font-weight: bold;">With SSAO:</span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcODPgzpFfu5NJVvlyTrsE-VMmP3GLXTzzdG7om2UiOPBminPCfFvPWQqolOwDCBRxEVwLHTN2Ygr9c1qu9aMj2mygQwHxjh6QAHeZez-NMEDpnWMKfDw0pRRGprb5fIsvfI1ASYGwzbA/s1600-h/Screen_130.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcODPgzpFfu5NJVvlyTrsE-VMmP3GLXTzzdG7om2UiOPBminPCfFvPWQqolOwDCBRxEVwLHTN2Ygr9c1qu9aMj2mygQwHxjh6QAHeZez-NMEDpnWMKfDw0pRRGprb5fIsvfI1ASYGwzbA/s400/Screen_130.jpg" alt="" id="BLOGGER_PHOTO_ID_5185021211525166834" border="0" /></a><br /><br /><br /><span style="font-weight: bold;">SSAO Contribution to the scene looks like this:<br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5lxeFRBqpTtQOgONxHdbv3_n2wG0YQQqUsqPjFVVXPv91iNNeY1_LfkTcSMT5l3Yt_QGezKoarsW2NSwoZ5-3pOnbHCaUuayVliF6JIrk5cCGEoWP8Xns0JB67Da7ZFwLW9ecLLEhJQQ/s1600-h/Screen_121.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5lxeFRBqpTtQOgONxHdbv3_n2wG0YQQqUsqPjFVVXPv91iNNeY1_LfkTcSMT5l3Yt_QGezKoarsW2NSwoZ5-3pOnbHCaUuayVliF6JIrk5cCGEoWP8Xns0JB67Da7ZFwLW9ecLLEhJQQ/s400/Screen_121.jpg" alt="" id="BLOGGER_PHOTO_ID_5185021898719934210" border="0" /></a><br /><span style="font-weight: bold;"><br /></span><span><br />Hope this was useful, I'll probably put some screens and details about my uber<br />per pixel lighting shader next time, or may be some OMNI directional light sources<br />that cast shadows. Its pretty old, and even my implementation was done a long time<br />ago.<br /><br />Apart from the above algorithm, I did implement SSAO with extremely good results<br />(similar to Crysis and twice as fast) with a gaussian texture obtained from my<br />bloom pass. But unfortunately I got some ugly artifacts on the border (Outlines).<br />If anybody manages to fix this, please tell me!<br /><br />Here are some images of SSAO which uses the Gaussian texture.<br /><br />I used this equation:<br />AmbientOcclusion(x,y) = 255 + GaussianAverage(x,y,sigma) - PixelValue(x,y)<br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT1uCcvqXgzwrCCbdDbm1kFXzESVXWMBpbIEp9RmcFP8SvIV835xErtuovNONt_M9pnKtHL2ipeLM1nTZpy463G_8zTeI8KJrPAZ9wydDkh8CQgzB_aQvlfXrnTwJgky6wnodrJimuRHM/s1600-h/Screen_98.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT1uCcvqXgzwrCCbdDbm1kFXzESVXWMBpbIEp9RmcFP8SvIV835xErtuovNONt_M9pnKtHL2ipeLM1nTZpy463G_8zTeI8KJrPAZ9wydDkh8CQgzB_aQvlfXrnTwJgky6wnodrJimuRHM/s400/Screen_98.jpg" alt="" id="BLOGGER_PHOTO_ID_5185988524059572002" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDVgBDI8KDN3NR6v02DDu-DinzE0vsouWg3VAcGI-oF08F-UyYAjVh5hC6DGwkCRQoY8YF3BwxLmvYlceQKVEt0B468izfmTbugKBs5DUu9NB6GckzaU3syD72gpW8ZpjAeCd5TDAvgxA/s1600-h/Screen_100.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDVgBDI8KDN3NR6v02DDu-DinzE0vsouWg3VAcGI-oF08F-UyYAjVh5hC6DGwkCRQoY8YF3BwxLmvYlceQKVEt0B468izfmTbugKBs5DUu9NB6GckzaU3syD72gpW8ZpjAeCd5TDAvgxA/s400/Screen_100.jpg" alt="" id="BLOGGER_PHOTO_ID_5185988524059572018" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgtIYtJ5S7JkQkTP_5q0HdUGE99Bq2fW8O2zz2CcaoVs5iKa03epeMKC9g8DivPoAgegbcTeazrQM2-6H0b_C2tOMEhG-ViO7FG_S48NJa1gqDP40pqlbOaRTWstwJ8MQxbvGDDKlzwMM/s1600-h/Screen_108.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgtIYtJ5S7JkQkTP_5q0HdUGE99Bq2fW8O2zz2CcaoVs5iKa03epeMKC9g8DivPoAgegbcTeazrQM2-6H0b_C2tOMEhG-ViO7FG_S48NJa1gqDP40pqlbOaRTWstwJ8MQxbvGDDKlzwMM/s400/Screen_108.jpg" alt="" id="BLOGGER_PHOTO_ID_5185988528354539330" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgieXAUNtS0rXDLFXoei6dEJ8mab383Z3uEFEWMILlsk5P4V_YERghCQWVl0nnBpfJFj2iHPAc63ZHtx5-6DVYr1dUq8F_xp95lNm0f9UDJAMaGXJUGYMsxcqsyW6Mk8Un0JHaV2HHLcm0/s1600-h/Screen_109.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgieXAUNtS0rXDLFXoei6dEJ8mab383Z3uEFEWMILlsk5P4V_YERghCQWVl0nnBpfJFj2iHPAc63ZHtx5-6DVYr1dUq8F_xp95lNm0f9UDJAMaGXJUGYMsxcqsyW6Mk8Un0JHaV2HHLcm0/s400/Screen_109.jpg" alt="" id="BLOGGER_PHOTO_ID_5185988528354539346" border="0" /></a></pre>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-16124461643148193102007-10-24T12:10:00.000+05:302007-10-24T12:14:21.007+05:30Project BlitzkriegCheck out: <a href="http://www.projectblitzkrieg.blogspot.com/">http://www.projectblitzkrieg.blogspot.com/</a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-33396767526506376702007-08-12T21:19:00.000+05:302007-08-12T23:28:22.134+05:30After a long time<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI7xZz2Tigmr4nO_VhqVU-f-oj0WsJjml80EXoV8K04Q-Mlh7xVtYMGzbvswNy5jRPQ6oPdHcWtk-rA0Ch1VU2cehfTYqFnZ5XKUMsPBquFUZ5xImFkCwaCkep0JUb2AeOy6NpENyXlKc/s1600-h/Screen_50.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI7xZz2Tigmr4nO_VhqVU-f-oj0WsJjml80EXoV8K04Q-Mlh7xVtYMGzbvswNy5jRPQ6oPdHcWtk-rA0Ch1VU2cehfTYqFnZ5XKUMsPBquFUZ5xImFkCwaCkep0JUb2AeOy6NpENyXlKc/s400/Screen_50.jpg" alt="" id="BLOGGER_PHOTO_ID_5097843562801444802" border="0" /></a><br />Its been a while since I posted here. The reason being: Been very very busy. Will take too long to type about. So anyway.. enjoy eye candy. The picture demonstrates celshadingRajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-39636993190074913852007-04-03T15:11:00.000+05:302007-04-03T15:26:11.144+05:30Static Library to DLLAfter a day's slogging over my code for the engine's static library, I finally managed to make it a DLL. Surprisingly it was real easy exporting the classes in a DLL. Just do this... <br /><br />#define DLL_EXPORT __declspec(dllexport)<br />#define DLL_IMPORT __declspec(dllimport) //Client view<br /><br />class DLL_EXPORT<br />{<br /><br />};<br /><br />But setting up VS 2005 took a bit long. That was the most annoying part. To save you any future compilation issues, never compile your release build with a debug build dll :D. Always make sure your build configuration is correct. Apart from that, the DLL works like a charm. YAY no more complete re builds after an engine update is made.Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-15605194339567357062007-03-04T02:13:00.000+05:302007-03-04T02:27:42.916+05:30The interview with The Hindu NewspaperDue to requests from many friends to find the article that the Hindu Newspaper (Metro Plus Chennai) that was published about my team and I in 2005 while we were doing our 11th standard in Don Bosco, I took up the painstaking task to find the article in the Metro Plus articles archive.... so without further ado, here is the link,<br /><a href="http://www.hinduonnet.com/thehindu/mp/2005/07/20/stories/2005072000280100.htm">Metro Plus, Chennai 20-07-2005</a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-28080362526331680932007-02-27T11:04:00.000+05:302007-02-27T11:13:05.968+05:30The best browser everThere are many browsers out there, but the safest perhaps is the Mozilla Firefox browser. I've been using it for quite sometime now and there have been no trojans or spyware at all on my comp. Also the Firefox browser is tremendously faster than most if not all mainstream browsers. If you don't have the firefox browser, I suggest you download it. <span style="font-weight:bold;">And to make matters easier, I've provided a link above, its below the page title and the search bar. Download Firefox now directly from the link above to enjoy a better browsing experience</span>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-68004011289788499952007-02-24T19:31:00.000+05:302007-02-24T19:38:17.111+05:30Fiddling with Microsoft XNAI got the Microsoft XNA Game Studio Express about 2 weeks back and it seemed pretty nice but as you would have guessed its exclusively for the C# language, which after all is a managed language. The learning curve for XNA is pretty much not steep at all and even an ordinary coder could crack out a DirectX application is just a matter of hours. Will this kind of development last? Well thats a tough question and the answer is best given by whats going to happen, but the way I look at it is that its going to be pretty beneficial to quantity but not quality. I wonder if you can make custom ASM routines in C#. The devil with all that, I'm quite sure that developing games for the XBOX 360 is going to be a very pleasant process but as a coder who's been in the trenches for quite some time, give me good old C/C++ with ASM any day.Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-11780612886400516152007-02-19T00:23:00.000+05:302007-02-19T00:31:49.136+05:30Update to Flight GameFinally the long awaited update to the flight action game I have been building is done. Now, the target and target queue system is ready, so you can cycle through targets using the 'B' key and if its lockable, you can fire a missile. Even if no target is locked, you can still fire missiles, but they'll probably hit nothing, so there's no point in firing them right? Apart from this, the Game code has been made more OOP and the motion blur in the engine has been made a little less expensive in terms of CPU cycles. The Heads up display (which at present is just the target display) even shows enemies that are off screen. The miniature map now is textured, and the texture's resolution is 4 times less than the original map texture's resolution.<br />Apart from this, the AI has been slightly improved and is now kicking arse, although I haven't written the code for the AI to launch missiles, it will be done in a day or so. Stay tuned, a download-able demo is coming soon!<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA5wDATLYkVCLCLwG2yq7hWyZ8K1uE0RRpUmlG_slEkacMVX1_brkorj7KtUf3p8RQSAHpaFbn16y9twJ8Pz06qWZS6iM-heqZMhXogTxx4tFqrv_dkVyP99DiLzxJM-P6jyO28Kycfjs/s1600-h/scr_71.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA5wDATLYkVCLCLwG2yq7hWyZ8K1uE0RRpUmlG_slEkacMVX1_brkorj7KtUf3p8RQSAHpaFbn16y9twJ8Pz06qWZS6iM-heqZMhXogTxx4tFqrv_dkVyP99DiLzxJM-P6jyO28Kycfjs/s400/scr_71.jpg" alt="" id="BLOGGER_PHOTO_ID_5032951289347531938" border="0" /></a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-13337625302861848482007-02-11T22:55:00.000+05:302007-02-22T23:08:56.769+05:30Collision of the ballsHere is a flash physics simulation I built few months back when I was fiddling around with flash, conclusion: flash can yet still be powerful enough to make some really neat games with interactive physical simulations, it uses an euler integration method with step function (duh!) blah blah blah, anyway, here it is, <b>note:</b> <span style="font-style: italic;">you can drag the balls around<br /><br />Edit: I've removed the flash from running within the blog environment due to some technical issues. Please click the below link to use this Flash Toy<br /></span><br /><h3><a href="http://www40.websamba.com/havokentity/collisions2.swf" target="_blank">click here to run the flash in a new page</a></h3>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-52803592459676875752007-02-11T12:31:00.000+05:302007-02-11T12:45:49.351+05:30Technical Demo of my Game Framework<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW08dRQWyzDoyEaz2t0SuawFJsKREXUXQWlLyYw6FWDG902PSy3l3uqd8Kx2wCIcOmX2QRR9JsHMU28l2p3Yxm9d0fNNjqPzvtkICS-jcFN7ls0jyPnXfnaVyPOMRBaWUJCVV3rJd5PVs/s1600-h/scr_9.jpg"><img style="cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW08dRQWyzDoyEaz2t0SuawFJsKREXUXQWlLyYw6FWDG902PSy3l3uqd8Kx2wCIcOmX2QRR9JsHMU28l2p3Yxm9d0fNNjqPzvtkICS-jcFN7ls0jyPnXfnaVyPOMRBaWUJCVV3rJd5PVs/s400/scr_9.jpg" alt="" id="BLOGGER_PHOTO_ID_5030171547858855058" border="0" /></a><br />Since there are no instructions whatsoever in the demo (wasn't meant for public release :P), here's how to use it, (the links are at the bottom of this post)<br /><br /><span style="font-weight: bold;">General Instructions:</span><br />* Use the menu to disable AI for a plane so that you can control it.<br />* C key to change the camera<br />* Arrow keys for flight control, uses <span style="font-style: italic;">Inverted Y control,</span> so down arrow key <span style="font-style: italic;">Pulls up<br />* </span>Control key - Increase thrust, Shift Key - Decrease thrust<br />* <span style="font-weight: bold;">Hold M key</span> - To disable Mouse Stick control, releasing the latter enables Mouse Stick again<br />* Space - Fire cannon (cannon can aim, it shoots towards the designated mouse marker)<br />* Collision with terrain = destruction, so watch out<br />* 10 shots of cannon to destroy a plane.<br />* Explosions have particle system<br />* W/A/S/D works only in free Camera (Camera 0)<br /><br /><span style="font-weight: bold;">Installation:</span><br />* Download and Extract to a folder<br />* Download DLL's and extract to folder.<br />* Run the application :D<br /><br /><span style="font-weight: bold;">Download links:</span><br /><a href="http://www40.websamba.com/havokentity/Terrain090107.rar">Download Demo</a><br /><a href="http://www40.websamba.com/havokentity/Openglwin32framework.rar">Download Required DLL's</a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-68792295249346455482007-02-10T11:58:00.000+05:302007-02-10T13:34:22.660+05:30Flash Air Hockey game by MeDue to popular demand once again, I'm putting up the Flash Air Hockey game I had built just before my public exams in the 10th Standard. For some reason the controls don't respond within the blog environment, so you can always play it directly on this link,<br /><a href="http://www40.websamba.com/havokentity/__air.swf" target="_blank"><br /><img style="cursor: pointer; width: 183px; height: 218px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-FKTTJhYnn_vxFWCetVY-Ec9CesYGFlVxtqKl5DV2HT5Q4DWAj9L6AcL9zPYW-2VoNuPL2RR4Tb9EPtewvxK4IkJFP4xSI8cthWwQV37N28zMve99qO9LD7kvwugDSY0RwqHejpdkLRM/s400/untitled3.JPG" alt="" id="BLOGGER_PHOTO_ID_5029800655958008962" border="0" /></a><br /><a href="http://www40.websamba.com/havokentity/__air.swf" target="_blank">Click here or on the image to play!</a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-68065317724313594472007-02-10T11:10:00.000+05:302007-02-10T12:46:39.910+05:30Another raytraced picHere's a another raytraced generated image. The specialty is that, its real high resolution (for a raytraced image) . Its dimensions are 4800 x 3600 pixels. Ofcourse you get to view the high resolution image only after you click on the below, low resolution version. This image is 17.28 Mega pixels :P<br /><span style="font-weight: bold;">UPDATE:</span> Dang, when I uploaded the image, it got scaled down to 1600 x 1200, oh heck, guess e-Blogger Limits the uploaded image resolution. Not fare, not fare at all, it was under 8 MB to begin with.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMrFlDzLc5agc7OypUQn_xCh2Zd51x4LX3MyjIc3Ty8F7TvP1ljDVXeSHCurFNECi18MQX52ZJ-DeSLlLHD0g9tdjBLm0SEq4NyiIW3bPLBsRWhnhcTqd5It616GArdFrqyMnPISzsAS8/s1600-h/RayTracedScene.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMrFlDzLc5agc7OypUQn_xCh2Zd51x4LX3MyjIc3Ty8F7TvP1ljDVXeSHCurFNECi18MQX52ZJ-DeSLlLHD0g9tdjBLm0SEq4NyiIW3bPLBsRWhnhcTqd5It616GArdFrqyMnPISzsAS8/s320/RayTracedScene.jpg" alt="" id="BLOGGER_PHOTO_ID_5029777102357357634" border="0" /></a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-9124559499419687802007-02-10T10:47:00.000+05:302007-02-10T13:13:40.088+05:30A raytracer I built a long time agoDue to popular demand of the <span style="font-style: italic;">simulated photon</span> experiments I conducted while still at high school, I have decided to post a raytraced image, which was generated by a raytracer I built while, again, still at school. Probably in my 11th grade. Well, without further ado, here it is...<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHof-Bfn_hHn-wGfQxHoa3sFwPzumO_6dwqfPcEMUAd1mTgpTc1QDqJ8DWpits4OzcYmsHB_KPRSlLRBqXhbfMyooSFZYAEdJBe49Xiq5Qfo39d9OaYM9g96-Ude2ud4UhO2cB2ZhZZEg/s1600-h/RayTracedScene.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHof-Bfn_hHn-wGfQxHoa3sFwPzumO_6dwqfPcEMUAd1mTgpTc1QDqJ8DWpits4OzcYmsHB_KPRSlLRBqXhbfMyooSFZYAEdJBe49Xiq5Qfo39d9OaYM9g96-Ude2ud4UhO2cB2ZhZZEg/s320/RayTracedScene.jpg" alt="" id="BLOGGER_PHOTO_ID_5029775934126253106" border="0" /></a>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.comtag:blogger.com,1999:blog-562876076028506290.post-36688015864041582742007-02-10T10:40:00.000+05:302007-02-12T13:37:40.760+05:30A typical lecture at the MITHere, the professor show cases a really neat software, that not only allows you to draw vector graphics without a mouse or other pointing device, but, also recognizes such objects and has the ability to classify them. Moreover, the system even simulates such objects in a dynamic environment, read: a 2D physical dynamics simulator.<br /><br /><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/NZNTgglPbUA"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/NZNTgglPbUA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>Rajeshhttp://www.blogger.com/profile/09846540089279161535noreply@blogger.com