How does the water texture work?

What should be connected where? (And when will the docs be online? :wink: )

Hello,
The VrayWater node is a texture node, which you can use as an input to the Displacement node.
The only Vray specific thing is that you should change the displacement type for the shape to “Vector Displacement”.
You can access this parameter in the Vray’s extra attributes:
Attribute editor → Attributes → VRay → Displacement control → Displacement type

Ive used it with normal displacement all the time, piping one of the colors to the displacement. Whats the difference? Is vector displ better?

At the moment only vector displacement will work.
We’ve implemented a wave choppiness parameter and this requires a 3d displacement.

Oh, nice, have been looking for better water solutions in maya vray , but thats sound good! Is it implemeted from nightlies 11538 ??

No, you need 11955+

Nice, thanks for the explanation. Any chance for some kind of viewport preview? Maybe just calculating a luminanceversion of the displacement for use as a bumpmap or something like that?

Okay, i’m playing around with that. But as soon as I use the choppy multiplier everything just breaks away, as you can see on the pictures. What am I doing wrong there?



Try smaller values, 10 or 100 times smaller.

Whoaa! Nice stuff you´ve got here. Its alot better than the other water.

Any chance of making VrayWater part of the Vray Create menu like the other features (like fur, etc)? Would make it so much easier to use :slight_smile:

and yeah! it does look pretty awesome :slight_smile:

Using Vlado’s test-scene and with my Donut Man in a little refreshing dip :wink:

Anybody succeded to create some wave pinch/choppiness?

Nope, it always breaks my meshes. BTW, one box is ca. 80x80x80 cm.



pechart: Try smaller values, until there is no choppiness at all, them choose a value that you like. If you can’t fix it, please upload a test scene, so I can see what is wrong.

I really don’t get it, sorry. I attached a very simple scene. Thank you!
water01.zip (12.1 KB)

You can try to set the height multiplier to 0.01, choppy multiplier to 0.00007 and patch size to 2560.
Also it seems that you have to delete the inner edge of you water plane.

In seems that Maya 2011 has a bug: setting small values in the Attribute editor doesn’t work. If you set an attribute to 0.0001, the command that is executed is setAttr attr 0, not setAttr attr 0.0001. You can use the channel box or the Window > General Editors > Attribute Spread Sheet.

Hmm, okay. I’ll give that a try.

It’s not a bug; you can specify the precision somewhere. Can’t remember exactly the case, but there was either a global setting (like in 3ds Max), or it had to be specified when creating the parameter in the C++ code.

Best regards,
Vlado

Channel Box > Edit > Settings > Change Precision?

what is the proper control to scale up or down the frequency, so that I can control the water scale in relation to my scene?