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

Add <fractal2d> node #2183

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ld-kerley
Copy link
Contributor

Mirroring the existing behavior for <fractal3d>, we add the corresponding <fractal2d> node that uses the texcoord` input as its manifold.

Add support for OSL, MSL, GLSL, MDL (note : MDL not tested).

Updated specification documents to add <fractal2d> to the specification and remove it from the proposals document.

Also remove period inputs for the noises that don't have those inputs in the specification. This is already documented in the proposals document.

Note : in the GLSL noise library code I renamed the existing mx_fractal_noise_xxx() functions to mx_fractal3d_noise_xxx() to make the differentiation cleaner with the new mx_fractal2d_noise_xxx(). But I retained wrapper functions with the old name that just call through to the new name for backwards compatibility. I was unsure how much custom customer code might be referencing those functions. We can remove the shim functions when we have another breaking API release.

… MDL, along with simple unit tests for coverage - largely just cloning the work done for fractal3d
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

Successfully merging this pull request may close these issues.

1 participant