bentway23

bentway23

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

pnoise: remapping output values July 3, 2020, 7:17 p.m.

I need a simple noise that loops over the course of five (or however many) seconds, moving the @P.x of the points on a line back and forth, and so I'm using pnoise. I would like to give it precise min and max values (I want things to be able to bump against each other but not intersect), which would be easy enough with a fit, but I haven't been able to find it's precise output values in any reference. Over the course of 120 frames the output appears to be 0.5-centric and it goes between 0.22398 and 0.800649, so it doesn't appear to be an even +/- any obvious value like 1 or 0.5. How can I find the actual minimum and maximum outputs for pnoise so I can make sure it hits zero (or 1) at its extremes?
I've tried periodic noise in a point VOP but that seems very unwieldy. I know Unified noise can loop and is always 0 - 1, but it has a whole lot more to it than I need to deal with. (Plus I just want to know how to do these things in VEX). The only output value reference I've been able to find is that aanoise is -0.5 to 0.5 and unified noise is 0 - 1.

If it makes any difference, here's what's tucked in my point wrangle (reference parameters on an outer master null):

   int offset = prim(0,“id”,0);
   float roughness = ch(“../MASTER/roughness”,0);
   float frequency = ch(“../MASTER/frequency”,0);
   int period =  ch(“../MASTER/period”,0);
   float noisemult = ch(“../MASTER/outerNoiseMult”);

   float noiseval = pnoise((@Time*frequency)+offset, @P.z*roughness, frequency*period, 0);
   @P.x += (noiseval * noisemult)-(noisemult/2);  //the noisemult/2 is to get them back to 0-centric

Thanks!

Toon workflow in V-Ray for Houdini? June 29, 2020, 6:58 p.m.

In case someone runs across this, I quote “Puffball”'s response in the V-Ray forums, which did the trick for me:

you need to add/make a vray environment node in the OUT context - then add the toon atmospheric effect in there. Then add this node to the environment slot near the top of the vray render rollout. The lines then show up.
In regards to the toon material - it only seems to work correctly with omni lights at the moment.

Toon workflow in V-Ray for Houdini? June 29, 2020, 2:48 p.m.

I've also posted this on the V-Ray forums, but since this message board is more active I figured I'd try here, too–

I'm trying to get the toon material to work in Houdini and having no luck. Applying the material itself does nothing. There's also the atmospheric effect, but I can't figure out how to use it–it has no outputs to go into the material, and whether I create it in the mat or out context there's apparently something you have to do to make it work.

I'm new to V-Ray. I also speak Maya, so I tried looking up how to apply the toon material in Maya, thinking it would translate, but all I could find involved pressing a button on the V-Ray shelf that does exist in Maya, but doesn't in Houdini.

Thanks for any help!