Show messages:
1-12
…
673-692
693-712
713-732
733-752
753-772
773-792
793-812
…
From: Frenchy Pilou (PILOU)
<<OK i have the Octane point in extensions from the previous "deviant" post but not the "logo" Octane on the node!
<< At the moment it works with MoIv4 only.
"not the logo" on title's node : so it's a personnal variation not include on your extension published?
From: mkdm
Hi Max!
@You : "...The icon should be specified inside a node file as a base64 encoded string parameter.
Check this file:
http://moi.maxsm.net/nodeeditor/extensions/octane.js"
Thanks a lot for the info.
Last question...
Which size and format the icon should be ? Png 24 bit (8red,8gree,8blue with transparent background) as we talked about months ago ?
Thanks.
Ciao.
From: amur (STEFAN)
Hi Marco,
> Which size and format the icon should be ? Png 24 bit (8red,8gree,8blue with transparent background) as we talked about months > ago ?
If you decode the string it will give you (for his Octane Logo) a 24bit .png with a transparent background, 32x32 pixels in size.
Regards
Stefan
From: Max Smirnov (SMIRNOV)
Hi Marco
If I remember clearly, we decided to use 64x64x24 bit icons :)
This octane 32x32 icon is just a test.
From: mkdm
Thanks Stefan for the tip.
Have a nice day.
From: mkdm
Hi Max.
Perfect! I think 64x64 is perfect for any kind of display monitor (both SD/HD/Retina)
One question...
Is there a way to attach and display the icons also for the "categories" end the "nodes"displayed into the scrollable toolbar on the left and int the RMB pupoup menu ?
This would be a great and nice UI improvements.
For example i never use the RMB manu but only the left toolbar that is much more user freindly for me, and having the chance to display icons and/or colored icons into that toolbar would be very useful.
I stay tuned. Thanks.
From: Frenchy Pilou (PILOU)
So how do you put this little title logo ? :)
You must enter in the code?
From: amur (STEFAN)
Hi Pilou,
if you mean the little Octane logo you have to use a base64 encoder/decoder in cmd.exe and run on a little png image
"base64 -e image.png > output.txt" and then copy the text from the output file in a string, like shown in Max's code example.
Regards
Stefan
From: James (JFH)
Hi Max
>> Could you add a line to main.js? <<
Yes. Although the line of code change did not fix the problem outright,
it has, at least, made NE on v4 useable, so thank you.
James
From: mkdm
This is super handy :
https://www.base64-image.de/
Marco (mkdm)
From: Frenchy Pilou (PILOU)
<< if you mean the little Octane logo
Yes :)
So I must read the code and make some headache tricky manipulations for the Nodes Menu!
Wish only one must be made for have the same on the screen of the node Logo Octane Tittle ? :)
From: amur (STEFAN)
Hi Pilou,
i don't use Node Editor but as understood you must create an icon for every node you like to have an icon in.
So if you look at Max's code example you see how it should be done, in case you like to put an icon in your
own node file.
Regards
Stefan
From: mkdm
Hi Pilou!
No tricky or headache at all if you are a little bit familiar with this kind of things :)
Just use the online tool I've reported (
https://www.base64-image.de/) and follow this little example (pseudo code) :
code:
// This is a js node definition file placed inside the "extensions" folder
function NameOfTheNode() {
......
... js code of the constructor function of the node
......
}
// here is the section that is important for you
NameOfTheNode.title = "NodeTitle";
NameOfTheNode.desc = "Node description";
NameOfTheNode.icon = "data:image/png;base64,xxxxxxxxxxxxxxxx";
Where "xxxxxxxxxxx........" is the base 64 code generated by the online tool (
https://www.base64-image.de/)
Nothing more than that :)
From: Frenchy Pilou (PILOU)
Ok I have made my own for be sure to understand what i made! :)
With SumpoPaint of course! :)
https://www.sumopaint.com/home/#app
Just curious logo is not centered on the Menu's Lines?...
Maybe the original is not exactly at the center...
Edit : even the original is centered result is bottom offseted! ?
From: Karsten (KMRQUS)
Hello Max,
I made a first experiment with an icon. Is it true that we will lost the node state (green, orange,red).?
Have a nice evening
Karsten
Image Attachments:
icon.png
From: Barry-H
Hi,
I have been playing with adding Icons in the node editor to see if they can be recognised at the 64 x 64 size.
On my surface Pro even when zoomed in I don't think over detailed icons will be recognised.
Any idea's on best colour's ?
Barry

Image Attachments:
Icon Test.png
From: Frenchy Pilou (PILOU)
For Max and all nodes lovers! :D
Official nodes + Extensions!
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/lang_21_12_17_vf.zip
From: Rudl
Hallo together,
where can I find the current instructions how to install the nodeeditor on V4.
From: r2d3
Have a look here:
http://moi3d.com/wiki/Nodeeditor
From: Rudl
Ralf, thank you, it functioned well. Had to replace just the name of the folder.
Now I need a nodeeditor beginner tutorial.
Rudl
Show messages:
1-12
…
673-692
693-712
713-732
733-752
753-772
773-792
793-812
…