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

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Posts: 4697
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 » Thu Aug 27, 2020 9:15 pm

Rsharma wrote:
Thu Aug 27, 2020 9:10 pm
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.
I credited the right paper but the wrong author. I was assuming the author of the WebGL demo was the same of the paper.
Support LuxCoreRender project with salts and bounties

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 » Thu Aug 27, 2020 9:23 pm

Dade wrote:
Thu Aug 27, 2020 9:15 pm
Rsharma wrote:
Thu Aug 27, 2020 9:10 pm
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.
I credited the right paper but the wrong author. I was assuming the author of the WebGL demo was the same of the paper.
Thank you for fixing it! Great implementation btw!

User avatar
Dade
Developer
Posts: 4697
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 » Thu Aug 27, 2020 9:35 pm

kintuX wrote:
Thu Aug 27, 2020 4:45 pm
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
I'm not sure if they can be of any real use or just clutter the UI. Our current defaults (Randomize tiles on, 3 tiles, high quality blending, exponential blending) should be good for all seasons. Did you find some alternatively useful setup ?
Support LuxCoreRender project with salts and bounties

AndreasResch
Posts: 25
Joined: Fri Jul 06, 2018 9:32 am

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

Post by AndreasResch » Fri Aug 28, 2020 2:33 pm

kintuX wrote:
Thu Aug 27, 2020 4:45 pm
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
Count me in for that. This would be amazing and add so much more variance to scenes if necessary. In Blender I use UV randomization all the time. This and the Bevel Shader (which I see you are already working on) would be awesome improvements.

AndreasResch
Posts: 25
Joined: Fri Jul 06, 2018 9:32 am

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

Post by AndreasResch » Fri Aug 28, 2020 2:40 pm

Dade wrote:
Thu Aug 27, 2020 9:35 pm
kintuX wrote:
Thu Aug 27, 2020 4:45 pm
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
I'm not sure if they can be of any real use or just clutter the UI. Our current defaults (Randomize tiles on, 3 tiles, high quality blending, exponential blending) should be good for all seasons. Did you find some alternatively useful setup ?
Here's an example where randomized UV rotation comes in very handy. This are instances of the same object (same material of course) and all the wood grain is oriented differently, as it is in real life. I sometimes have dozens of them in scenes and this variance makes all the difference.

Image

User avatar
Dade
Developer
Posts: 4697
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 » Fri Aug 28, 2020 3:11 pm

AndreasResch wrote:
Fri Aug 28, 2020 2:40 pm
Here's an example where randomized UV rotation comes in very handy. This are instances of the same object (same material of course) and all the wood grain is oriented differently, as it is in real life. I sometimes have dozens of them in scenes and this variance makes all the difference.
Ok but I was talking of the "Tiling" section of the UI panel: Randomized UV and Randomized Tiling are somewhat 2 separate and uncorrelated topics.
Support LuxCoreRender project with salts and bounties

AndreasResch
Posts: 25
Joined: Fri Jul 06, 2018 9:32 am

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

Post by AndreasResch » Fri Aug 28, 2020 3:20 pm

Dade wrote:
Fri Aug 28, 2020 3:11 pm
AndreasResch wrote:
Fri Aug 28, 2020 2:40 pm
Here's an example where randomized UV rotation comes in very handy. This are instances of the same object (same material of course) and all the wood grain is oriented differently, as it is in real life. I sometimes have dozens of them in scenes and this variance makes all the difference.
Ok but I was talking of the "Tiling" section of the UI panel: Randomized UV and Randomized Tiling are somewhat 2 separate and uncorrelated topics.
I understand. But if you look at that Randomization dialog from Corona, it has a randomize option for the W axis. So with 1 tile and W randomization turned on, you will get the same result, right? Having some randomization in the Triplanar Mapping node would do the job as well.

User avatar
Dade
Developer
Posts: 4697
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 » Sun Aug 30, 2020 12:13 pm

The support for CPUs and GPUs rendering should be now complete.
Support LuxCoreRender project with salts and bounties

User avatar
Sharlybg
Donor
Posts: 2295
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 » Sun Aug 30, 2020 3:35 pm

Dade wrote:
Sun Aug 30, 2020 12:13 pm
The support for CPUs and GPUs rendering should be now complete.
Awesome :geek:
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Post Reply