chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
633 stars 76 forks source link

[Suggestion] Texture rotation/randomization #435

Open chland opened 7 years ago

chland commented 7 years ago

Quite a few years ago, Optifine added a feature called "Natural Textures". If you enabled it, it rotated the textures for certain blocks like sand or grass. The same seems nowadays be possible by using resource-packs (? sorry, I really don't know much about that stuff) and block-variants.

AFAIK, chunky doesn't really care much about block-model stuff ATM. So i guess thats the reason randomizing the textures that way doesn't work. But I was wondering if it would be possible to add a checkbox to either the "Advanced"-tab to enable random rotation for certain blocks like grass, sand, stone, snow, etc. or add an "Allow Texture Rotation" checkbox to the new material-config (probably even divided into different settings for the top/bottom/sides of the block). And if you enable that feature, chunky just rotates the texture randomly by 0/90/180/270 for every block.

Here is a little screenshot that shows the difference:

random_texture

chland commented 7 years ago

Oops: just saw that https://github.com/llbit/chunky/issues/400 is kinda similar to my suggestion.

ahernsean commented 7 years ago

It's similar in goal but very different in proposed technique to reach that goal.

-Sean

-- Sean Ahern Computational Engineering International 919-363-0883

On Thu, Jul 6, 2017 at 10:52 AM, chland notifications@github.com wrote:

Oops: just saw that #400 https://github.com/llbit/chunky/issues/400 is similar to my suggestion.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/llbit/chunky/issues/435#issuecomment-313419813, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkqlJtctGKnHUBhknp_axUr8Iy6nXLOks5sLPSRgaJpZM4OPokX .

chland commented 7 years ago

Yeah, my idea is a lot simpler and doesn't affect the grass-plant/bush/blades (whatever it is called :)) but only the texture of the block beneath it to get rid of the moiré pattern thats caused by the repeated textures.

leMaik commented 4 years ago

Related to #137 (which proposes to use different animation frames for animated textures)