MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-15  …  1636-1655  1656-1675  1676-1695  1696-1715  1716-1735  1736-1755  1756-1775  …  1856-1859

Thread Split: Some posts in this thread have been moved here

From: James (JFH)
19 May 2020   [#1696]
Hi All,

Attached is a node circuit containing a macro for generating geodesic spheres
of variable resolution (0 = icosohedron up to 4 subdivisions*) with all vertices at equal distance from origin. Essentially, it subdivides an icosohedron, then spherizes the result.

James
https://www.instagram.com/nodeology/



* If you want to reduce or increase limit on allowable subdivisions, you can go into macro and change MAX.subDivs node shown in RED. Beware that a number higher than 4 however will likely hang your computer.
From: Frenchy Pilou (PILOU)
19 May 2020   [#1697]
It's false simplicity! :)
You must click on the middle node for see the entiere Macro! ;)
(no place for put it here! :D


From: James (JFH)
19 May 2020   [#1698] In reply to [#1697]
Pilou,

Well yes, I only posted the .nod file because I thought the macro within may be of use to others.

It is easy enough to cut & paste the nodes out of the macro and on to the canvas if you so desire.

I did not think that the result was worth posting, only the macro, but here is an image posted to instagram that uses similar node wiring to that found in the macro, and the subsequent images shows the node circuit for generating geometry.

James
https://www.instagram.com/nodeology/


From: Frenchy Pilou (PILOU)
19 May 2020   [#1699] In reply to [#1698]
Seems there is a little glitch somewhere in the geodsic...
As soon as the up Knob is decreased/ increased there is new a sphere who is drawn inside
and that calculate for a moment...etc ...and that blocks all things! ;)

And i believe it's more prudent to put Curseurs because Knobs are very sensible to the direction of rotation
with the mouse so increase can be not wished and too late for take back in the case above!
From: James (JFH)
19 May 2020   [#1700] In reply to [#1699]
Pilou,

It is not really a glitch, it is just an artefact of the multiple steps in processing.

The "new sphere who is drawn inside" is not spherical, but a Catmull–Clark smoothed subdivided icosohedron which persists on the canvas only while the vertices are spherized.

"that calculate for a moment...etc ...and that blocks all things"

To limit the computation time I have restricted the number of subdivisions to 4 despite the numerical "subDivs" input.

Being locked out while calculating occurs generally for tasks that draw heavily on computational resources, and although it can be frustrating it is something that we must live with.

"i believe it's more prudent to put Curseurs because Knobs are very sensible to the direction of rotation"

I've only used a knob, to illustrate that macro will accept a range of numerical inputs (0-4). My purpose of posting the file was solely to distribute the macro within.


James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
19 May 2020   [#1701] In reply to [#1700]
Many thanks for the infos and bravo for the creativity!
From: wayne hill (WAYNEHILL5202)
3 Jul 2020   [#1702]
A simple fractal for the Node Editor.

Wayne



From: Frenchy Pilou (PILOU)
3 Jul 2020   [#1703]
the ".js" must be \Moi\nodeeditor\nodes\extensions\
Cool !
+ Fat lines by Max Smirnov & Extrude!
http://moi3d.com/forum/index.php?webtag=MOI&msg=7594.31


From: James (JFH)
8 Jul 2020   [#1704]
Here's a node circuit for the generation of a interlinked woven screen.
Be warned that it may take a minute or so for geometry to generate.

Requires most current extension nodes, found here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.10

James
https://www.instagram.com/nodeology/

Attachments:
TripleHexWeave.nod

Image Attachments:
Screen Shot 2020-07-09 at 7.45.jpg 


From: Mik (MIKULAS)
8 Jul 2020   [#1705] In reply to [#1704]
It's unbelieveble what interesting geometry you can create via nodes.
Excellent!
Mik
From: Max Smirnov (SMIRNOV)
14 Jul 2020   [#1706]
Hi :)

New NE core build:
http://moi.maxsm.net/files/nodeeditor/nodeeditor.v.1.1.2020.07.14.zip

Minor interface updates, bugfixes etc.
From: James (JFH)
14 Jul 2020   [#1707] In reply to [#1706]
Welcome back Max,

So good to hear from you.
I've downloaded... can't wait to see the changes

Thank you for your continued support of NE
James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
14 Jul 2020   [#1708]
Evergreen! :)
From: Max Smirnov (SMIRNOV)
14 Jul 2020   [#1709] In reply to [#1707]
v.1.1 (14-07-2020)
Changes since v.1.0.rc3 version (03-10-2018):

index.html
added:
- utf-8 support

--------------
color.js
added:
- io_text_highlight and io_highlight variables

--------------
editor.js
fixed:
- open file dialog error

--------------
init.js
added command line parameters: file, step, run, close

examples:
open C:\NE\test.nod file
moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html?file=C:\\NE\\test.nod', 'resizeable,defaultWidth:1,defaultHeight:1', moi.ui.mainWindow )

open C:\NE\test.nod file and run it
moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html?file=C:\\NE\\test.nod&run=1', 'resizeable,defaultWidth:1,defaultHeight:1', moi.ui.mainWindow )

open C:\NE\test.nod file, run it, close window
moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html?file=C:\\NE\\test.nod&close=1', 'resizeable,defaultWidth:1,defaultHeight:1', moi.ui.mainWindow )

--------------
lang.js
added:
- minor inprovements

--------------
main.js
fixed:
- open macro dialog error
added:
- more node colors
- macro inputs/outputs reorder (hold alt and drag input/output dot)
- select -> same type/color menu
- minor improvements

--------------
added ext.nodelist.js

--------------
nodes/interface.js
added:
- remapper widget
- minor improvements
From: James (JFH)
14 Jul 2020   [#1710] In reply to [#1709]
Max,

Thank you for the info.
I have a few suggestion that may be worthy of your consideration.

1) I think it would be operationally consistent with the menu logic for "Output" to be included in the first tier, just as "Input" "Output" & "Close" are in menu within a macro. See image below



This is a small thing; but I do think "output" is distinct from other nodes & deserving of first tier status.

2) I don't believe "Point" node is fittingly part of the "Basic" grouping, as it is a geometry node. It belongs IMHO within "Points" menu. To removed the inevitable confusion, I think, "points" would more appropriately be renamed as "pointArray".



3) Wayne made a minor but significant change to your curve nodes: "Rectangle", "Circle", "Star" & "Polygon" with the addition of a surface output option. I have attached below.

Although generally connecting to "construct2/Planar" node satisfied the requirement of generating surface shapes, it fails in some instances (with complex patterns), & in these cases, incorporating surfacing within the node has been a real improvement.

Please have a think about these suggestions and let me know.

Thanks again for your support,
James
https://www.instagram.com/nodeology/

Attachments:
shapes.zip

Image Attachments:
menu1stTier.gif  pointsMenu.gif 


From: Max Smirnov (SMIRNOV)
17 Jul 2020   [#1711] In reply to [#1710]
Hi James

1) OK. Done.

2) You're right. I've moved Point node to Points.js and renamed Points to PointArray. Also I updated compatibility.js file. Old projects should work fine.

3) it fails in some instances (with complex patterns)
Could you send me an example?
From: fcwilt
17 Jul 2020   [#1712] In reply to [#1710]
Hi,

I'm new to Node Editor.

Just curious about the arrangement of items in the menus.

For instance why is there a "Points" item and a "Points2" item but they are not together, one right after the other?

For that matter why are there two menu items related to points as opposed to just one?

Not a big deal at all but was just wondering how things came to be the way they are.

Frederick

P.S. I do try to keep my OC nature under control.
From: Frenchy Pilou (PILOU)
17 Jul 2020   [#1713] In reply to [#1712]
If you go there you will see that Points is "Native Nodes" an Points 2 is "Extensions Nodes" ! ;)

https://moiscript.weebly.com/biblio-elephant.html
From: fcwilt
17 Jul 2020   [#1714] In reply to [#1713]
Hi,

That seems to be a matter of how the underlying code is structured.

From a user interface point of view that is really of no interest.

Thanks.

Frederick
From: James (JFH)
17 Jul 2020   [#1715] In reply to [#1711]
Max,

Thank you for implementing those changes.

"3)....Could you send me an example?"

Regarding the inclusion of a "Srf" output on shape nodes ("Circle", "Rectangle", "Polygon" & "Star"),
the following shows the situation when this need first arose.

From Top down:
1) connecting directly to "circle" node gives the expected result in arrangement of circles & their colouring,
however the desired effect, is lost because the circles are outline only.

2) now connecting the "Construct2/Planar" fails to achieve the desired result because the order is lost.

3) attempting to go via "CloneToPts" does not work at all.

4) using Wayne's "Curves2/Circle2" node "Srf" output work perfectly!



I have since found that I use Wayne's shape nodes all the time. For example "Curve2/Rectangle2" has for me, made Karsten's "SubD/selCenterPane" obsolete. But perhaps the main application is with complex variegated screen images with hundreds of shape elements, where connecting to "Construct2/Planar" node after pattern articulation, will hang the computer for a long time while it calculates all the trimmed surfaces.

It seems to me a small change that would produce no backward compatibility issues & yet is very useful.

Is your resistance to this change because it somewhat invalidates these nodes from being grouped within "curves" menu? I don't see it as a serious contravention of UI logic, but if so perhaps there could be a "Shapes" menu.

I am happy to continue using wayne's versions, but I do think there needs to be a rationalisation of node hierarchies.

Thanks again for you ongoing stewardship of NE

James
https://www.instagram.com/nodeology/

Image Attachments:
shapeSurfOutput.jpg 


Show messages:  1-15  …  1636-1655  1656-1675  1676-1695  1696-1715  1716-1735  1736-1755  1756-1775  …  1856-1859