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

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

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

Post 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 !
Support LuxCoreRender project with salts and bounties
neo2068
Developer
Developer
Posts: 260
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

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

Post by neo2068 »

This is really cool. :o Great feature! :D
i7 5820K, 32 GB RAM, NVIDIA Geforce RTX 2080 SUPER + GTX 1080, Windows 10 64bit, Blender 2.83.5
Support LuxCoreRender project with salts and bounties
User avatar
SATtva
Supporting Users
Posts: 30
Joined: Sun Dec 17, 2017 10:27 am
Contact:

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

Post 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)
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

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

Post 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:
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

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

Post 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.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

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

Post 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 !
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

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

Post 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.
Support LuxCoreRender project with salts and bounties
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

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

Post 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
Rsharma
Posts: 2
Joined: Thu Aug 27, 2020 9:01 pm

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

Post 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.
Post Reply