Author Topic: 3D Bricks  (Read 2656 times)

Each stud would suddenly become 12 extra polygons. A standard 32x32 plate would go from having 6 quads to having 5,125 quads.
Where did you get 12?

Normal mapping would indeed be very nice as I have demonstrated here: http://www.youtube.com/watch?v=VaAELYgp7vw

So let's do the math. You're a graphics whore and absolutely must have 3D studs. How many faces would it really add? Right now the brick top stud texture consists of 1 quad face. With 3D studs it would have 5 faces. So in total a textured brick has 10 quad faces. (Regardless of size I think.) A 3D stud brick would have (brickSizeX*brickSizeY)*5+10 quad faces.

Let's take the good ol' 16x baseplate. Without a 3D stud it has 10 quad faces. With a 3D stud it has (16*16)*5+10 = 1290 quad faces. Do you see the problem here? A single 16x baseplate with 3D studs costs 1290 quads. With that price you could plant 129 regular bricks. That is a single 16x baseplate.

Let's load a build! Say something average like a 75,000 brick build. An estimate I pulled out of thin air says that 25,000 stud tops are visible. That is (25000^2)*5+10 = 3,125,000,010 quad faces compared to the 250,000 quad faces that the build would have without the 3D stud.

"But I'm a graphics whore and I wan't shadows bitch!". As you wish. Let's destroy your computer.((25000^2)*5+10)*4 = 12,500,000,040
That's 12 billion. Now please never request this again.



I should have said 10.
Please explain yourself. I still do not see how you get 10 faces.

Please explain yourself. I still do not see how you get 10 faces.

Look at the first one, every side is 2 faces


Look at the first one, every side is 2 faces
Err no. The 3D stud is made of 5 faces. 1 at the top and 4 at the sides.

Err no. The 3D stud is made of 5 faces. 1 at the top and 4 at the sides.
I don't know any way of saying this without it sounding like squideey is stupid, but he might think there are tris instead of quads.

Sorry squideey if that's not correct.



Please explain yourself. I still do not see how you get 10 faces.

10 triangular polygons, 5 quads.

I am not good with computer

Windows is a "SPECIAL", cuboid bricks are simply "BRICK" in the .blb at the second line. That would be a way to tell.
You can't access that information with out Badspot linking to it in the engine code. Shaders are compiled and sent to the GPU, they're not script files.

10 triangular polygons, 5 quads.
no, every face has four edges
and you wouldn't get ten extra, you would only get four extra, because the total would be ten, while there were six previously

THE STUDS



CONSPIRACY

And it's made of alpha channels and 16 polygons.

no, every face has four edges
and you wouldn't get ten extra, you would only get four extra, because the total would be ten, while there were six previously
Fine fine. Let's make this more confusing then. Here are some images. Imagine that each brick is just the same brick from different angles. I chose 2x2 because that is how most bricks are UV unwrapped. 1x1 is special.


Nice and easy.


And now I'm running out of colors.

So total of 20 quad faces on the 3D studs. There are 4 studs am I right? 20 / 4 = 5. Case closed.




excuse me
but
you can make a cube using 6 faces
But you cannot texture the Blockland brick with 6 faces. The brick bottom has 2 different textures: edge and center loop.