OpenBlocks

OpenBlocks

56M Downloads

More accurate painting

WillMorrison opened this issue ยท 4 comments

commented

I was looking at openblocks as a way of doing custom paintings in my world, as I think murals would be a great way of decorating, but was disappointed to find that the canvas blocks could only be painted as a whole, or with the pre-set stencils. I was hoping to be able to colour smaller sections of the block, since openblocks is clearly capable of creating custom textures by layering stencils, and has the ability to mix any colour of paint that I can get the RGB values for.

What I'd love to see is the ability to paint the individual pixels on a canvas block, so that it's actually a 16x16 canvas. My suggestion would be to add an "artist mode" to the paintbrush, that would make it only paint the pixel that was pointed at instead of the entire side of the block.

I know that the current implementation has stencils as an enum, so if that makes the above request overly difficult, then another, perhaps easier way of doing this would be to create a few new stencil presets that would allow for easier painting of subsections of block faces for pixel art purposes.

commented

I know this is old, but I also kind of was disappointed just now after crafting my drawing table. So I decided to leave how I thought it would work as a suggestion here, especially after reading your response about save data etc. to the other person.

I thought the drawing table would let me cut custom stencils instead of just having the presets, like creating new presets and then using them as a stencil.
Perhaps this would be more feasible and more in line with this part of the mod as is now?
I haven't read the source code as of yet but for example, if your stencils are based on a basic black and white texture to decide the cutout shape one could make the drawing table able to draw those, store them and then craft and use them like the already existing stencils.. This was really what I expected/hoped for when I enabled this part (originally got it for luggage tbh.. huge discworld nut here!)

If ingame stencil making is too much of a hassle, perhaps have the option to add new premade stencils to server/clients in packs.

Love your mod, it's useful, it's quirky, it has luggage and best of all it's completely modular in the cfg.
Cheers!

commented

There are few problems with this suggestion:

  • network bandwidth
  • block textures can be added/allocated only on startup, rebuilding is hard/buggy
  • it looks silly with texture packs (especially high-resolution)

Resource packs are also problematic, since there is no guarantee server and client will match.

commented

Change the stencil maker to make a 16x16 stencil that can be changed.

commented

This was the original implementation of Painting, but there were complications with the amount of extra data this added to the world and network stream, not to mention extra load on the graphics device to store those textures. I've marked this as a suggestion, perhaps another dev can give a more definitive answer.