Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For a college project I need to draw an empty cube and then show the cube being filled.

So far I have heard that JME and voxels is the way to go but I have no idea where to start. Can anyone point me towards a tutorial or any reading?

My project is in Java but any pseudo-code is welcome.

share|improve this question
5  
You need to explain in greater depth. What does "show the cube being filled" mean? Being filled with water? Being filled with smaller cubes? Be really specific. Also I don't think that this is game-dev material. – AttackingHobo Apr 20 '11 at 18:44
    
My apologies. I mean being filled with smaller cubes, and using this idea I am supposed to create a smartphone game. – Darragh169 Apr 20 '11 at 23:06

There was a Wolfire Games Blog entry about voxelization of one of their complex rabbit meshes, you can findt it here.

I think it'll give you some insights on how can be the voxelization process performed.

share|improve this answer

From what I've read so far, I think these jMonkeyEngine would be a great candidate for this. If you want to jump right into it, LWJGL is also an excellent choice.

But for the idea itself, you will most likely have to use specific coordinates that will be looped through to be filled with the smaller cubes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.