What happened to your experimentation?

May 6th, 2008

... you may be asking yourself.

Maybe you're looking for the newest a greatest Papervision3D experiment, and to be honest I would love to work on it, but I recently switched from Windows to Ubuntu 8.04 at home (Yes, I tried MacOS before, and, for me, it's even worst than Windows). This is something I tried previously, but didn't achieve because there weren't good tools for developing Actionscript on Linux.

However, this time, the kind guys of FDT sponsored my Open source projects with a license, and that was great, I use it for developing the apps listed there. But when it comes to experimenting with graphics I'm making myself use Ubuntu. The bad news is that FDT doesn't work on Eclipse/Ubuntu environment, neither they support that. Actually, it almost works, it's just the formatter that doesn't work.

So I was about to fail again, but I decided to remove all the priority to Actionscript development and look for code-fun alternatives. Although most of my friends were trying to persuade me to move to C++ I still like the accessibility of having your work easy to watch with a click from the browser. So the first thing I tried was Processing, unfortunately the GUI was pretty unusable for me. So I tried to, somehow, develop with Eclipse Processing apps. Didn't work nicely either.

So, there I was with Eclipse and a lot of patches for doing p5 apps. Wait, Eclipse?! Isn't Eclipse supposed to be mainly for Java stuff? Uhmm...

So yeah, slowly I've been doing some progress on developing on Java / JoGL. Java is quite hard compared to Actionscript, there aren't as many internet resources and even for doing a Audio Player you can spend a weekend. But with a bit of patience things are getting together and are starting to work. You can see some very-early tests I'm doing here:





And on this one I already have a OGG player and some debug info on the top o/

http://ricardocabello.com/projects/inspire08/05/ (Sorry about the tune :P)

So, give me a couple of months playing around with this, and, hopefully, my new experiments will have the complexity of flight404 ones, still being real time (which I assume his ones are also real time, but for some reason only releases video files).

Anyway, the sooner I get something I'll post it here with source files, which hopefully will help to others to get started and play around too.

On the other hand, I'm recently doing some Actionscript experiments for Hi-ReS!, which I think will end up being pretty good. Time will tell.

And, if this wasn't enough, from now on Mr.doob is not just myself anymore. My partner in life just left her work and is now helping with the freelance projects Mr.doob gets :) Wait?! Didn't say on the top that Mr.doob didn't do any freelance projects anymore?! Somehow they still arrive, I'll change that anyway :D

Ahh... exciting times!

#permalink

Bots are the new Crons

May 1st, 2008

We implemented a bit of a automation over xplsv.tv some weeks ago. Until then I was daily picking the video of the day. Now I "map" the month with a selection (still handpicked) of the videos, and then our php system does all the mailings at 00:00 every day. You wouldn't believe what a relief it was after doing the hand picking of a video every day during 4 years :S!

When we were thinking about how to implement the feature we considered setting up a Cron on the hosting, however, we quickly guessed that if the site had about 207,045 hits per day (207,045/24/60/60 = 2.39), so 2 hits per second, these are enough visits as to make the user launch these actions indirectly when visiting the site I would say ;)

The funny thing is that after checking the logs, most of the times the user agent of who launched the action happens to be a bot. So, who needs a Cron when we have Google bot? ;)

#permalink

State of the Art of 3D rendering in Flash

Apr 17th, 2008

Alternativa Platform - Bunker

No question about it, these guys are really pushing the limits with his Alternativa3D engine. The rendering is amazing, no Z depth issues at all, and if you press "T" you can see how are they achieving it. The work of the artists also increases the wow factor, really nice textures.

Russia 1, rest of the world 0 ;)

More demos here.

#permalink

Processing on Ubuntu 8.04

Apr 12th, 2008

Took a little bit but managed to make it run.

Steps:

1. Download the Linux version
2. If you don't have it, install Java Runtime (from Add/Remove Applications)
3. Go to System / Synaptic Package Manager, search for the libstdc++5 package and install it.
4. Unpack the .tgz that you just downloaded and execute the file 'processing'.
5. Enjoy.

With these packages installed shouldn't give any errors.

#permalink

Be Right Back

Apr 8th, 2008

Firefox 3 crashes when trying to load the actual index.php. Is not entirely my fault tho, but anyway, I decided to put a redirection to the blog by now as it was starting to be very embarrassing. Whenever I get some free time I'll take care of it.

At the moment some experiments may be inaccessible. But if you really need to get a link of any of them... you can get all of them here. Sorry about that.

#permalink

Monster Burnout - Ballroom released

Apr 4th, 2008

sprint nascar - ballroom

As promised, April 4, new track. It's a bit more weird than the previous one this time ;) Seems like the collisions doesn't behave too well on replays tho, won't detail much on what's the problem, long story... However, on play time behaves pretty well.

Have fun!

http://www.sprintenterprise.com /burnandbrag/383080404145134

#permalink

Facebook truth?

Apr 4th, 2008

It's a bit off-topic in this blog but Rachel sent a very interesting article about Facebook to Hi-ReS! list the other day. It gives some logic to Facebook and, specially, to Zuckerberg robotic words/behaviour.

Read it on your lunch time.

http://www.guardian.co.uk/technology/2008/jan/ 14/facebook

In other news, yesterday I finally managed to understand how displacementMapFilter really works and how to use it properly, which means that in some days I will post some explanation of how you can do this, and, with a bit of luck, also this. Which, by extension, means that my refraction example is not right :(

#permalink

Fire Effect explained (now for real)

Apr 2nd, 2008

Ok, sorry about the joke. No, unfortunately flash can't handle 1million particles at 30fps in a G4...

Anyways... here is the real explanation... There isn't much to explain really, the effect is very simple, in fact, it's about 1kbyte in size...

Basicaly, you use anything as input, copy it to a bitmapData that you're blurring and offseting verticaly, and on top of that you have to put a greyscale Perlin Noise texture, also scrolling verticaling in BlendMode.OVERLAY.



Take a loot at the Source file

#permalink

Fire Effect explained

Apr 1st, 2008

Some people have asked about how the loading/fire effect was done on the Sprint Nascar Monster Burnout site.

Well, it's quite easy. Every vertical line on the loading bar is a emitter of 10,000 pixel particles that travel up in a sinusoidal pattern with a random phase each. All of them leaves a trail on the bitmapData which a colorTransform fades to black, on top of that there is a blurFilter on the bitmapData too. In total, when the loading is at 100%, there are 100 x 10,000 = 1,000,000 pixel particles moving, leaving trails, changing colours and the blur on top. Quite simple and I think it looks good, if you wonder how come the effect also runs fast on a G4, well... think a bit more ;)

UPDATE: Well, this was clearly (or maybe not) a April fools geek-joke. Click here to see real explanation of the effect.

#permalink

Monster Burnout

Mar 28th, 2008

Monster Burnout

Well well, seems like it's finally live. So, that's the site I've been doing a this little game for during the last months at Hi-ReS!. We should be activating a room next week and another room the week after. Probably improving some bits here and there in each release. Click here to see a replay from myself, otherwise click here to have the complete experience.

Used the ubercool (and free) FlashDevelop 3.0.0 Beta 6 and it features box2dflash for the car 2Dto3D physics, a modified version of Papervision3D 2.0 (Effects branch) and, believe it or not, Tweener for the replay. Oh! it also features loud and annoying sounds, you've been warned ;)

After working on it for that long I don't know if it's fun or not. Hope you like it.

#permalink
Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Webs / Print / Logos... everything I do will be listed here.



If you're looking for my Actionscript experiments, here you have: