Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Voronoi texture/shader for Arnold

10 ANTWORTEN 10
Antworten
Nachricht 1 von 11
am_wilkins
1730 Aufrufe, 10 Antworten

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

10 ANTWORTEN 10
Nachricht 2 von 11
thiago.ize
als Antwort auf: am_wilkins
Nachricht 3 von 11
am_wilkins
als Antwort auf: 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

Nachricht 4 von 11
thiago.ize
als Antwort auf: 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
}
Nachricht 5 von 11
am_wilkins
als Antwort auf: 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

Nachricht 6 von 11
martinkindl83
als Antwort auf: 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 :leicht_lächelndes_Gesicht:

Nachricht 7 von 11
am_wilkins
als Antwort auf: 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

Nachricht 8 von 11
thiago.ize
als Antwort auf: 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.

Nachricht 9 von 11
am_wilkins
als Antwort auf: 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

Nachricht 10 von 11
stella_ng24GWZ
als Antwort auf: am_wilkins

Hi, 
I've been playing around and trying to do some testing with blender set up in maya and found that aiRange is a good node to use to control the fall off of aiCellNoise.

Nachricht 11 von 11
am_wilkins
als Antwort auf: stella_ng24GWZ

Cool!

Unfortunately, still doesn't smooth the edges of the voronoi pattern.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report