Blockland Forums > Suggestions & Requests
3d bricks
Port:
--- Quote from: Yin Yang on February 03, 2014, 09:11:14 PM ---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
--- End quote ---
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.
Lugnut:
--- Quote from: Yin Yang on February 03, 2014, 09:11:14 PM ---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
--- End quote ---
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.
ThinkInvisible:
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.
xSetrox:
--- Quote from: Subpixel on January 31, 2014, 01:14:26 AM ---Not possible without 3 fps.
--- End quote ---
what
Crispy_:
--- Quote from: xSetrox on February 05, 2014, 08:20:56 PM ---what
--- End quote ---
i can't be sure, but i think he said "Not possible without 3 fps.". i could be wrong though.