MoI discussion forum
MoI discussion forum

Full Version: Elephant Repository

Show messages:  1-16  …  397-416  417-436  437-456  457-476  477-496  497-503

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


From: Barry-H
18 Dec 2021   [#470] In reply to [#469]
Hi James,
no go with that voronoi node.
Your original nod file works by reducing the X & Y constants to X 35 Y 50 plus reducing the voronoi space to 0.5.
Cheers
Barry

Attachments:
James Voronoi Torus.nod


From: James (JFH)
18 Dec 2021   [#471] In reply to [#470]
Barry,

That's odd!
If you look at attached image, you can see that the dimensions of generated voronoi are well over 100 units.
Did you shut down Moi3d.app & restart before reloading NOD file?

James

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

Image Attachments:
voronoiDimensions.jpg 


From: Psygorn (DRILLBIT)
18 Dec 2021   [#472] In reply to [#461]
Hi Pilou,

And how did you do that?
From: Barry-H
18 Dec 2021   [#473] In reply to [#471]
Hi James,
yes my mistake hadn't closed moi your new voronoi node works thank you.
Do you have the same issue with the randompts not updating in the panel ?
Many thanks
Barry
From: James (JFH)
18 Dec 2021   [#474] In reply to [#473]
Barry,
quote:
Do you have the same issue with the randompts not updating in the panel ?

I'm not sure what you mean.
Hasn't the issue of unpatterned half torus been solved?

James
https://www.instagram.com/nodeology/
From: Psygorn (DRILLBIT)
18 Dec 2021   [#475] In reply to [#466]
Hello again James,

I'd be happy if you guide me here as well. :-)

Happy weekend :-)
From: James (JFH)
18 Dec 2021   [#476] In reply to [#475]
Psygorn,

Replace voronoi.js file in app support/Moi/nodeeditor/nodes/extensions/
with file attached.
James
https://www.instagram.com/nodeology/

Attachments:
voronoi.js


Show messages:  1-16  …  397-416  417-436  437-456  457-476  477-496  497-503