Author Topic: 3d bricks  (Read 2031 times)

wtf? How will pulling up little sections of the brick models make the game lag like hell?
that's like saying adding another player model will lag the game like hell

When you're looking at the top of a 64x baseplate, you see a single face being rendered with a texture. When you're looking at the top of a 64x baseplate with 3D studs, you see 20480 individual faces being rendered without a texture.

wtf? How will pulling up little sections of the brick models make the game lag like hell?
that's like saying adding another player model will lag the game like hell
Adding player models at the scale you're suggesting for bricks will lag the game.
The deal here is this: The game lags when it renders a lot of faces. faces are sides to a 3d object - a perfect cube has 6 faces.
bricks have 6 faces, because they're like cubes, except rectangular, not boxy. (close enough)
 what you're suggesting adds 5 faces for each dimension of the bricks. the raised thing looks like the picture shown above.

a 2x4 would go from 6 faces to 25 faces. this is a lot of faces. now, theoretically, it would only add these spare 'studs' for the top layer of bricks - they would be hidden if there is a brick on top of one of them, so that might help.

You could try a bumpmap shader.

...except you'd need to give the shader a second texture to work with, which is pretty much impossible with the current method of making shaders. Might be possible once there's a system for shader add-ons. The rest of it would be easy - if a normal is pointing up, that means it's most likely part of the top of a brick. Apply some math and colors, and you've got 3D bricks.


what

i can't be sure, but i think he said "Not possible without 3 fps.". i could be wrong though.

i can't be sure, but i think he said "Not possible without 3 fps.". i could be wrong though.
fps = frames per second
what
did he mean that, if this was made, you would get 3 fps and it wouldn't be possible to get more than 3 fps?

fps = frames per second
what
did he mean that, if this was made, you would get 3 fps and it wouldn't be possible to get more than 3 fps?
he meant that it would lag any computer into supernova states