NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.65k stars 338 forks source link

(Bug): Changing SeNoise node parameter `Y Rotate` has no visible effect on generated noise #805

Closed jdknox closed 2 years ago

jdknox commented 2 years ago

Make sure to follow our issue report guidelines

Natron version

2.4.3 Release

Operating system

Windows 10

System specs

RAM: 24 GB CPU: Intel Core i7-8550U CPU @ 1.80GHz GPU: NVIDIA GeForce MX 150 (2 GB VRAM)

Did you install Natron using the official installer?

Custom installation path

g:/apps/natron-2.4.3

What were you trying to do?

While building a node tree I tried to modify the X Rotate and Y Rotate parameter of an SeNoise node.

What did you expect to happen? What happened instead?

The X Rotate works (somewhat) as expected, but the Y Rotate had no visible effect on the output noise. SeNoise.zip

Step-by-step reproduction instructions

  1. Start Natron

  2. Open attached file 3a. Scrub through timeline or playback the animation (Y Rotate on SeNoise1 node is driven by expression tied to current frame) 3b. Change the Y Rotate manually on the SeNoise1 node

  3. Notice the noise does not change, while it does for the X Rotate

(You can also just start a new file and add an SeNoise node, then attach it to a viewer.)

Additional details

As this is regarding an OpenFX node, should the bug report be made upstream instead of here?

jdknox commented 2 years ago

I think I found the culprit: https://github.com/NatronGitHub/openfx-io/blob/99d447138884950feee4b1543ea844ce538043ab/SeExpr/SeNoise.cpp#L914

The xRotate variable is being used instead of yRotate. This would also explain the odd behavior of the X Rotate!

YakoYakoYokuYoku commented 2 years ago

Could replicate and PR accepted, closing.