MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-20  …  1621-1640  1641-1660  1661-1680  1681-1700  1701-1720  1721-1740  1741-1760  …  1841-1859

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

From: bemfarmer
31 Mar 2020   [#1681] In reply to [#1680]
Hi Michael,
Thank you very much for your corrections. I'll try it out later today.

As far as your updating modifying addObject(), that is your area of expertise.
I lack a lot of understanding, but have vague concerns about some adverse side effects.
For example, if I were "stick framing" a tetrahedron with duplicate edges for the 4 triangular sides, would
it no longer be possible to have two lines on top of each other?

- Brian
From: bemfarmer
31 Mar 2020   [#1682] In reply to [#1680]
OK, I plugged Michael's correction to [function applyVec.......] ~ line 50 of vector.js, and replaced vector.js in
nodeeditor extensions (saving old vector.js as vector.BAK).

Now, running a Vector node, Adds the vector(s) to the screen.

Now, (apparently), pressing the APPLY button no longer adds the vector(s) to MoI's geometry database.
(APPLY does not cause the vectors to remain, after nodeeditor is closed.)
When nodeeditor is closed, the vectors go away. This is apparently Karsten's intention, that the vectors be temporary.

(This behavior is not the same as say creating a circle, where pressing the APPLY button causes the circle to remain, after nodeeditor is closed.)


If the user wants to keep the Vector(s), simply do a MoI copy of them before closing nodeeditor. The manual copies remain,
and behave normally in MoI.

- Brian :-)

Attachments:
vectorMOD.zip


From: Michael Gibson
31 Mar 2020   [#1683] In reply to [#1681]
Hi Brian,

> For example, if I were "stick framing" a tetrahedron with duplicate edges for the 4 triangular sides, would
> it no longer be possible to have two lines on top of each other?

That will still work fine. The situation that it would guard against is having the same one single object listed multiple times in the geometry database (not copies of the object, the same object reference listed multiple times) which would always be an error.

Previously it put up an assert dialog to warn about this happening but then still let it happen. A couple of betas ago release mode asserts were turned off though so it then became more difficult to know what was going wrong.

- Michael
From: bemfarmer
31 Mar 2020   [#1684] In reply to [#1682]
After Loading a node, such as a Vector node program, and JUST pushing APPLY, without having pushed run,
causes the vectors to appear.
Selecting the vectors, and doing a Nudge, causes the vectors to remain after nodeeditor is closed.

- Brian
From: Michael Gibson
31 Mar 2020   [#1685] In reply to [#1684]
Hi Brian,

re:
> Selecting the vectors, and doing a Nudge, causes the vectors to remain after nodeeditor is closed.

Yes, when you do the Nudge the nudged objects are new objects that the nodeeditor does not know about and so they won't be affected when the nodeeditor is closed.

- Michael
From: bemfarmer
31 Mar 2020   [#1686] In reply to [#1685]
Thanks for the explanation Michael.

The Nudge effect, (and likely some other actions), is a little nuance that I had not noticed before.

Something for Pilou to document :-)

- Brian
From: Frenchy Pilou (PILOU)
31 Mar 2020   [#1687] In reply to [#1686]
Alas not yet for the moment but remind me that when I will restart a new race! ;)
From: bemfarmer
1 Apr 2020   [#1688]
Perhaps someone could modify vector.js node menu to use Michael's arrows:

https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1620

I may try in a week or a month or so...too busy now.

- Brian
From: James (JFH)
4 Apr 2020   [#1689]
Recent NE experiment: Voronoi Pattern with points dynamically attracted to curve.

Stay safe,
James
https://www.instagram.com/nodeology/


From: Mik (MIKULAS)
10 Apr 2020   [#1690] In reply to [#1689]
Really cool. Superb!
From: Frenchy Pilou (PILOU)
8 May 2020   [#1691]
Little return after a big break - confinemented so some many rusted!

You can of course play with it and improve it!
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/flow_elephant.nod





From: Konni
16 May 2020   [#1692] In reply to [#1689]
Hi James,
Your art works are super cool :) Like a lot
Wanted to create some parametric designs and learn Grasshopper3D, but thanks God at right time found YOURS art here ^_^
I'm Moi3D user just love this software. So would be super cool to make/create such random parametric forms in Moi.
Could you ... please...um.... would be super uber cool if you could release some gumroad video on how to use node editor and make such cool forms. Or some step by step screen shots. Would buy these. Mine node editor screen does not work. Im V4 Beta Oct-10-2019 Win10
I know only how to use Voronoi. And its cool :)
Thank you :)
From: Frenchy Pilou (PILOU)
16 May 2020   [#1693] In reply to [#1692]
Use the beta of the Beta V4 of 22 january : Node editor works inside without any problem! ;)

And you can take a look at my Elephant repository where there are some examples of uses differents nodes ;)
French / English
https://moiscript.weebly.com/biblio-elephant.html
From: Konni
17 May 2020   [#1694] In reply to [#1693]
Thank you Frenchy Pilou :)
From: James (JFH)
17 May 2020   [#1695] In reply to [#1692]
Konni,

Thank you for your kind remarks.

I'm not aware of "gumroad", but sometime down the track I may look at making an instructional video, but for now it would be better if you could let me know what result you are trying to achieve and I'll see if I can do a step by step annotated screenshot series to walk you through the process.
If you have a look at my instagram: https://www.instagram.com/nodeology/
most of the post show the node wiring for generating the geometry of posted image (3D form or 2D pattern). I know that these would be bewildering to a novice but once you get your head around the process they will start to make sense.

Also as Pilou says, look at his "Elephant Repository: https://moiscript.weebly.com/biblio-elephant.html to see how individual nodes operate.

Anyway, start with something simple & I'll see if I can talk you through it...
& then if you are still keen, we can tackle something more complex.
Post an image of something akin to what you want to do.

James
https://www.instagram.com/nodeology/
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/

Show messages:  1-20  …  1621-1640  1641-1660  1661-1680  1681-1700  1701-1720  1721-1740  1741-1760  …  1841-1859