<?xml version="1.0" encoding="utf-8"?>
<rss version="0.91">
<channel>
<title>trace</title>
<link>http://trace.xplsv.com</link>
<description>Demoscene &amp; VJ'ing shit.</description>
<language>en-uk</language>
<copyright>copyright 2013 trace</copyright>
<item><title>Archiving Windows demos. Take two.</title><link>http://ricardocabello.com/blog/post/712</link><description>This is something I've spent a fair amount of time on already. Last year &lt;a href=&quot;http://ricardocabello.com/blog/post/666&quot;&gt;I wrote about some of my findings&lt;/a&gt; but the truth is that it didn't anywhere.&lt;br /&gt;&lt;br /&gt;

The main problem is that, for whatever reason, &lt;a href=&quot;http://lags.leetcode.net/codec.html&quot;&gt;Lagarith&lt;/a&gt; is not finding its way into &lt;a href=&quot;http://www.ffmpeg.org/&quot;&gt;ffmpeg&lt;/a&gt; and rumours say Youtube uses ffmpeg for doing the transcoding. So if you tried to upload that 2gbytes video file to Youtube you'd end up getting a &quot;unknown format&quot; error.&lt;br /&gt;&lt;br /&gt;

Early this month I checked what was the status with all this, and seemed that nothing had changed so I thought about looking for other lossless codecs. This time I tried with &lt;a href=&quot;http://neuron2.net/www.math.berkeley.edu/benrg/huffyuv.html&quot;&gt;Huffyuv&lt;/a&gt;. Video file size is bigger but at least ffmpeg supports it.&lt;br /&gt;&lt;br /&gt;

The idea is to let Youtube host the uncompressed files for me (5gb-20gb each). I don't know if that's what happens or not, but I would think such service must keep the original.&lt;br /&gt;&lt;br /&gt;

This is how the process looks like:&lt;br /&gt;&lt;br /&gt;

&lt;strong&gt;1.&lt;/strong&gt; &lt;a href=&quot;http://www.farb-rausch.de/~fg/kkapture/&quot;&gt;kkapture&lt;/a&gt; the demo using &lt;a href=&quot;http://neuron2.net/www.math.berkeley.edu/benrg/huffyuv.html&quot;&gt;Huffyuv&lt;/a&gt; for encoding.&lt;br /&gt; Note: I have antialias enabled on my nvidia config as that compresses better than non-antialias stuff.&lt;br /&gt;
&lt;strong&gt;2.&lt;/strong&gt; Now you'll get a bunch of .avi files that you need to merge. To do so just use &lt;a href=&quot;http://www.virtualdub.org/&quot;&gt;Virtualdub&lt;/a&gt;. While you're on it, go ahead and remove the aspect ratio black bars.&lt;br /&gt;
&lt;strong&gt;3.&lt;/strong&gt; Upload the file to youtube. This may take a while. It takes about 24 hours per video here.&lt;br /&gt;&lt;br /&gt;

And that's it. Now it's up to Youtube to keep updating their videos as technology evolves. It's a slow process, but if the theory is right it just needs to be done once.&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://ricardocabello.com/demoscene&quot;&gt;You can see the ones I've managed to do already in the (just re-opened) demoscene section&lt;/a&gt;.</description><pubDate>Mon, 27 Dec 2010 19:10:00 +0000</pubDate></item><item><title>Archiving Window demos with Lagarith Lossless Video Codec</title><link>http://ricardocabello.com/blog/post/666</link><description>The terms &lt;strong&gt;lossy&lt;/strong&gt; and &lt;strong&gt;lossless&lt;/strong&gt; are something I learnt recently when I discovered the format &lt;a href=&quot;http://flac.sourceforge.net/&quot;&gt;FLAC&lt;/a&gt;. As example MP3 is a lossy format; distorts the data on the pocess, and the end result is not exactly like the original. FLAC, on the other hand compresses the data but keeps it 1:1 with the original, just like a ZIP does.&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://lags.leetcode.net/codec.html&quot;&gt;Lagarith&lt;/a&gt; is the same but for video. There are some &lt;a href=&quot;http://compression.ru/video/codec_comparison/lossless_codecs_2007_en.html&quot;&gt;other lossless video codecs&lt;/a&gt; but from my experience Lagarith, &lt;strong&gt;using the YV12 color space&lt;/strong&gt; when compressing, is, by far, the best. Not only in terms of file size compression, but also in terms of playback.&lt;br /&gt;&lt;br /&gt;

As an example, I've compressed &lt;a href=&quot;http://www.pouet.net/prod.php?which=9460&quot;&gt;r08028&lt;/a&gt; at the resolution of &lt;strong&gt;640x480 60fps&lt;/strong&gt;, which is the resolution it was designed for, and it &lt;strong&gt;ends up as 2gb file&lt;/strong&gt; (uncompressed is 14gb). 2gb is still quite big for a 3 minutes video but with nowadays 1TB+ HDs maybe we can start archiving our demos in this way so we can recompress them to new video formats as soon as they appear without having to mess with emulators and rendering again.&lt;br /&gt;&lt;br /&gt;

Best thing of the codec is that the playback. &lt;strong&gt;On a multi-core machine can play 1920x1080 60fps videos with no problems.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;

Unfortunately, this codec hasn't reached mainstream and it doesn't have much support yet (ie VLC doesn't play it). But if you happen to be a Windows user, give it a try!&lt;br /&gt;&lt;br /&gt;

If you want to know more about the codec, &lt;a href=&quot;http://wiki.multimedia.cx/index.php?title=Lagarith&quot;&gt;here you have some extra info&lt;/a&gt;, and &lt;a href=&quot;http://lags.leetcode.net/codec.html&quot;&gt;here the sources&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;

Now, if only FLAC could also be used for compressing the audio that gets encapsulated in a .AVI...&lt;br /&gt;&lt;br /&gt;

EDIT: Forgot to mention. &lt;strong&gt;You can use this codec from &lt;a href=&quot;http://www.farb-rausch.de/~fg/kkapture/&quot;&gt;kkapture&lt;/a&gt; itself&lt;/strong&gt;. And if that wasn't good enough, the whole kkapture process gets way faster (compared to capture to uncompressed frames). &lt;strong&gt;Capturing r08028 is faster than the demo itself.&lt;/strong&gt;</description><pubDate>Sat, 04 Jul 2009 17:17:00 +0000</pubDate></item><item><title>Shock's Gimp Paint Studio</title><link>http://ricardocabello.com/blog/post/662</link><description>&lt;a href=&quot;http://ricardocabello.com/files/blog/caballos+lagar_lowres.jpg&quot;&gt;&lt;img src=&quot;http://ricardocabello.com/files/blog/caballos+lagar_lowres.jpg&quot; width=&quot;350&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

If you were wondering what was &lt;strong&gt;Shock / Collapse&lt;/strong&gt; up to these days, the truth is that hasn't changed much. However, seems like he has moved to the dark side (the good one): open source. The good old chap, not only keeps doing amazing illustrations, but he has been working on a &lt;a href=&quot;http://code.google.com/p/gps-gimp-paint-studio/&quot;&gt;set of brushes and modifications for Gimp&lt;/a&gt; to make things easier when doing paintings in &lt;a href=&quot;http://www.gimp.org/&quot;&gt;Gimp&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://ramonmirandavisualart.blogspot.com/&quot;&gt;http://ramonmirandavisualart.blogspot.com/&lt;/a&gt;</description><pubDate>Sun, 14 Jun 2009 13:31:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 117</title><link>http://ricardocabello.com/blog/post/579</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-89 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Back to production&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

While &lt;a href=&quot;http://escena.org/forums/topic/1180/?page=6&quot;&gt;people that haven't released anything in years were trying to find the meaning of life and also were creating a rather depressing image for the newcomers to the site&lt;/a&gt; partly ruining &lt;a href=&quot;http://escena.org/wiki/page/Divulgacion&quot;&gt;our promotion job&lt;/a&gt; two weeks ago at &lt;a href=&quot;http://www.euskalencounter.org/&quot;&gt;Euskal&lt;/a&gt;, I was fighting once again with Java... er... and having a misery time playing at &lt;a href=&quot;http://www.mariokart.com/&quot;&gt;Mario Kart&lt;/a&gt; too (just for 1 hour tho).&lt;br /&gt;&lt;br /&gt;

I keep having problems with the audio player :(... glitching just at the beginning of the music and creating random delays. It doesn't happen all the time tho. I'll leave the glitch there for now, and &lt;strong&gt;concentrate on adding synchronize more stuff here and there (production)&lt;/strong&gt;. Which is what I'm doing, just after cleaning all the code. There were still some Timer.getTime() around...&lt;br /&gt;&lt;br /&gt;

Things are looking good, I just need to find a effect for the texts. But seems like finally I'm starting to get used to Java and I'm starting to optimise things. &lt;strong&gt;People may say that Java sucks and all that, well, based on my experience so far, it's great, it just needs more people working with it and sharing sources.&lt;/strong&gt;</description><pubDate>Thu, 07 Aug 2008 03:53:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 116</title><link>http://ricardocabello.com/blog/post/578</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-88 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Released but unfinished&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

You may already know that the demo was released already two weeks ago at &lt;a href=&quot;http://www.euskalencounter.org/&quot;&gt;Euskal&lt;/a&gt;. Yes, this is how usually goes, you work for a demo for X party, you don't finish it in time and release it on Y party.&lt;br /&gt;&lt;br /&gt;

In the end it was actually a invitation for &lt;a href=&quot;http://d3fest.org/2008/&quot;&gt;D///FEST 2008&lt;/a&gt; as originally intended. Since the last post I didn't do much work on it to be honest, I did most of the part on the hotel while at Bilbao. I still wasn't able to forward/backward the tune so I still had the same problem of having to sync the something in the end of the demo and had to watch the whole demo. Some day... some day... But, tired of having to get the sync times by hand I added a Timer.getBeat() method. On init I sent the length of the beat (which is my tune is about 856ms) and then Timer.getBeat() will just give me back System.currentTimeMilliS() / beat_length. Once I found out the exact length of the beat the rest of the synchronization was much faster to produce. Instead of &lt;strong&gt;if (Timer.getTime() &gt; 109568)&lt;/strong&gt;, now I had &lt;strong&gt;if (Timer.getBeat() &gt; 128)&lt;/strong&gt;. Much easier to read for sure.&lt;br /&gt;&lt;br /&gt;

Then added the texts on top of everything, because, after all I had to talk about the event. Unfortunately I had to make the texts by myself too and that took some brain time. &lt;strong&gt;Which is something you don't have few hours before the deadline&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;

Last but not least, managed to do the greetings part/code in about 30min. All thanks to the Timer.getBeat() idea o/.&lt;br /&gt;&lt;br /&gt;

But this is not the end of the story. After releasing it some people were having problems playing it. I was finishing the demo at the party with WindowsXP at the party because Ubuntu doesn't work well in the macbook pro yet, and I &lt;strong&gt;added the fullscreen code in the very last minute&lt;/strong&gt;, and seemed like on Ubuntu that wasn't working very well. So, some days after the release I updated the .zip which a new version that has a nice Resolution selector window before the demo, powered by &lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/awt/package-summary.html&quot;&gt;java.awt&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;

No, there is still more. There were other people complaining about audio playback issues on Athlon64. Now, I don't know if this is related to the &lt;a href=&quot;http://www.cokeandcode.com/node/625&quot;&gt;OGG player&lt;/a&gt; I was using or Java itself? Anyway I've switched to a &lt;a href=&quot;http://www.javazoom.net/javalayer/javalayer.html&quot;&gt;MP3 player&lt;/a&gt; because it seems to have more options, easier getPosition and easier to implement the seek feature (backward/forward). I don't know if this will fix the Athlon64 thing in the end tho.&lt;br /&gt;&lt;br /&gt;

Related to this, I've also implemented a nice &lt;strong&gt;beat visualizer&lt;/strong&gt; which lets me easily control if the visuals are losing synchronization. After some hours on it, seems like the problem was that &lt;strong&gt;I was initializing everything way too fast&lt;/strong&gt;. I was starting the tune even before the video mode had change, that made the music stop for a couple of milliseconds, and everything got unsynced from there. So, that should be fixed now, everything seems to be working fine now, I should synchronize some more things on the visuals and I should be able to call it final version :D&lt;br /&gt;&lt;br /&gt;

Which is funny, I think I've never done a final version before, usually you don't want to do it after the party, but somehow, in this case I'm really enjoying it :? Anyway, that's all for now. &lt;strong&gt;Final version in a few days&lt;/strong&gt;, and that will be the end of these series, oh, and yeah, &lt;strong&gt;I'll release all the sources&lt;/strong&gt; so anyone can laugh, learn or fix the mess.&lt;br /&gt;&lt;br /&gt;

Oh yes, you have the current version (v1.1) here:&lt;br /&gt;
&lt;a href=&quot;http://pouet.net/prod.php?which=51075&quot;&gt;http://pouet.net/prod.php?which=51075&lt;/a&gt;</description><pubDate>Wed, 06 Aug 2008 07:38:00 +0000</pubDate></item><item><title>escena.org DVD #1 / 2008 released (with sources)</title><link>http://ricardocabello.com/blog/post/563</link><description>This is something that kept me a little bit busy these past days.&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://escena.org/forums/topic/1163&quot;&gt;&lt;img src=&quot;http://escena.org/files/forums/1163.jpg&quot; width=&quot;350&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Had to do some organising (specially for the Data track) and all the menu design + cover. Luckily, &lt;a href=&quot;http://soledadpenades.com/&quot;&gt;sole&lt;/a&gt; was there to do the rest :) The end result is quite good I think.&lt;br /&gt;&lt;br /&gt;

This is how the DVD menu looks like:&lt;br /&gt;&lt;br /&gt;
&lt;img src=&quot;http://pouet.net/screenshots/50726.jpg&quot; width=&quot;350&quot;&gt;&lt;br /&gt;&lt;br /&gt;

I even did some &lt;strong&gt;ascii art&lt;/strong&gt; for the thing ;P&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
        ________ _______ _______ _______ ___ ___ _______
       /    ___/     __/     __/    ___/      /       /    
    __/    __//__     /     /_/    __//       /   /   /__     
   / /_______/_______/_______/_______/__\____/___/___/  / .
  /      ________ _______ _______                      / .
 . /    /       /       /   ____/  // DVD #1 / 2008     /
. /____/   /   /   /   /   /   /_______________________/
      /_______/____\___\______/   v1.1
&lt;/pre&gt;&lt;br /&gt;

So, &lt;strong&gt;feel free to download the DVD, burn it, print the covers and show it to all your friends&lt;/strong&gt; ;) Here is the &lt;a href=&quot;http://escena.org/files/dvds/escena.org_dvd1_2008_v1.1.torrent&quot;&gt;.torrent&lt;/a&gt; you need.&lt;br /&gt;&lt;br /&gt;

And for all those that always want the sources to be released, even if it may sound weird for a DVD, yeah, we've released the &lt;a href=&quot;http://escena.org/files/dvds/eorg_dvd_src.tar.gz&quot;&gt;sources&lt;/a&gt;, but you'll need to read the &lt;a href=&quot;http://soledadpenades.com/2008/06/12/the-making-of-escenaorg-dvd-1/&quot;&gt;making of&lt;/a&gt; first in order to understand how it works.</description><pubDate>Thu, 12 Jun 2008 14:03:00 +0000</pubDate></item><item><title>That's enough.</title><link>http://ricardocabello.com/blog/post/560</link><description>I keep getting distracted. I need to focus.&lt;br /&gt;&lt;br /&gt;

If in the future, you ask yourself what were the drops... somehow, these has been (I know, very random):&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://www.liveleak.com/view?i=708_1212766386&quot;&gt;http://www.liveleak.com/view?i=708_1212766386&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://blogs.guardian.co.uk/digitalcontent/2008/01/the_elevator_pitch_fwa_the_def.html&quot;&gt;http://blogs.guardian.co.uk/digitalcontent/2008/01 /the_elevator_pitch_fwa_the_def.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://d3fest.org/&quot;&gt;http://d3fest.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://www.jorgefuentes.net/&quot;&gt;Zomb&lt;/a&gt; will be proud I think :P</description><pubDate>Tue, 10 Jun 2008 06:26:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 36</title><link>http://ricardocabello.com/blog/post/557</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-8 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Back to the system code&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

Well, so, here it's a preview with some text on the top finally. I guess I have align left and center at least. Need to sort out the Font class so the Font it's only the definition of the chars and a class Text is the one that draws and that can load different Fonts.. tho I just need one, but you know, scalability.&lt;br /&gt;&lt;br /&gt;

Hope it doesn't lose sync (I'm back to the currentTimeMillis method):&lt;br /&gt;

&lt;a href=&quot;/projects/inspire08/11/&quot;&gt;/projects/inspire08/11/&lt;/a&gt;</description><pubDate>Sun, 18 May 2008 18:04:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 35</title><link>http://ricardocabello.com/blog/post/556</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-7 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Back to the system code&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

I didn't have much time this week to work on this. But today I managed to do some work. Mainly on the font, and a font system which is now, more or less, ready. This is an R.&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
charData = new float[][]{{ -1, -1, -1, 1 },{ -1, 1, 1, 1 },{ 1, 1, 0, 0 },{ 0, 0, 1, -1 }};
&lt;/pre&gt;&lt;br /&gt;

Yes.. it took a bit to define all of them by hand... And this is how the Font system works so far:&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
Font.position.x = 1.85f;
Font.position.y = -0.1f;
Font.colour = new Colour(1,1,1);
Font.scale = 0.07f;
Font.writeSentence(&quot;ORBIT . XPLSV 2008&quot;);
&lt;/pre&gt;&lt;br /&gt;

Still need to add &lt;strong&gt;width&lt;/strong&gt;, &lt;strong&gt;align&lt;/strong&gt; and stuff like that.</description><pubDate>Sat, 17 May 2008 18:17:00 +0000</pubDate></item><item><title>Temps Réel - Breakpoint 08</title><link>http://ricardocabello.com/blog/post/555</link><description>&lt;embed width=&quot;350&quot; height=&quot;250&quot; type=&quot;application/x-shockwave-flash&quot;
 src=&quot;http://xplsv.tv/files/videoplayer.swf?file=http://flvvod.demoscene.tv/demoscene.tv__dtv_-nolife_temps_reel_breakpoint_2008_report__flash.flv&quot;  allowFullscreen=&quot;true&quot;&gt; &lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;

&lt;strong&gt;Really good&lt;/strong&gt; report/documentary.&lt;br /&gt;
Taken from &lt;a href=&quot;http://www.demoscene.tv/prod.php?id_prod=13303&quot;&gt;demoscene.tv&lt;/a&gt;</description><pubDate>Wed, 14 May 2008 16:55:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 30</title><link>http://ricardocabello.com/blog/post/553</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-2 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Back to the system code&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

... Ok, porting this to LWJGL ended up being a waste of time. The main porting was very quick, like, in 30min I had it done and working. Doing the applet version took more time, about 4 hours or so. And in the end there were some weird bugs with the timer, and after all the time spent trying to understand how to do the Applet version is the last thing I wanted to see. So, &lt;strong&gt;back to JOGL&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;

I also spent more time again on getting the position of the tune. I managed to get something this time. &lt;strong&gt;SourceDataLine.getFramePosition()&lt;/strong&gt; return the amount of samples played, but they numbers aren't as smooth as a normal Timer, like the same number may repeat 5 times, which means that the animation is jumping. I had to do a crap fix for that:&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
public static long getPosition()
{
	/*
	 * For some reason the SourceDataLine.getFramePosition()
	 * doesn't give back smooth sequence of numbers, here it's
	 * a crap fix for it.
	 */
	
	if (lastSampleInfo != tune.getPosition())
	{
		lastSampleInfo = tune.getPosition();
		lastTimerInfo = System.currentTimeMillis();
	}
	
	return lastSampleInfo + (System.currentTimeMillis() - lastTimerInfo);
}
&lt;/pre&gt;&lt;br /&gt;

Am I the only one that thinks that it's weird that I have to do this? Still, it kind of works, but sometimes jumps back a tiny bit, I may come back to this code in a few days to try other things, but at least it uses the audio timer (somehow).&lt;br /&gt;&lt;br /&gt;

I was now starting doing the font system, it will take a bit still as I need to find the best/most dynamic approach.&lt;br /&gt;&lt;br /&gt;

I felt that closing the previews was a bad idea, so as soon as I have some text on top of the screen working I'll put a new version online so you can see where the thing is going.</description><pubDate>Tue, 13 May 2008 01:20:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 29</title><link>http://ricardocabello.com/blog/post/552</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-1 days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Back to the system code&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

As now I have more time (lol) to finish this, I'm now taking a look to &lt;a href=&quot;http://www.lwjgl.org/&quot;&gt;lwgl&lt;/a&gt; as an alternative for &lt;a href=&quot;https://jogl.dev.java.net/&quot;&gt;jogl&lt;/a&gt;. On Friday I was amazed of how easy was to have something compatible for main OS and browser and I wondered why no other sceners used it for avoiding shit time compiling stuff. Then I realised that there were more people on the scene doing demos with Java, at least &lt;a href=&quot;http://tom.drastic.net/&quot;&gt;Pandur&lt;/a&gt; did. So I mailed him and after a couple of mails he explained he used &lt;a href=&quot;http://www.lwjgl.org/&quot;&gt;lwgl&lt;/a&gt; instead. After spending almost all the evening today I still don't know what are the benefits on using jogl or lwjgl, but I think, after testing it a bit, and specially after having been answered nicely all my questions by the people on &lt;a href=&quot;irc://irc.freenode.net/lwjgl&quot;&gt;#LWJGL&lt;/a&gt; I think I'll use this one instead. Also the applets seem to be a bit more robust than Jogl ones. Don't take me seriously here, I have no idea what I'm talking about ;) It's just what I feel is the best.&lt;br /&gt;&lt;br /&gt;

I did some more tweaks on the font, so tomorrow I'll try quickly port the code (shouldn't be too hard) to lwgl and create the font in 3D and.</description><pubDate>Sun, 11 May 2008 17:22:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 27 and 28</title><link>http://ricardocabello.com/blog/post/551</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;-1(0) days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Content, sync&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

So, yeah... unfortunately I didn't make it in the end. Well, as 50% of the prods that sceners work on anyway. However, the good thing is that yesterday night I started to have something going on which was very interesting visually and could develop very well. I don't think I'll put more WIP versions available now until I finish it, it has nothing to do with what I showed before and if I showed it it would spoil some effects :P But if you really want to see how it is going, let me know and I'll send you the .zip&lt;br /&gt;&lt;br /&gt;

Anyway... I'll keep working on it daily and keep logging it until I finish, it doesn't go at all with &lt;a href=&quot;http://d3fest.org/&quot;&gt;D///&lt;/a&gt; topic, which is a shame, I don't know if I should change the name/purpose of the demo at this point. Maybe I should and do the next one, for &lt;a href=&quot;http://www.euskalencounter.org/es/&quot;&gt;Euskal&lt;/a&gt; (which btw, I got the tickets already :D) with the appropriate topic and leave this one as the experimental/test one. Yeah, that makes sense.&lt;br /&gt;&lt;br /&gt;

Anyway, yesterday night I implemented some &lt;strong&gt;Triangle/Vertex/Vect3D&lt;/strong&gt; classes to the &quot;engine&quot;, and today I managed to do very lightweight &lt;a href=&quot;http://code.google.com/p/tweener/&quot;&gt;Tweener&lt;/a&gt;-like library/wrapper. It uses &lt;a href=&quot;http://robertpenner.com/easing/&quot;&gt;Robert Penner&lt;/a&gt; Tween equations, which, if you have used some before, you can't live without anymore. This is how the implementation looks like:&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
triangle.v1.position.x = Tween.process(t, d, triangleDest.v1.position.x, triangleOrig.v1.position.x, Tween.EXPO_EASEIN);
&lt;/pre&gt;&lt;br /&gt;

(I got the Java port of the libraries from &lt;a href=&quot;http://jesusgollonet.com/processing/pennerEasing/&quot;&gt;here&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;

As I seem to be a bit stuck on how to evolve the effect on the demo (although I have &lt;strong&gt;3/4 of the demo with content&lt;/strong&gt; already), I guess it's a good time to start thinking about the font. I haven't had a chance to see how to load images yet, but I think I won't do that in the end for this one. So, I will be doing the definition of the font with lines. First I'm designing the font with &lt;a href=&quot;http://www.inkscape.org/&quot;&gt;inkscape&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://ricardocabello.com/files/blog/inspire08_font.png&quot;&gt;&lt;img src=&quot;http://ricardocabello.com/files/blog/inspire08_font.png&quot; width=&quot;350&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Doing that was about 5min job. I'll spend a bit of time tweaking the font now tho and then I'll go &lt;strong&gt;character by character reproducing it with GL_LINES&lt;/strong&gt; in a nice class :) While doing the font I tested it on top of a screenshot of the demo, and it more or less fits by now. Man it's starting to look like a global war game or something :D&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;http://ricardocabello.com/files/blog/inspire08_font+snapshot.png&quot;&gt;&lt;img src=&quot;http://ricardocabello.com/files/blog/inspire08_font+snapshot.png&quot; width=&quot;350&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Well.. tomorrow more.&lt;br /&gt;&lt;br /&gt;

PS: Some of the prods released at Inspire are already on pouet! &lt;a href=&quot;http://pouet.net/party.php?which=1463&amp;when=2008&quot;&gt;Check them out!&lt;/a&gt;</description><pubDate>Sat, 10 May 2008 18:12:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 26 (part 2)</title><link>http://ricardocabello.com/blog/post/550</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;0(1) days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Executable demo&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

Well, after sleeping about 10 hours in 3 days, I better sleep a bit more today as I think tomorrow (friday) will be a kind of party coding day/night (sponsored by red bull). Now that I think about it... it may be the first time I actually do coding when doing partycoding :P&lt;br /&gt;&lt;br /&gt;

The demo system now works everywhere: Windows / MacOS / Linux...&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;/projects/inspire08/08/demo.zip&quot;&gt;/projects/inspire08/08/demo.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

So, tomorrow... content content content, and I guess I won't do the log so there is a bit of surprise for the competition (hopefully).


</description><pubDate>Thu, 08 May 2008 16:10:00 +0000</pubDate></item><item><title>Inspire08 demo log, day 26 (part 1)</title><link>http://ricardocabello.com/blog/post/549</link><description>&lt;code&gt;&lt;strong&gt;Status:&lt;/strong&gt;&lt;br /&gt;0(1) days left until &lt;a href=&quot;http://inspire-demoscene.org/&quot;&gt;Inspire08&lt;/a&gt;&lt;br /&gt;Executable demo&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;

I guess the organisers are expecting executable demos instead of a link on a browser. This is something I had no idea of how to do. But while checking &lt;a href=&quot;http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=14&quot;&gt;Ne-He's Outline font tutorial&lt;/a&gt;, this time &lt;strong&gt;the JoGL example had a .bat with a command line that execute the thing on a window&lt;/strong&gt;. This may sound totally normal to you, but it was exciting to me O:) So I quickly analysed it and extracted the logic and managed to make my demo.jar run directly on Windows!&lt;br /&gt;&lt;br /&gt;

After tweaking a bit the folders so it looked a bit nicer (I put all the libs (even linux/mac universal inside a /libs folder) the command looks like this:&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
java -Djava.library.path=.\libs -cp .\demo.jar;.\libs\jogl.jar;.\libs\gluegen-rt.jar MainWindow
&lt;/pre&gt;&lt;br /&gt;

This version should already work on Windows:&lt;br /&gt;&lt;br /&gt;

&lt;a href=&quot;/projects/inspire08/08/demo.rar&quot;&gt;/projects/inspire08/08/demo.rar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

... I'll do the launchers for Mac/Linux later on. uhm... &lt;strong&gt;Windows/Mac/Linux/Online&lt;/strong&gt;, I like how that sounds :P And with all the libraries there ready to run on all the OS the filesize is &lt;strong&gt;5Mb zipped&lt;/strong&gt; (including the 4Mb OGG), sounds good to me too.</description><pubDate>Thu, 08 May 2008 10:34:00 +0000</pubDate></item>
</channel></rss>
