Dynamic change fractal noise node size

Is there any way to link a modifier to the width and height attributes of the fractal noise module? I’d tried and it did not work, but I can change the attributes manually in the node.

I just had a look into this, and it seems like you’re trying to modify the resolution, which normally cannot be done. We generally don’t encourage changing resolution settings during playback. Depending on what you’re trying to achieve, you could potentially use the Scale X and Y fields to achieve a similar result.

Hope this helps

Hi, Chris, thanks for your response. Yes i’d try with the scale fields, but had to make some more tests

The idea is to expose the video attribute from a video loader to change the image processed from a media server ( I don’t try this yet, is it possible?) and take the resolution of that image and apply it to the noise node. This is not ment to be changing the image on the fly, just pick an image then go on play.

Yesterday had the idea to make a little script in js to match the resolution, I had to try that. I’ll give another look at the scale option just matching the aspect of the image that can be different any time.

You can also expose the video property of a video loader and change the image that it takes in from a video loader.

Using a channel extractor node, you can get the resolution of the texture that is coming in through your video loader. And yes, you can write a javascript to do this and set the width of the fractal noise attribute dynamically.

As Chris said, just check the performance of this during playback.
set_res.zip (2.3 MB)

Thanks for the example. I’d coded a condition to refresh the resolution of the fractal noise only if its different from the videoloader’s to not generate much traffic.

Thanks to both of you!