That's no moon...

Posted by aeron on Oct. 27, 2012, 2:52 p.m.

No really, it's just a bunch of blocks.

Anyone have experience texturing these bitches voxels? I have no idea what I'm doing. ¯\(°_o)/¯

I was thinking of going with the texture atlas approach, but I don't want to resort to funky tiling in case I decide I want to apply mipmaps / filtering later on. Maybe a little more research into texture arrays will do me some good.

In the meantime I'm gonna switch to Irrlicht and see if I can't get a better framework laid out. Wish me luck :)

Comments

Ferret 12 years, 1 month ago

Minecraft vs Mario Galaxy?

Rez 12 years, 1 month ago

Oh my god, Minecraft but with mario galaxy style worlds. THAT SOUNDS AMAZING

Castypher 12 years, 1 month ago

Quote:
Minecraft but with mario galaxy style worlds
If you pull that off, you deserve the biggest fucking cookie.

Rez 12 years, 1 month ago

It's my S4D entry.

BP Scraps 12 years, 1 month ago

Rez wins the internet.

Cesque 12 years, 1 month ago

It wouldn't be that hard, would it?

a. Make a Minecraft world which loops around

b. Display it as a sphere.

Anyway, this looks great. Screw texturing… I love the colour.

Ferret 12 years, 1 month ago

I think if you peeled a sphere's crust it wouldn't come out as a rectangle especially as you get near it's vertical poles (or horizontal poles, depending on how you peel about it).

Also as cool as this looks, if you look closely you can see that most of the sphere is covered in blocks that, on the surface, would appear to jut out as if they are turned 45 degrees on one or more axes, all because all the cubes faces are parallel with each other. You would need to make cubes with slight curvatures to arc around the sphere. Get that and we're good to go!

aeron 12 years, 1 month ago

As hard as that sounds I think the end result would be worth the effort… bend the volume so each cube becomes a frustum. The seams would definitely be tricky to line up. I would imagine having to use a funky data structure along the lines of this to fit properly (but suited for a cubic grid instead of hex/pentagonal).

Alternatively, just implement wrapping and fake the distortion effect, which would work great assuming you're only dealing with one world.

Second alternative would be to dump the cube look and use marching cubes for a smooth voxel look. You could get some pretty impressive structures with that in itself at the expense of minecraft-related charm.