Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wave effect does not render maxima and Y Offset is very coarse. #5197

Open
sslupsky opened this issue Feb 13, 2025 · 3 comments
Open

Wave effect does not render maxima and Y Offset is very coarse. #5197

sslupsky opened this issue Feb 13, 2025 · 3 comments

Comments

@sslupsky
Copy link
Contributor

Describe the bug
When rendering the wave effect on an icicle the result is not scaled so that the full vertical scale is used.

The way the Y Offset is being generated renders as a very coarse adjustment. Using the 1-8-1 icicle pattern the offset does not visually change the render until about 13.

To Reproduce
Apply wave effect to icicle model with 1-8-1 pattern (alternate nodes selected)
select sine or triangle wave type
Set Scale Height of Wave to 100
Observe the top row of pixels does not render
Add Y Offset incrementally and note that waveform render changes in very coarse and abrupt steps. For instance, the first step occurs at offset 13.

Expected behavior
Waveform should include the top row of pixels.

If you increase the Thickness of Wave parameter eventually you get to the point where two vertical pixels are displayed and the top row begins to appear.

If you apply a Y Offset you can also get the top row to appear but then you loose the bottom row.

Seems like it might be some sort of rounding issue.

Screenshots

Image

I have attached a copy of the sequence used to reproduce the problem. I added an on effect with transparency so you could see the individual pixels of the icicle.

wave effect.xsq.zip

@sslupsky
Copy link
Contributor Author

This screenshot illustrates what happens when the Mirror Wave option is checked. There is an asymmetry in the rendered waveform.

Image

@sslupsky
Copy link
Contributor Author

Interestingly, if you set the Thickness of Wave parameter to 0 the mirrored waveform is symmetric:
Image

Also, the non mirrored waveform reaches the maxima:
Image

@sslupsky
Copy link
Contributor Author

A triangle wave illustrates asymmetry as well. The first screenshot is the mirrored waveform:
Image

And the second is not mirrored:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant