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

consider a gui for the render graph #5

Open
mreinstein opened this issue Oct 5, 2023 · 1 comment
Open

consider a gui for the render graph #5

mreinstein opened this issue Oct 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mreinstein
Copy link
Owner

mreinstein commented Oct 5, 2023

Setting up a cobalt node graph is essentially just data. It would be more intuitive to be able to drag n' drop these nodes onto a scrollpane and link them, much like many other shader graph systems out there (unity, unreal, etc.)

We could expose some new API call that would accept an object/string as input, something like:

const c = Cobalt.init(canvas, viewportWidth, viewportHeight)

const graph = '....' // whatever cobalt node data looks like

Cobalt.import(c, graph)
@mreinstein mreinstein added the enhancement New feature or request label Oct 5, 2023
@mreinstein
Copy link
Owner Author

nice_looking_node_graph

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

No branches or pull requests

1 participant