Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Voronoi texture/shader for Arnold

8 REPLIES 8
Reply
Message 1 of 9
am_wilkins
280 Views, 8 Replies

Voronoi texture/shader for Arnold

Hi,

 

I thought I'd make a new post regarding this, since the last I've seen are from 2011 and 2020.

https://forums.autodesk.com/t5/maya-ideas/voronoi-noise-node-and-blender-like-shader-controls/idi-p/...

https://forums.autodesk.com/t5/maya-shading-lighting-and/voronoi-cellular-noise-patterns-in-maya/td-...

 

Is there a reason why Arnold doesn't have a Voronoi shader/texture node?

It's definitely one of the main noise required for many different setups.

 

Or is there a way to create one, custom plugin etc. ?

 

Something similar to the texture from Blender.

voronoi.png

 

all the best,

amwilkins

8 REPLIES 8
Message 2 of 9
thiago.ize
in reply to: am_wilkins
Message 3 of 9
am_wilkins
in reply to: thiago.ize

Hi Thiago,

 

Thank you...yeah I've seen that one.

But does it produce the same results when used for something like a normal map?

 

Just some quick testing doesn't appear to, but maybe I'm doing something wrong.

We just get black and white values?

arnold_cell_noise_01.pngarnold_cell_noise_02.png

 

Result I'm hoping to see. Better faceting.

voronoi_02.png

voronoi_01.png

 

 

Thank you!

amwilkins

Message 4 of 9
thiago.ize
in reply to: am_wilkins

You need to invert the cell_noise. Once you do that it works:

cell_bump.jpg

cell_noise
{
 name mycell
 pattern noise1
 additive 0
 amplitude .5
 scale 5 5 5
 coord_space "object"
 lacunarity 5
}

subtract
{
 name invert
 input1 1 1 1
 input2 mycell
}

bump2d
{
 name bump2d1
 bump_map invert
 bump_height 0.05
}
Message 5 of 9
am_wilkins
in reply to: thiago.ize

Thank you Thiago, that's interesting it's needs to be inverted and also have to use Noise1 or Noise2.
Surprised the Cell Noise doesn't appear to work with the same setup.

 

arnold_voronoi_01.png

Another question, again trying to match some behavior to Blender here and show there is some interest in more features on these nodes if required.

How would you smooth the sharp edges in Arnold?

smooth_voronoi.gif

 

 

Thanks!

amwilkins

Message 6 of 9
martinkindl83
in reply to: thiago.ize

thats awesome to know,

years ago, when the new cell noise came out, i was told by developers, those two noise type wont work with normal/bump in general, something in code.

Glad i found its working, even though 4years later 🙂

Message 7 of 9
am_wilkins
in reply to: am_wilkins

Hi @thiago.ize

 

Just so we don't leave this thread hanging, is smoothing the voronoi / cell noise result possible with Arnold?

(like the "Smooth F1" mode in the Blender example above)

 

Would be great to get some confirmations and if not possible, to perhaps place a request for this feature.

 

 

All the best,

amwilkins

Message 8 of 9
thiago.ize
in reply to: am_wilkins

Sorry, I have not tried creating a shader network to do this. I assume it should be possible maybe through clever use of ramps or clamps? Building all of this into a shader that ships with Arnold would of course be nice.

Message 9 of 9
am_wilkins
in reply to: thiago.ize

Ok, thanks for the update!

Let me know if you get a chance, I've built some pretty cool looking stuff in Blender using this technique and would love to do the same in Arnold/port it over.

 

"Building all of this into a shader that ships with Arnold would of course be nice."

100% gets my vote, for what it's worth.

 

amwilkins

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report