Page 1 of 2

Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 11:45 am
by Dade
I have the first working version of the support for Brent Burley's "Histogram-preserving Blending for Randomized Texture Tiling" (aka Procedural stochastic texturing).

Given this image map:

pattern-3.jpg

A normal tiled rendering will look like:

rt0a.jpg

While with randomized tiling:

rt0b.jpg

Another example:

pattern-7.jpg
rt1a.jpg
rt1b.jpg

The support can be enabled by just setting the ".randomizedtiling.enable" property to 1:

Code: Select all

scene.textures.imgtex.file = pattern-3.jpg
scene.textures.imgtex.randomizedtiling.enable = 1
Quite amazing stuff !

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 11:49 am
by neo2068
This is really cool. :o Great feature! :D

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 1:03 pm
by lacilaci
Awesome!

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 1:14 pm
by SATtva
OMFG!

(Yes, I still got the forum feed in my mail client and logged in just to tell Dade how amazed I am. :D)

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 1:19 pm
by Sharlybg
Another strike in the right field. Well done Dade.
SATtva wrote: Thu Aug 27, 2020 1:14 pm OMFG!

(Yes, I still got the forum feed in my mail client and logged in just to tell Dade how amazed I am. :D)
Good to see that you are still arround. :mrgreen:

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 2:21 pm
by B.Y.O.B.
This is now available in the Blender addon, so you can play around with it. It's an option in the imagemap node.
Note that you will have to switch the device to CPU to use it, until GPU support is implemented.

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 2:23 pm
by Sharlybg
B.Y.O.B. wrote: Thu Aug 27, 2020 2:21 pm This is now available in the Blender addon, so you can play around with it. It's an option in the imagemap node.
Note that you will have to switch the device to CPU to use it, until GPU support is implemented.
That is fast thanks BYOB !

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 2:52 pm
by Dade
B.Y.O.B. wrote: Thu Aug 27, 2020 2:21 pm Note that you will have to switch the device to CPU to use it, until GPU support is implemented.
I have also yet to write single channel and check bump mapping support.

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 4:45 pm
by kintuX
Good looking and a necessary addition. 8-)

BTW
Are there any plans for custom controls like U&V offset, rotation & scale, amount and type of blending?
Here's corona's version for example
rndmztn-ctrls.jpg

Re: Histogram-preserving Blending for Randomized Texture Tiling (aka Procedural stochastic texturing)

Posted: Thu Aug 27, 2020 9:10 pm
by Rsharma
This research is from Brent Burley and Eric Heitz not Benedict.
http://jcgt.org/published/0008/04/02/
https://eheitzresearch.wordpress.com/722-2/
Please credit them.