Show messages:
1-11
…
512-531
532-551
552-571
572-591
592-611
612-631
632-651
…
912
From: Max Smirnov (SMIRNOV)
Hi guys!
Today I added autoload functions to this project.
index.htm - almost completely rewritten
now it uses loadScripts function to load all .js scripts
all functions from the old index.htm has been moved to core/init.js
Syntax: loadScripts(subdirectory, scriptlist)
Subdirectory is a string parameter which points to subdirectory where scripts are stored.
As scriptlist you can use a comma separated string or a string array. In this list you can specify a names of the scripts which you want to load.
You can use a mask instead of full name. Each script will be loaded only once.
Example:
we have the following scripts in the nodes subdirectory:
basic.js
points.js
curves.js
solids.js
construct.js
transform.js
objects.js
interface.js
myscript1.js
myscript2.js
... etc
if we call loadScripts('nodes', 'interface, myscript1, c*, *s, *'); the scrips will be loaded with the following order:
(interface)
interface.js
(myscript1)
myscript1.js
(c*)
construct.js
curves.js
(*s)
objects.js
points.js
solids.js
(*)
all the rest scripts
backup the old index.htm file and unzip this archive to existing nodeeditor directory. There are only two files in the archive (index.htm and core/init.js)
Waiting for a bugreports. :)
P.S. I'll read all questions you asked me above and write an answers today or tomorrow.
From: Frenchy Pilou (PILOU)
Max new year the return! :)
I will wait some few times before new French translation ...time to users to find rare bugs are existing! ;)
But seems there is nothing to do as it's just some replace files! :)
I have replace the 2 files above
In fact you must put the file "init.js" inside the existing old Folder Core and not "Replace" the Folder Core!
and replace the index.html
(am i right ? :)
Seems all works fine !
Here the French version :)
From: Max Smirnov (SMIRNOV)
Today I wrote Slider2D interface node ;)
From: Karsten (KMRQUS)
Hello Max,
thank you very much - now I know, what Brian was talking about:-)
Have a nice evening
Karsten
From: mkdm
Hi Max!
Wonderful implementation! Thank you very much!
Are you thinking about which of the many nodes written by community you want to integrate into the core of Project Elephant ?
See you.
- Marco (mkdm)
From: Frenchy Pilou (PILOU)
Cool!
Not yet Translated the "Slider"! ;)
Do you think of a Slider 3D ?
From: Mindset (IGNITER)
Wow!
From: bemfarmer
Very Cool!
Thank you Max.
- Brian
From: speedy (AL2000)
Welcome back Max
really... really performing the
your new Slider2D ;
we need your "knowledge"
to advance the Elephant-
Again thanks for everything
Have a nice day
al
From: Ced (FRACTIONALIST)
Uh... yeah. What goes where, please?
Image Attachments:
Untitled-1.jpg
From: Karsten (KMRQUS)
Hello Ced,
the short version: moi\ui\nodeeditor
more infos here:
http://moi3d.com/wiki/Nodeeditor
Have a nice day
Karsten
From: Karsten (KMRQUS)
p.s.: First install the main package;-)
From: AlexPolo
Hi All,
Just getting into understanding Max's great work with Node Editor trying to emulate his other great script the Array 3d in nodes but with the function of Path (Curve) Follow. Where selected object grows along a selected curve.
If possible with a randomize seed.
Any thoughts welcome
Alex.
From: Karsten (KMRQUS)
Hello Alex,
there a different way to create such geometries. I have made a file as a start point for your experiments.
Have a nice day
Karsten
Attachments:
3D-Array.nod
Image Attachments:
3D-Array.png
From: AlexPolo
Hello Karsten,
Many thanks for that I have tried to get a similar result to your image if you could give me a brief not on usage would be great I am a novice to the NODES and still working out its workflow.
best regards
Alex.
From: Max Smirnov (SMIRNOV)
Next beta has arrived :) v.0.90.2017.02.26
Changelist:
- Added "Average" and "Cross" modes in processInOut function.
I checked "averege" mode written by community, and decided to rewrite it. :) Sorry. It may cause bugs with v.0.85 nodes which uses this function. Could someone send me old node files for testing this mode?
At the moment the "Cross" mode works with 2-input nodes only. If node has one or more than two inputs, the mode will be changed to "Long" automatically.
- Fixed bug in processInOut function. Now it works correctly with nodes without inputs.
- Directory structure and some filenames has been changed
CSS files moved to /core/css
Added /nodes/extensions directory for nodebundles written by community :)
Added /nodes/extensions/libs directory for additional math/geometry libraries. All .js files in this directory will be started before all /nodes/extensions/*.js files.
- Load file function improvements
Now all node files will be loaded correctly even if some nodes are missing. In this case the missing nodes will be marked. "Save", "Run" and "Step" buttons will be blocked.
- Changed some mouse button functions (I made interface closer to original MoI interface)
Left mouse button:
click on background and drag - selection tool
shift + click on background and drag - selection tool (addition mode)
alt + click on background and drag - move canvas
click on node - select node
shift + click on node - select node (addition mode)
click on node and drag - move node
click on linked input - disconnect input
double click on node - open info window
double click on background - show/hide debug info
shift + double click on background - select all nodes
Right mouse button:
click and drag - move canvas
click - context menu
Middle mouse button:
click on node - select/deselect node
click on background and drag - move canvas
From: Frenchy Pilou (PILOU)
Fabulous as always!
French version in few times! :)
Done :)
http://moiscript.weebly.com/elephant-systegraveme-nodal.html
From: redraw (MAYSKY)
Russki:
Спасибо, это в самом деле классно.
Angliski:
Thanx, this is the bomb!
Ivan
From: James (JFH)
Hi Max,
Thank you for your continued development of node editor.
Brilliant as ever!
The new interfacing capabilities will be a real enhancement to
productivity: in particular the marque selection of multiple nodes.
This is very useful for ordering complex node wiring diagrams,
however there would also be great utility in being able to delete
multiple nodes at once. Is it possible to activate the "delete" key
to work with litegraph core?
Also as I understand it, Javi Agenjo imposed a limitation on nodes
that they can receive only single inputs, but may have unlimited
multiple outputs. However in node editor, nodes with object outputs
are further limited to single outputs necessitating the "clone" node.
Particularly as is, with only 2 outputs, the "clone" node
introduces a lot of unnecessary complexity to wiring diagrams,
greatly inhibiting their legibility. Obviously, this problem could be
improved vastly with the allowance of additional outputs.
However it would be better to deprecate the "clone" node altogether,
and introduce unlimited multiple outputs to object out nodes as well.
Is this something that is even possible?
Thanks again for your great work,
I can not express enough how appreciative I am of your efforts.
James
From: Max Smirnov (SMIRNOV)
Hi James,
>>This is very useful for ordering complex node wiring diagrams,
however there would also be great utility in being able to delete
multiple nodes at once.
I've added this program block today. Wait a few days until a new beta.
>>Is it possible to activate the "delete" key to work with litegraph core?
Unfortunately, I can't find a way to use shortcuts in this project. I can't catch keyboard events at all when I start nodeeditor using moi.ui.createDialog method. Also I can start it using .js command script. In this case I can set shortcuts, and it works. But if I start another script while nodeeditor window is open the shortcuts will be reset.
>>Also as I understand it, Javi Agenjo imposed a limitation on nodes
that they can receive only single inputs, but may have unlimited
multiple outputs. However in node editor, nodes with object outputs
are further limited to single outputs necessitating the "clone" node.
This limitation caused by MoI's geometry database architecture. We can't use same objects with multiple nodes. So let's wait until MoI V4 beta. I hope it will support instances.
>>However it would be better to deprecate the "clone" node altogether,
and introduce unlimited multiple outputs to object out nodes as well.
Is this something that is even possible?
It possible, but it can cause significant slowdown. Anyway I'll think about it.
Show messages:
1-11
…
512-531
532-551
552-571
572-591
592-611
612-631
632-651
…
912