*blog... kind of... *rss 



Inspire08 demo log, day 22
Status:
4 days left until Inspire08
Base code (still!)


Well, I haven't progressed much visually, but I've refactored everything quite a bit. The base is almost done.

/projects/inspire08/05/

As you can see, I have a Logger, Timer, FPS counter, MS... That's enough for debugging/testing the effects on-the-fly. Also, I have a base for the Scene Managing, I still have to load a XML with the times of start/end and all this but by now it's simple enough and looks like this:

import javax.media.opengl.GL;
import java.util.ArrayList;
import com.xplsv.utils.Logger;

import scenes.*;

public class SceneManager
{
	private ArrayList scenes;

	public SceneManager(GL gl)
	{
		scenes = new ArrayList();
		
		scenes.add(new SceneRandomPolys(gl));
		scenes.add(new SceneInfo(gl));
		scenes.add(new SceneLogger(gl));
	}

	public void init()
	{
		Logger.init();
		Logger.log("SceneManager.init");
		
		for (int i = 0; i < scenes.size(); i++)
			((Scene)scenes.get(i)).init();
	}

	public void render()
	{
		for (int i = 0; i < scenes.size(); i++)
			((Scene)scenes.get(i)).render();
	}
}

Just 4 days to go and I still don't know how the visual content will be... Oh well... Tomorrow more.
0 comments written so far...


Have your say!



Name:

Website:

Comment:


 *profile 





traditional id: Ricardo Cabello Miguel
based in: London, UK

more: twitter, twitpic and soundcloud.


 *post nav 



iPhone $399, Dominio 9,95
Inspire08 demo log, day 24
What happened to your experimentation?
Inspire08 demo log, day 23
Virtual Hosts with Apache2 on Ubuntu 8.04
Inspire08 demo log, day 22
Inspire08 demo log, day 21
Inspire08 demo log, day 20
Inspire08 demo log, day 19
Bots are the new Crons
Inspire08 demo log, day 18


 *latest comments 



Harmony
Harmony
Harmony
Harmony
Harmony
Harmony
Harmony
Harmony
Harmony
Harmony