-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
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
NodeMaterial visual editor #14244
Comments
I would disagree with those assumptions, actually:
I think that the visual editor will help those who aren't comfortable writing shaders, and some artists and developers coming from other workflows may just prefer it. But I certainly do not think coding with NodeMaterial is by any means impractical. About the particular visual editor — I think the examples given in #7522 are just examples. We'll want to build something specifically for three.js, based on existing work if possible... |
Thanks for the input
What i've heard just now is that the visual node editor will come after If so, do you know of any framework that currently works like this (nodes, without a node flow visual editor)?
To each their own :)
I'd be curious to hear a guess on this time line? I could be cocky and ask 2020 :) but in all seriousness, it sounds like it will come after |
No, or at least I don't think so.
you can continue to use ShaderMaterial without wrapping anything in nodes, if you prefer to write GLSL
This is up for debate, I think. |
Well, let's start the debate :) The timeline on this stuff is very long. If I think Should |
emm, it does not seem to be node-based editor? |
I realized that when i started playing with it, some nodes exist but they're for overlaying different materials it seems, so definitely not the tool that's needed? |
Lemme bump this with http://victhorlopez.github.io/editor/ this is for litegl but I bet some code could be borrowed to bring this kind of function in 3js editor |
@sunag used to have his editor live at http://sea3d.poonya.com/flow/ |
This comment has been minimized.
This comment has been minimized.
@makc that uses https://github.com/jagenjo/litegraph.js so maybe a good place to start for someone to implement a threejs version? |
That looks like an interesting resource I was trying to find a framework for making a generic graph editor. |
@pailhead why was this closed? |
I think i actually misclicked :) |
@mrdoob any thoughts of how a tool built with a dependency like this would fit the big picture? I plan to dig into his some. |
@pailhead there is already loads of files in editor/js/libs so why not add another one? in for a penny - in for a pound. |
I had a brain fart. This wouldn’t have to be a dependency of three |
I should make the UI more obvious ;) https://shaderfrog.com/app/view/2826 click "edit" on this shader I personally use ShaderFrog to make custom Three shaders, but frankly it's difficult / impossible for other people to do the same, the system does not support it well and I have to download and manually hack the output to suit my needs. ShaderFrog's node system doesn't use Three's NodeMaterial stuff (nor do I understand the nodematerial stuff) - it's meant to be something more general to glsl. |
Here's an article from Babylon.js on the state development of their node material and visual editor. It's a bit light on details but you can read more details on their implementation and progress on GH and the babylon.js forum. |
Some visual node (or flow-based programming) tools for ideas:
I like the first one because it is already built on Three. It doesn't have node materials yet, but that could be added. |
Dang, wish I could have seen some of these examples before starting this from scratch, |
Hi Guys, omg i've been dreaming about the APIs of node based material >v< just found this page from google. OMG im so blessed. i've been working on the proof of concept of something that works like a node based system for a few years. https://age.wonglok.com/ Thank you so much for all your hard work guys >v<!!!! |
I will definitely try to make a GUI + JSON + SDK for ThreeJS Node APIs for my personal fun fun usage >v<!!! Thank you all!!!! OMG!!!! |
did you do it?? |
i did it yayyyyyyyy |
Nice! Is this using NodeMaterial under the hood? |
super cool! |
@quacrobat apparently you could press "copy" button and then do this but with the copied json. |
Thanks, I saw that, but still couldn't figure it out, mainly because I'm not familiar with the Vue.js syntax... I wish that "copy" button just copied code that looks like:
:) |
vue? no, that is |
Aha! exactly what i was looking for. Thanks again @makc |
The discussion in #7522 became convoluted, with several different topics overlapping.
One topic is:
To which the answer is mostly:
I actually didn't understand if @sunag's visual editor will be open sourced and will be part of three.js.
I'd like to discuss the visual editor component to
NodeMaterial
. When, how, why, etc. :)For example:
I saw this editor https://shaderfrog.com/ mentioned in #7522, how does the three.js community decide which closed/open source tool it should depend on? What's the significance of SEA3D in this context and how does it relate to three.js?
The text was updated successfully, but these errors were encountered: