MoI discussion forum
MoI discussion forum

Full Version: Elephant Repository

Show messages:  1-9  …  390-409  410-429  430-449  450-469  470-489  490-503

From: WN
16 Dec 2021   [#450] In reply to [#449]
Hi Psygorn.
Something like this.

Attachments:
James_Voronoi_Cylinder_recreation_.nod


From: Psygorn (DRILLBIT)
16 Dec 2021   [#451] In reply to [#450]
Hi WN,

Yes! u are a wizard!

Thank you!

:-)

(Gods of nodeEditor heard my call :-)
From: Psygorn (DRILLBIT)
16 Dec 2021   [#452] In reply to [#450]
By the way, I have a question,

In James Instagram post, it seems the generated mesh does not have a seem line, is it because it is rendered? or is it because of his node?
James post: https://www.instagram.com/p/CK8Qb6XsHOa/
From: James (JFH)
16 Dec 2021   [#453] In reply to [#452]
Psygorn,

quote:
the generated mesh does not have a seem line, is it because it is rendered? or is it because of his node?


Yes the .nod file generated a seamless mesh.
Unfortunately I long ago deleted the original file,
but I will rebuild and post over the weekend.

James
https://www.instagram.com/nodeology/
From: Psygorn (DRILLBIT)
16 Dec 2021   [#454] In reply to [#453]
Thank you James :-)

And I wonder could that pattern be applied to a torus?

And how can I get a decent understanding of nodes? from where should I start? to me it looks like dark magic! :-)
From: bemfarmer
16 Dec 2021   [#455] In reply to [#454]
Since a torus is a rectangle plane that is rolled up, then curled around, it should be easy to make up a voronoi torus. See previous hex patterns on torus, nodes.

- Brian
From: Frenchy Pilou (PILOU)
17 Dec 2021   [#456] In reply to [#454]
<< from where should I start?

Make very small ones, reload yet made, and training 26 h / 24 h ! :)
And of course https://moiscript.weebly.com/biblio-elephant.html
Bon courage!

PS It's more easy to use a Node(s) than create it!
This one by r2d3 is a true gem: you can animate anything along any path! :)
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.878


From: James (JFH)
17 Dec 2021   [#457] In reply to [#454]
Psygorn,
quote:
And I wonder could that pattern be applied to a torus?

As Brian says it is easy to flow a pattern to torus since it homologous to a rectangle.
The trick however to make the voronoi pattern seamless over the surface, is to repeat
the random point field offset in both dimensions, generating the pattern and intersecting with
the original frame prior to applying flow.

.nod file attached.

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

Attachments:
voronoiTorus.nod

Image Attachments:
voronoiTorusSm.jpg 


From: Psygorn (DRILLBIT)
17 Dec 2021   [#458] In reply to [#457]
Thank you James,

:-)
From: Barry-H
18 Dec 2021   [#459] In reply to [#457]
Hi James,
I'm only getting half the torus with a voronoi pattern ?
Also I noticed that the inputs to the randompts node does not update in the panel in the nodeditor but does update the drawing.
Perhaps its my version of the nodeditor.
Anyway thanks for posting have a good Xmas.
Cheers
Barry
From: Psygorn (DRILLBIT)
18 Dec 2021   [#460] In reply to [#459]
Hi Barry-H,

I noticed that too but I think with a little bit of tweaking u can have a torus voronoi-ed all over :-)

I have to confess I don't know about the nodes or how they work at the moment! I just hope this could be helpful.

Possibly James could provide a deeper explanation :-)

Attachments:
voronoiTorus_Tweaked.nod


From: Frenchy Pilou (PILOU)
18 Dec 2021   [#461]



From: Barry-H
18 Dec 2021   [#462] In reply to [#460]
Hi Drillbit,
yes I had got a result also by tweaking the rectangle sizes.
Cheers
Barry
From: James (JFH)
18 Dec 2021   [#463] In reply to [#459]
Barry / Psygorn,

I am unable to repeat the pattern on half issue that you have experienced.
Nevertheless I made a small change to NOD file scaling original rectangle
rather than generating a 2nd rectangle, though it is unlikely that this is the problem.

What is more likely is that the issue is copying of point field into 4 quadrants
prior to generating the voronoi pattern. This should be possible to do with a
single "MovePts" node but it fails to work, necessitating the use of 2 such nodes in series.

It would appear that this 2nd move (copying) is not registering for you.
I am not sure if the reason I have not experienced the same problem is due to the fact
that I am using beta version for Mac M1 processor.

There is one more thing I could try: converting points to point object and then copying them
into quadrants before reconverting back to point field. I imagine that this would radically
increase the computation load since new geometry would be generated with each "MovePts"
operation.

But first let me know if problem persists with this new NOD file

Have a great weekend
James
https://www.instagram.com/nodeology/



Attachments:
voronoiTorus.nod

Image Attachments:
voronoiTorus.jpg 


From: bemfarmer
18 Dec 2021   [#464] In reply to [#463]
Thank you James.

For what it is worth, my computer is still generating half of the torus with unperforated inner and outer skins.

- Brian
From: Psygorn (DRILLBIT)
18 Dec 2021   [#465] In reply to [#463]
Thank you James,

However, as bemfarmer mentioned the issue still exists!


From: Psygorn (DRILLBIT)
18 Dec 2021   [#466] In reply to [#463]
Hello James,

I tried to recreate one of your works.

you can see it here: https://www.instagram.com/p/CCo6mQUJxkN/

But I ran into that problem.

you can see the Error here: https://moi3d.com/forum/index.php?webtag=MOI&msg=9581.240

Attachments:
Generating Random Irregular Smoothed Solids with qHull3d.nod


From: James (JFH)
18 Dec 2021   [#467] In reply to [#465]
Psygorn,

Try this version.
I have repeated original point field via math operation to x & y data.

It works for me...but then again so did my last NOD file.
I have been unable to reproduce the error that everyone else seems to have.

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

Attachments:
voronoiTorusXYobj.nod


From: Barry-H
18 Dec 2021   [#468] In reply to [#467]
Hi James,
still the same issue.
I think its the voronoi node I can only generate in a rectangle up to 100 x 100.
If I take your original nod and just adjust the Y constant from 200 down to 100 all works fine.
The photo shows the results when reducing the Y value.
Cheers
Barry


Image Attachments:
Screenshot (669).png 


From: James (JFH)
18 Dec 2021   [#469] In reply to [#468]
Thanks Barry,

quote:
I think its the voronoi node I can only generate in a rectangle up to 100 x 100.


Actually that rings a bell.
Try replacing your voronoi.js file in extensions folder with the one attached.
It is possible that mine is an updated version
See how this works with my first version of NOD file

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

Attachments:
voronoi.js


Show messages:  1-9  …  390-409  410-429  430-449  450-469  470-489  490-503