Pryme8
1
So I have a SimplexPerlin3d noise block that I am making. I have it all compiling correctly and appearing as a module under the BABYLON scope.
What files do I have to change on the NME editor now to have it appear as a block that I can use in the editor?
I see blockTools.ts and nodeListComponent.tsx are those what I need to edit to enable it?
1 Like
Pryme8
2
So I have it to the point where it pops up in the menu, but when I drag and drop it over it makes the Node Block but Empty on the DOM.
I edited blockTools.ts, nodeListComponent.tsx, graphEditor.tsx but am not getting what I expect.
Not getting any errors on the build, so Im not to sure what else to edit.
![image](https://us1.discourse-cdn.com/flex020/uploads/babylonjs/original/2X/4/4680a997d0e0f681b26ac4669fe70f1cecb9ea4e.png)
image.png1600×900 144 KB
1 Like
Can you share the code you changed in blockTools and NodeListComponent? These 2 files should be enough
Pryme8
4
Im prolly doing something dumb wrong…
The name in the NodeListComponent must be SimplexPerlin3DBlock
1 Like
Pryme8
6
Thank you! I knew it had to be something dumb. Yesterday was a struggle for me. >_< ever have a day like that?
This week is hard on me to be honest ![:slight_smile: :slight_smile:](https://emoji.discourse-cdn.com/win10/slight_smile.png?v=9)
Pryme8
8
Just keep swimming! I appreciate you a ton friend, thank you for everything you have done and do.
My pleasure !!! Thanks for being with us as well!