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

osltoy #824

Merged
merged 1 commit into from
Dec 4, 2017
Merged

osltoy #824

merged 1 commit into from
Dec 4, 2017

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Nov 30, 2017

osltoy is a GUI app that lets you interactively edit a pattern shader
and adjust its parameters, seeing the updated rendered results in
real time.

It's the OSL equivalent https://www.shadertoy.com/

The GUI uses Qt5. If that's not on your system (or if you purposely
disable it with the build-time option USE_QT=0), osltoy will not be
built (but the rest of OSL will).

A few other changes that come along with the ride:

  • The shade_image utility function has changed its API slightly: the
    last (optional) parameter that used to be a simple thread count is now
    a parallel_image_options struct. But this struct can be implicitly
    constructed from an int (which is, in fact, the thread count), so any
    source code that calls shade_image should not need to be altered.

  • New mandelbrot.osl shader has been added. It computes Julia sets, too.
    Enjoy!

osltoy is a GUI app that lets you interactively edit a pattern shader
and adjust its parameters, seeing the updated rendered results in
real time.

It's the OSL equivalent https://www.shadertoy.com/

The GUI uses Qt5. If that's not on your system (or if you purposely
disable it with the build-time option USE_QT=0), osltoy will not be
built (but the rest of OSL will).

A few other changes that come along with the ride:

* The `shade_image` utility function has changed its API slightly: the
  last (optional) parameter that used to be a simple thread count is now
  a `parallel_image_options` struct. But this struct can be implicitly
  constructed from an int (which is, in fact, the thread count), so any
  source code that calls shade_image should not need to be altered.

* New mandelbrot.osl shader has been added. It computes Julia sets, too.
  Enjoy!
@lgritz lgritz merged commit 7f9372f into AcademySoftwareFoundation:master Dec 4, 2017
@lgritz lgritz deleted the lg-osltoy branch December 6, 2017 17:29
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.

None yet

1 participant