• Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Then again...

Sign in to follow this  


... I'm not sure if this whole marching cubes thing is the best way to go about things. I want a situation where the players avatar is standing on a 'platform', and can pull a piece of ground in front up them up to form a protective shield. Or raise the ground they are standing on to be able to jump to a higher ledge, or lower the ground etc... And while marching squares can easily generate the outline of these regions, considering the fact that I want to add sides to these regions, sides that aren't of uniform depth, there might be nicer ways to do this. Especially considering how much geometry would have to be sent to the card.

At the moment I'm thinking of a traditional height map stored in a texture, using the vertex shader to displace the mesh vertices and calculate normals. Combine this with some clever texturing and it might result in rather nice looking stuff. No idea how expensive it is to send a new texture to the card every frame though. Experiments will show how good an idea this is.

The thing about this is how I represent it logically. Probably in much the same way. How I manipulate it should be interesting...

As an aside, writing all this stuff down really helps you find the holes in things. At the beginning of writing this post I had planned on writing about a VERY different idea, but it turned out to be just silly.

I would really hope to have more screens soon. And a name. It's not a game if it doesn't have a name. [smile]
Sign in to follow this  


Recommended Comments

I remember you from yesteryear, back when you were called stro.

I also remember playing that nice little jailbreak game you and your friend made [smile].

Share this comment

Link to comment
Ah, yesteryear. It's nice to be remembered, and thanks - I'm still rather proud of that one [smile]

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement